summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2024-08-02Fix merge of Mark Kettenis changes.HEADobsdMatthieu Herrb
Partial similar fix was applied a bit further down. Remove duplicate lines.
2024-08-02This diff makes sunffb work on my blade1k, which has:Mark Kettenis
creator0 at upa0: Creator3D, model SUNW,501-4788, dac 10 I added the necessary .register ops to the .s files to make them compile and nicked a fix from NetBSD to keep the FPU enabled to avoid fpu traps that made the driver unbearably slow. Need to investigate that, maybe the kernel isn't handling this properly.
2024-05-19Remove XAA supportmasterAlan Coopersmith
Mostly done via unifdef -UHAVE_XAA_H, followed by minor manual editing Since recent commits require xserver-1.18.0 or later to build against, there's no reason leaving behind big chunks of code that can only build against the XAA support removed in xserver-1.13.0 (released in 2012). Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-sunffb/-/merge_requests/8>
2024-05-14drop compat with ancient xserversEnrico Weigelt, metux IT consult
We're relying on at least 1.18 now. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-sunffb/-/merge_requests/7>
2024-05-08use XNFcallocarray() instead of xnfcalloc macroEnrico Weigelt, metux IT consult
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-sunffb/-/merge_requests/6>
2024-01-17Fix warning: variable ‘pFfb’ set but not used [-Wunused-but-set-variable]Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-17Fix -Wunused-function warnings in ffb_ddc.cAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-17Fix warning: no previous prototype for ‘FFBi2cInit’ [-Wmissing-prototypes]Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-17Fix warning: no previous prototype for ‘FFB_InitDGA’ [-Wmissing-prototypes]Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-15Add X.Org's standard C warning flags to AM_CFLAGSAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2024-01-15Fix -Wdiscarded-qualifiers warning in init_dac_flags()Alan Coopersmith
ffb_dac.c: In function ‘init_dac_flags’: ffb_dac.c:385:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 385 | device = pFfb->psdp->device; | ^ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-29Include xf86Cursor.h instead of xf86RamDac.hAlan Coopersmith
ramdac drivers have been removed from xserver since version 21.0.99.1 and xorg/xserver@f0385fb4 resulting in the following build failure: In file included from ../../src/ffb_accel.c:39: ../../src/ffb.h:33:10: fatal error: xf86RamDac.h: No such file or directory 33 | #include "xf86RamDac.h" | ^~~~~~~~~~~~~~ but xf86RamDac.h in turn included xf86Cursor.h which we still need. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-29Fix spelling/wording issuesAlan Coopersmith
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2013-06-10Unbreak when XAA is not present.Matthieu Herrb
Turn accel off if loading XAA fails. Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2012-09-25Remove mibstore.hAdam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com>
2012-07-16sunffb: fix XAA-less build.Dave Airlie
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-06-07sunffb: port to new compat API.Dave Airlie
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-10-29Add missing prototypes to silence warningsJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-10-29Use malloc/calloc/realloc/free directlyJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-10-06Purge cvs tags.Jesse Adkins
Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2009-09-08sunffb: define %g2 and %g3 registers when building 64 bit version of the ↵Denis Gilmore
sunffb driver
2009-09-08xf86-video-sunffb: Remove unused .cvsignore file #23776Gaetan Nadon
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-16Update to xextproto 7.1 support.Peter Hutterer
DPMS header was split into dpms.h (client) and dpmsconst.h (server). Drivers need to include dpmsconst.h if xextproto 7.1 is available. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-05-04Remove DRI remnants from build systemJulien Cristau
2008-09-03Fix distcheck.Adam Jackson
2008-08-19Uninclude xf86Version.hAdam Jackson
2008-01-10Fix compilation after dri removal in the last commitBenjamin Close
Found by: Tinderbox
2007-12-28Remove DRI support to fix build after devPrivates reworkDavid S. Miller
This driver uses devprivates of all kinds, but this is only done in deprecated and unused code so we can simply remove it all. DRM/DRI support has been commented out for years, and was done during the conversion over to XAA acceleration. This code would need to be essentially rewritten to work again, so we can just remove this stuff for now. The rest were either: 1) DRI/DRM related uses 2) the private allocation code 3) cases that could index to the pScrn to get the FFB private And that's all fixed up here. Signed-off-by: David S. Miller <davem@davemloft.net>
2007-08-07Define FFB_*_VERSION using PACKAGE_VERSION*Brice Goglin
2006-04-07Unlibcwrap. Bump server version requirement. Bump to 1.1.0.sunffb-1_1_0XORG-7_1Adam Jackson
2006-01-26Remove remaining cfb-isms and dead accel code.Adam Jackson
2006-01-25Remove xf8_32wid damage, it is going away.Adam Jackson
2005-12-14Bug #4890" Include the assembly in the build (Ferris McCormick)Adam Jackson
2005-11-21Add .cvsignores for drivers.Eric Anholt
2005-11-09Bump version numbers for X11R6.9/X11R7 RC2.XORG-6_99_99_902XORG-6_8_99_903XORG-6_8_99_902Kevin E Martin
2005-10-21Bug #4829: Remove some useless DRI symbol checks.Adam Jackson
2005-09-27Add some files to the rendition and sunffb build systemsSøren Sandmann Pedersen
2005-08-15Egbert's 64bit fixes for mixed 32/64bit clientsXORG-6_8_99_901Alan Hourihane
2005-07-31Post-merge fixups:XORG-6_99_99_900XORG-6_8_99_900Adam Jackson
- Disable building the gamma driver - Fix numerous Imakefiles to get header paths and subdirs right - Symlink client-side GLX lib source from Mesa - Add new shader subdirs to the Mesa core build - Tweak the DDX drivers to not ask for "xf86dri.h"; they don't need it, since they don't generate protocol, and it was breaking the build.
2005-07-26Build system for sunffbSøren Sandmann Pedersen
2005-07-11Prep for modular builds by adding guarded #include "config.h" everywhere.XORG-6_8_99_16XORG-6_8_99_15Adam Jackson
2005-07-03Change <X11/misc.h> and <X11/os.h> to "misc.h" and "os.h".XORG-6_8_99_14Daniel Stone
2005-07-03Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.Daniel Stone
Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings. Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all source files in the xserver/xorg tree, predicated on defines of HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to <X11/fonts/foo.h>.
2005-07-01Change all misc.h and os.h references to <X11/foo.h>.Daniel Stone
2005-06-25Bug #3626: _X_EXPORT tags for video and input drivers.XORG-6_8_99_13Adam Jackson
2005-05-20Bug #3346: Don't include DRI-internal headers from the drivers. Pointed outXORG-6_8_99_9XORG-6_8_99_8XORG-6_8_99_12XORG-6_8_99_11XORG-6_8_99_10Adam Jackson
by Kevin Martin.
2005-05-18Bug #3163: Create new DRIINFO_*_VERSION macros to indicate the versionAdam Jackson
number of the DRIInfoRec, disambiguating it from the XF86DRI protocol version number. Modify DRIQueryVersion to return the libdri version number, which all DDXes were requesting implicitly. Fix the DDXes to check for the DRIINFO version they were compiled against.
2005-04-20Fix includes right throughout the Xserver tree:sco_port_update-baseXORG-6_8_99_7XORG-6_8_99_6XORG-6_8_99_5XORG-6_8_99_4Daniel Stone
change "foo.h" to <X11/foo.h> for core headers, e.g. X.h, Xpoll.h; change "foo.h", "extensions/foo.h" and "X11/foo.h" to <X11/extensions/foo.h> for extension headers, e.g. Xv.h; change "foo.[ch]" to <X11/Xtrans/foo.[ch]> for Xtrans files.
2005-01-14Bug #1891: XAA support for Sun FFB. (Dave S. Miller)XORG-6_8_99_3XORG-6_8_99_2XORG-6_8_99_1Adam Jackson
2004-06-16Merge DRI-trunk-20040613 changes in programs/Xserver/hw/xfree86/drivers,rel-0-6-1lg3d-rel-0-7-0lg3d-rel-0-6-2lg3d-baseXORG-6_8_2XORG-6_8_1_904XORG-6_8_1_903XORG-6_8_1_902XORG-6_8_1_901XORG-6_8_1XORG-6_8_0XORG-6_7_99_904XORG-6_7_99_903XORG-6_7_99_902XORG-6_7_99_901XORG-6_7_99_2XORG-6_7_99_1Eric Anholt
with the following notes: - Savage and Mach64 (= ati/ati*.[ch] changes) DRI not merged due to insecurity. - VIA driver converted to new drmContext and drmHandle names. - Radeon driver merge conflicted in many places, and MergedFB at least could probably use some checking at this point.