Age | Commit message (Collapse) | Author | Files | Lines |
|
This had been removed from Xserver almost two decades ago (2008).
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-chips/-/merge_requests/12>
|
|
The symbol HAVE_ISA is gone, the one thats closed by this endif is USE_MIBANK.
Fixes: 30fe3074c5d40e1ddf47962ab6f681bab2e1133b
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-chips/-/merge_requests/11>
|
|
Already effectively required by use of XNFcallocarray() introduced in
xorg/xserver@b96dc999 - xserver-1.18.0, released in Nov. 2015.
Allows dropping remnants of code for XAA, ISA, and pre-pciaccess X servers.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-chips/-/merge_requests/9>
|
|
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-chips/-/merge_requests/8>
|
|
xnfalloc is just an alias for XNFalloc() 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-chips/-/merge_requests/8>
|
|
Work by Michael Lorenz
XXX netbsd may be the last real consumer of this driver.
Signed-off-by: Nia Alarie <nia@NetBSD.org>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-chips/-/merge_requests/7>
|
|
Traditionally they've been defined in Xorg server headers, but since this
driver seems to be the only consumer, it makes sense moving them here.
(and later drop them from xorg headers)
Explicitly guarding it, so it also works with xorg headers version still
carrying those symbols.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-chips/-/merge_requests/6>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
ct_driver.c: In function ‘chipsPreInitHiQV’:
ct_driver.c:1928:21: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
1928 | if ((pMon = xf86PrintEDID(xf86DoEDID_DDC2(XF86_SCRN_ARG(pScrn),
| ^~
ct_driver.c:1931:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
1931 | xf86SetDDCproperties(pScrn,pMon);
| ^~~~~~~~~~~~~~~~~~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Found by using:
codespell --builtin clear,rare,usage,informal,code,names
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Unfortunately, commit 989cf4f1fb2ac57f38d363734b71a5cf749db146
missed inserting a call to vgaHWSetStdFuncs prior to calling
vgaHWGetIOBase for non-HiQ Video devices, so this will cause a crash
with the X Server. The code has three different chipsPreInit* to
handle some aspects of a PreInit callback, but only chipsPreInitHiQV
function has the correct code. Added the call to vgaHWSetStdFuncs
for chipsPreInit655xx and chipsPreInitWingine functions. This bug
was observed on Chips & Technologies 65548.
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
|
|
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
|
|
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
|
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
|
I plan to remove the Weak functions from future servers.
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
|
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
|
|
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
|
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
Just takes the pci ids chips needs into the driver.
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
Generated by util/modular/x-driver-screen-scrn-conv.sh
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
|
|
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
|
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
|
ABI Version 12 removes support for multiple PCI domains. If you need to
use this driver on a system with more than one PCI domain, you should
either port this driver to using libpciaccess directly or stick with an
older server.
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
|
|
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
|
|
Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Reviewed-by: Julien Cristau <jcristau@debian.org>
|
|
This driver is for chips that were bought by Intel in 1997,
this feature means maintaining a lot of code in the X server
for little gain.
Drop it like its hot.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
|
|
Signed-off-by: Julien Cristau <jcristau@debian.org>
|
|
src/ct_driver.c:160: warning: ‘chipsFindIsaDevice’ declared ‘static’ but never defined
Signed-off-by: Julien Cristau <jcristau@debian.org>
|
|
src/ct_driver.c: In function ‘CHIPSScreenInit’:
src/ct_driver.c:3920: warning: unused variable ‘racflag’
Signed-off-by: Julien Cristau <jcristau@debian.org>
|
|
src/ct_driver.c: In function ‘chipsPreInitHiQV’:
src/ct_driver.c:1598: warning: format ‘%lX’ expects type ‘long unsigned int’, but argument 4 has type ‘CARD32’
Signed-off-by: Julien Cristau <jcristau@debian.org>
|
|
src/ct_ddc.c: In function ‘chips_ddc1Read’:
src/ct_ddc.c:34: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’
src/ct_dga.c: In function ‘CHIPS_SetViewport’:
src/ct_dga.c:243: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’
src/ct_driver.c: In function ‘chipsTestDACComp’:
src/ct_driver.c:7490: warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’
Signed-off-by: Julien Cristau <jcristau@debian.org>
|
|
This is trivial, just do it directly.
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
|
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
|
|
On new X servers this function is dummy. Similar functionality is now in place
using lock/unlock mechanism of the VGA arbitration, triggered inside the
server.
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
|
|
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
|
Using common defaults will reduce errors and maintenance.
Only the very small or inexistent custom section need periodic maintenance
when the structure of the component changes. Do not edit defaults.
|
|
Signed-off-by: Matt Turner <mattst88@gmail.com>
|
|
|
|
|
|
it appears that the chips&technologies X driver was partially broken
during libpciaccess conversion. Thanks to the analysis by Marien Swart
in bug #18122 and a similar fix by Mark Kettenis for the radeon
driver.
Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
|
|
|
|
|
|
|
|
Include <unistd.h> for usleep(), and s/VERSION/CHIPS_&/ in one place
where it had been missed.
|
|
|
|
|