summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
6 daysdrop ancient 1bpp and 4bpp supportHEADmasterEnrico Weigelt, metux IT consult1-44/+0
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>
2024-05-23Fix commend on endifEnrico Weigelt, metux IT consult1-1/+1
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>
2024-05-12Raise minimum supported Xserver version to 1.18 (ABI_VIDEODRV_VERSION 20.0)Alan Coopersmith6-1986/+0
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>
2024-05-11use XNFcallocarray() instead of xnfcalloc macroEnrico Weigelt, metux IT consult1-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-chips/-/merge_requests/8>
2024-05-11use XNFalloc() instead of xnfallocEnrico Weigelt, metux IT consult1-2/+2
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>
2024-05-04EXA acceleration support for ct65550 from NetBSDnia6-13/+407
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>
2024-03-25ct_driver: define XMODE_'s if not defined yetEnrico Weigelt, metux IT consult1-0/+8
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>
2024-01-06Handle 4 -Wmissing-prototypes warningsAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-06Fix -Wmisleading-indentation warning in chipsPreInitHiQV()Alan Coopersmith1-1/+2
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>
2024-01-06Add X.Org's standard C warning flags to AM_CFLAGSAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-22Fix spelling/wording issuesAlan Coopersmith4-15/+15
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-02-12Fix for a faulty new vgaHW ABI conversion on non-HiQ Video devicesKevin Brace1-0/+2
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>
2018-12-25Use const char for xf86GetOptValString return typeKevin Brace1-2/+2
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
2016-07-19Adapt Block/WakeupHandler signature for ABI 23Adam Jackson1-0/+5
Signed-off-by: Adam Jackson <ajax@redhat.com>
2014-10-17Update for xserver 1.17Adam Jackson1-22/+4
Signed-off-by: Adam Jackson <ajax@redhat.com>
2014-05-21ddc: Use own thunk function instead of vgaHWddc1SetSpeedWeakAdam Jackson1-1/+7
I plan to remove the Weak functions from future servers. Signed-off-by: Adam Jackson <ajax@redhat.com>
2013-06-24Require ANSI C89 pre-processor, drop pre-C89 token pasting supportAlan Coopersmith1-4/+0
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-09-25Remove mibstore.hAdam Jackson1-5/+0
Signed-off-by: Adam Jackson <ajax@redhat.com>
2012-07-17chips: fix make dist.Dave Airlie1-1/+1
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-16chips: build without XAA support at all.Dave Airlie5-7/+40
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-06-05chips: drop usage of deprecated xf86PciInfo.hDave Airlie9-21/+13
Just takes the pci ids chips needs into the driver. Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-06-05chips: move to new compat API.Dave Airlie6-54/+108
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-06-05chips: use new scrn/screen conversion APIs.Dave Airlie6-38/+38
Generated by util/modular/x-driver-screen-scrn-conv.sh Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-06-05chips: add compat API headerDave Airlie3-1/+45
2011-12-19Fix for new vgaHW ABIAdam Jackson1-0/+1
Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-12-19Fall back to shadowfb if XAA is unavailableAdam Jackson1-4/+3
Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-10-18Build fix for ABI Version 12Jeremy Huddleston2-2/+7
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>
2011-10-18Use malloc/calloc/realloc/free directlyJeremy Huddleston1-4/+4
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-10-02PciTag is unused when using libpciaccessMark Kettenis1-0/+2
Signed-off-by: Mark Kettenis <kettenis@openbsd.org> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Julien Cristau <jcristau@debian.org>
2011-03-31chips: gut the overlay 8/16 support from driver.Dave Airlie4-256/+28
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>
2011-02-27Replace deprecated xalloc/xrealloc/xfree with malloc/realloc/freeJulien Cristau5-31/+28
Signed-off-by: Julien Cristau <jcristau@debian.org>
2011-02-27Fix compiler warningJulien Cristau1-0/+2
src/ct_driver.c:160: warning: ‘chipsFindIsaDevice’ declared ‘static’ but never defined Signed-off-by: Julien Cristau <jcristau@debian.org>
2011-02-27Fix unused variable warningJulien Cristau1-0/+2
src/ct_driver.c: In function ‘CHIPSScreenInit’: src/ct_driver.c:3920: warning: unused variable ‘racflag’ Signed-off-by: Julien Cristau <jcristau@debian.org>
2011-02-27Fix compiler warning on 64bitJulien Cristau1-1/+1
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>
2011-02-27Add parentheses to fix compiler warningsJulien Cristau3-4/+4
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>
2010-11-22Import the xf8_16bpp implementationAdam Jackson1-12/+13
This is trivial, just do it directly. Signed-off-by: Adam Jackson <ajax@redhat.com>
2010-05-25Wrap missing ISA code with its macroTiago Vignatti1-0/+2
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
2010-05-06Check xf86EnableAccess only in old serversTiago Vignatti1-0/+2
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>
2010-01-04Make banked framebuffer support conditional on ISA supportAdam Jackson1-1/+27
Signed-off-by: Adam Jackson <ajax@redhat.com>
2009-11-07.gitignore: use common defaults with custom section # 24239Gaetan Nadon1-6/+0
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.
2009-11-06Use usleep instead of xf86UDelayMatt Turner2-4/+4
Signed-off-by: Matt Turner <mattst88@gmail.com>
2009-07-28chips: change to using ABI version checkDave Airlie1-1/+1
2009-07-28chips: update for resources/RAC API removalDave Airlie3-7/+35
2009-07-19Fix PCI card probe and chipset detection.Matthieu Herrb1-13/+20
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>
2009-05-28Remove useless loader symbol lists.Adam Jackson1-115/+0
2008-11-23Make ISA optionalxf86-video-chips-1.2.1Adam Jackson1-2/+7
2008-08-15Uninclude xf86Version.h, remove some dead code.Adam Jackson3-15/+1
2008-06-02Compiler warning fixesJulien Cristau2-1/+2
Include <unistd.h> for usleep(), and s/VERSION/CHIPS_&/ in one place where it had been missed.
2008-03-19Fix distcheckAdam Jackson1-0/+1
2008-03-19Death to RCS tags.Adam Jackson13-17/+0