summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
41 hoursuse XNFcallocarray() instead of xnfcalloc macroHEADmasterEnrico Weigelt, metux IT consult4-5/+5
xnfcalloc is just an alias for XNFcallocarray() that doesn't seem to serve any practical purpose, so it can go away once all drivers stopped using it. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-r128/-/merge_requests/8>
8 daysbacklight control and console detection for wsdisplay systemsnia3-5/+80
based on a patch by Michael Lorenz. Signed-off-by: Nia Alarie <nia@NetBSD.org> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-r128/-/merge_requests/7>
9 daysdon't assume VGA output on non-x86nia1-2/+8
Patch adapted from work by Michael Lorenz. Signed-off-by: Nia Alarie <nia@NetBSD.org> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-r128/-/merge_requests/7>
9 daysAlternative non-BIOS method to determine the panel size for NetBSDnia3-3/+37
With this we no longer need to specify PanelWidth and PanelHeight in xorg.conf on non-x86 platforms. Patch adapted from work by Michael Lorenz. Signed-off-by: Nia Alarie <nia@NetBSD.org> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-r128/-/merge_requests/7>
2024-01-08Fix 9 -Wmissing-prototypes warningsAlan Coopersmith5-13/+20
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-08Add X.Org's standard C warning flags to AM_CFLAGSAlan Coopersmith2-5/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-08configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOLAlan Coopersmith1-2/+1
AC_PROG_LIBTOOL was replaced by LT_INIT in libtool 2 in 2008, so it's time to rely on it. Clears autoconf warnings: configure.ac:44: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.ac:44: You should run autoupdate. aclocal.m4:3515: AC_PROG_LIBTOOL is expanded from... configure.ac:44: the top level Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-10-01gitlab CI: ensure libtool is installed in build containerAlan Coopersmith1-3/+3
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-02-25Remove "All rights reserved" from Oracle copyright noticesAlan Coopersmith1-1/+1
Oracle no longer includes this term in our copyright & license notices. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-12-04xf86-video-r128 6.12.1xf86-video-r128-6.12.1Alan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-11-07Mark DriverRec exported in r128_probe.h to match r128_probe.cNiveditha Rau1-1/+1
Fixes build failure when compiling with Solaris Studio compiler using -xldscope=hidden: "r128_probe.c", line 359: redeclaration must have the same or more restrictive linker scoping: R128 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-17R128RAMRec: constify name pointerAlan Coopersmith1-1/+1
Clears 4 gcc warnings: r128_driver.c:178:36: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] { 4, 4, 3, 3, 1, 3, 1, 16, 12, "128-bit SDR SGRAM 1:1" }, ^~~~~~~~~~~~~~~~~~~~~~~ r128_driver.c:179:36: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] { 4, 8, 3, 3, 1, 3, 1, 17, 13, "64-bit SDR SGRAM 1:1" }, ^~~~~~~~~~~~~~~~~~~~~~ r128_driver.c:180:36: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] { 4, 4, 1, 2, 1, 2, 1, 16, 12, "64-bit SDR SGRAM 2:1" }, ^~~~~~~~~~~~~~~~~~~~~~ r128_driver.c:181:36: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] { 4, 4, 3, 3, 2, 3, 1, 16, 12, "64-bit DDR SGRAM" }, ^~~~~~~~~~~~~~~~~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-17gitlab CI: stop requiring Signed-off-by in commitsAlan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-27gitlab CI: add a basic build testAlan Coopersmith1-0/+98
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-27Fix spelling/wording issuesAlan Coopersmith9-10/+10
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-27Build xz tarballs instead of bzip2Alan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-12-07Update configure.ac bug URL for gitlab migrationAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-18Update README for gitlab migrationAlan Coopersmith1-9/+7
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-10-22Version bumped to 6.12.0xf86-video-r128-6.12.0Kevin Brace1-1/+1
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-10-22Remove Dac6Bit option from man pageKevin Brace1-6/+0
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-10-22Fix for build failure when --disable-dri option is specifiedKevin Brace1-0/+2
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-10-22Another fix for cross build failureHelmut Grohne1-1/+1
While commit 11b230b removed most usage of AC_CHECK_FILE, one more of it was left in the compilation build script. This will hopefully fix the cross build failure for good. Signed-off-by: Helmut Grohne <helmut@subdivi.de>
2018-08-04Version bumped to 6.11.102Kevin Brace1-1/+1
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-08-02Consolidate acquisition of many options into two functionsKevin Brace1-73/+97
Move acquiring of the option settings into r128AcquireOption and r128UMSOption functions. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-08-02Rename R128UMSOption to r128UMSOptionKevin Brace1-2/+3
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-08-02Version bumped to 6.11.101Kevin Brace1-1/+1
Performed DRI1 and EXA / XAA initialization code refactoring. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-08-02Hold off enabling acceleration until EXA / XAA are fully initializedKevin Brace1-4/+2
The turn on timing is premature. Wait until completion of the initialization process. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-08-02Consolidate EXA initialization code into R128EXAInitKevin Brace3-31/+26
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-08-02Deprecate R128VerboseInitEXAKevin Brace1-25/+14
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-08-02Deprecate R128AccelInitKevin Brace1-27/+12
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-08-02Deprecate R128EXAAccelInitKevin Brace3-41/+21
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-08-02Consolidate frame buffer initialization codeKevin Brace1-80/+30
The previous implementation had duplicated code depending on which standard is being used (i.e., DRI1 and / or EXA). Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-07-27Prevent disabling of EXA inside R128ScreenInitKevin Brace1-2/+0
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-07-27Version bumped to 6.11.100Kevin Brace1-1/+1
Performed code refactoring and made tweaks to initialization behavior. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-07-27Move loading of EXA and XAA modules into R128PreInitAccelKevin Brace3-18/+43
Moving them away from R128ScreenInit callback function. This is how other DDXs do it. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-07-26Move RAMDAC module initialization into R128LegacyMSKevin Brace1-3/+3
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-07-26Delete OPTION_DISPLAY option enumerationKevin Brace1-1/+0
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-07-26Delete USE_CRT_ONLY conditional compilation directiveKevin Brace1-7/+0
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-07-26Move many DDX UMS options into R128UMSOptionKevin Brace1-76/+94
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-07-26Remove OPTION_DAC_8BIT optionKevin Brace1-2/+0
It is no longer used. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-07-26Evaluate software cursor option inside R128PreInitKevin Brace2-1/+9
Since SWCursor option is referenced only once, it should be handled inside R128PreInit callback function rather than R128ScreenInit callback function. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-07-25Evaluate EXA related options inside R128PreInitKevin Brace1-24/+38
Since AccelMethod and RenderAccel options are referenced only once, it should be handled inside R128PreInit callback function rather than R128ScreenInit callback function. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-07-25Evaluate NoAccel option inside R128PreInitKevin Brace2-8/+14
Since NoAccel option is referenced only once, it should be handled inside R128PreInit callback function rather than R128ScreenInit callback function. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-07-24Separate EXA and XAA initializationKevin Brace4-55/+74
Starting the process of separating legacy XAA and newer EXA initialization code. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-07-21Version bumped to 6.11.99Kevin Brace1-1/+1
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-07-19Version bumped to 6.11.0xf86-video-r128-6.11.0Kevin Brace1-1/+1
Added a temporary fix for some RAGE 128 Pro models misidentifying VGA as DVI and not able to automatically select the proper screen resolution via the use of EDID (Extended Display Identification). Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-07-19Reorganize r128_exa.cKevin Brace6-62/+122
Stop the use of #include to include r128_exa_render.c inside r128_exa.c. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2018-07-18Fix typo: Initalizing --> InitializingDylan Aïssi1-1/+1
Signed-off-by: Dylan Aïssi <bob.dybian@gmail.com>
2018-07-18Fix for cross build failureHelmut Grohne1-8/+20
configure.ac fails to cross build from source, because it abuses AC_CHECK_FILE for finding headers. AC_CHECK_FILE is supposed to find files on the host system. You cannot usually expect the host system to have headers, so this use is incorrect. It happens to also break cross compilation. Signed-off-by: Helmut Grohne <helmut@subdivi.de>
2018-07-13Fix for some RAGE 128 Pro causing out of range display errorKevin Brace1-27/+33
Due to faulty assumptions made by commit 2072d9a, many RAGE 128 Pro VGA display will be detected as DVI, and causes out of range display error with the attached monitor. While this commit is less than perfect and only works on x86 platform, it avoids causing out of range display error. With this fix, there is no longer the need to specify the supported frequency range of the monitor inside xorg.conf. The code was tested on RAGE 128 Pro Ultra 16 MB AGP. Signed-off-by: Kevin Brace <kevinbrace@gmx.com>