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>
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>
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>
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>
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>
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>
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>
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>
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>
Apparently this is needed in src/atipcirename.h since xorg-server
1.20 in order to still build this driver.
Signed-off-by: Stefan Dirsch <sndirsch@suse.de>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
It does not make sense for this function to be inside r128_driver.c
since it is only called from a function inside r128_crtc.c.
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
It does not make sense for this function to be inside r128_driver.c
since it is only called from a function inside r128_crtc.c.
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>