summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-12-18Remove call to obsolete miInitializeBackingStore()Alan Coopersmith
Definition was deleted from Xorg during 1.14 merge window, but has been a no-op since 1.10 merge window. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2012-12-16Remove dummy UTS / DFS hooksConnor Behan
When EXA was added to mach64, it included UploadToScreen and DownloadFromScreen hooks that did the same thing that EXA would do in a software fallback. Now they are out of date and cause crashes. The slight benefit of reimplementing those hooks (if there is any) is not worth the maintenance burden of having to rewrite them every time there is a change to the way EXA handles pixmaps. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=51137 Signed-off-by: Connor Behan <connor.behan@gmail.com> Tested-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-12-10Mach64PixelARGB should use exaGetPixmapFirstPixelAlan Coopersmith
Fixes crash attempting to read a pixel from a NULL pPixmap->devPrivate.ptr Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Michel Dänzer <michel@daenzer.net>
2012-10-02Fix build with neither XAA nor EXA against xserver 1.13.0Adam Jackson
Pull in picturestr.h to get GLYPH_HAS_GLYPH_PICTURE_ACCESSOR defined before compat-api.h is parsed, otherwise you fail with: In file included from /usr/include/xorg/picturestr.h:28:0, from /usr/include/xorg/exa.h:38, from atimach64accel.h:31, from atiscreen.c:46: /usr/include/xorg/glyphstr.h:138:2: error: expected ')' before '*' token /usr/include/xorg/glyphstr.h:138:2: error: expected ')' before '(' token /usr/include/xorg/glyphstr.h:140:2: error: expected ')' before '*' token /usr/include/xorg/glyphstr.h:140:2: error: expected ')' before '(' token Signed-off-by: Adam Jackson <ajax@redhat.com>
2012-09-26Don't gratuitously disable Render when ShadowFBingAdam Jackson
There's no reason to do this, and I am at a loss to explain why that was ever done. The first instance of this logic comes from xfree86 (over 11 years ago!): http://cvsweb.xfree86.org/cvsweb/xc/programs/Xserver/hw/xfree86/drivers/ati/atiscreen.c.diff?r1=1.15&r2=1.16 Now, cfb never had Render support, so that might make some sense if there was an intermediate uncommitted state where the driver used fb for direct but cfb for shadowed. But that's really the only plausible explanation I can think of. Signed-off-by: Adam Jackson <ajax@redhat.com>
2012-07-18mach64: fix build on 32-bit.Dave Airlie
tvout code only builds on 32-bit, fix build. Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-17xf86-video-mach64: bump to version 6.9.3xf86-video-mach64-6.9.3Dave Airlie
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-16mach64: fix build against server without XAADave Airlie
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-07-02mach64: bump to 6.9.2xf86-video-mach64-6.9.2Dave Airlie
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-06-06ati: only include deprecated file in one place.Dave Airlie
reduces warnings. Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-06-06mach64: port to new compat API.Dave Airlie
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-03-30Readme updatesAlan Coopersmith
Stop saying Radeon & Rage128 are not "yet" supported by this driver, since no one is working on reuniting the ATI driver family. Update URL to check for latest X.Org code releases. Stop calling it an "XAA" driver now that it also supports EXA. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-03-23xf86-video-mach64 6.9.1xf86-video-mach64-6.9.1Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-12-19Fall back to shadowfb if XAA is unavailableAdam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-10-29Use pci_device_map_legacy rather than xf86MapDomainMemoryJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-10-29Use unsigned long rather than deprecated IOADDRESSJeremy Huddleston
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-04-28Bump to 6.9.0xf86-video-mach64-6.9.0Julien Cristau
Signed-off-by: Julien Cristau <jcristau@debian.org>
2011-04-28Replace deprecated xalloc/xfree/xrealloc with malloc/free/reallocJulien Cristau
Signed-off-by: Julien Cristau <jcristau@debian.org>
2010-12-02mach64: fix the pixmap private API change.Dave Airlie
2010-10-30Sun's copyrights now belong to OracleAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-08-29Don't play wrapping gamesMark Kettenis
The driver calls the wrapped CloseScreen function in the middle of messing with the hardware state. On multi-card setups this may cause the VGA arbiter to switch to a different card while we're in the middle of things, with obvious disastrous effects. This fixes things by making sure we only call the wrapped CloseScreen function at the very end of the driver's CloseScreen function. Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
2010-08-29Don't attempt to stop video on Mach64's without hardware overlay supportMark Kettenis
Older Mach64 variants don't have hardware overlay support. This is handled properly when the XVideo adapter is initialized (we bail out early), but ATICloseXVideo() unconditionally tries to stop video during screen termination. This causes the server to hang on certain multi-card setups. Fix the issue by checking Block1Base before proceeding with stopping video. Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
2010-07-22config: add comments for main statementsGaetan Nadon
2010-07-21config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILESGaetan Nadon
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21config: replace deprecated AC_HELP_STRING with AS_HELP_STRINGGaetan Nadon
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERSGaetan Nadon
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21config: complete AC_INIT m4 quotingGaetan Nadon
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-20config: remove unrequired AC_SUBST([DRI_CFLAGS])Gaetan Nadon
This macro is called by PKG_CHECK_MODULES Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-20config: remove unrequired AC_SUBST([XORG_CFLAGS])Gaetan Nadon
This macro is called by PKG_CHECK_MODULES Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-20config: remove unrequired AC_HEADER_STDCGaetan Nadon
Autoconf says: "This macro is obsolescent, as current systems have conforming header files. New programs need not use this macro". Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-20config: remove AC_PROG_CC as it overrides AC_PROG_C_C99Gaetan Nadon
XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls AC_PROG_C_C99. This sets gcc with -std=gnu99. If AC_PROG_CC macro is called afterwards, it resets CC to gcc. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-20config: update AC_PREREQ statement to 2.60Gaetan Nadon
Unrelated to the previous patches, the new value simply reflects the reality that the minimum level for autoconf to configure all x.org modules is 2.60 dated June 2006. ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-20config: upgrade to util-macros 1.8 for additional man page supportGaetan Nadon
Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS The value of MAN_SUBST is the same for all X.Org packages.
2010-06-21config: remove optional check for xf86miscprotoGaetan Nadon
This extension is obsolete and is not used by this driver. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-06-14README: keep the text version of README, discard the sgml versionGaetan Nadon
The linuxdoc doc tool is deprecated. README files are exclusively text files. Normalize to one plain text README file. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-06-14README: fix linuxdoc contentGaetan Nadon
defs.ent are located under X11 directory ident tag is not a Linuxdoc tag replace docbook email tag with linuxdoc email tag Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-03-08Don't check for Xinerama.Matt Turner
It doesn't seem to be used anywhere, so don't require it. CC: Jerome Glisse <jglisse@redhat.com> CC: Alex Deucher <alexdeucher@gmail.com> CC: Dave Airlie <airlied@redhat.com> Signed-off-by: Matt Turner <mattst88@gmail.com>
2010-01-15Update Sun license notices to current X.Org standard formAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-12-28configure.ac: use backticks rather than $() for cmd subsGaetan Nadon
Use "$PKG_CONFIG" rather than hard coded "pkg-config" Acked-by: Dan Nicholson <dbn.lists@gmail.com> Acked-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2009-11-23Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILESGaetan Nadon
Now that the INSTALL file is generated. Allows running make maintainer-clean.
2009-10-28INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206Gaetan Nadon
Automake 'foreign' option is specified in configure.ac. Remove from Makefile.am
2009-10-28INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206Gaetan Nadon
Add missing INSTALL file. Use standard GNU file on building tarball README may have been updated Remove AUTHORS file as it is empty and no content available yet. Remove NEWS file as it is empty and no content available yet.
2009-10-26Several driver modules do not have a ChangeLog target in Makefile.am #23814Gaetan Nadon
The git generated ChangeLog replaces the hand written one. Update configure.ac to xorg-macros level 1.3. Use XORG_DEFAULT_OPTIONS which replaces four XORG_* macros Update Makefile.am to add ChangeLog target if missing Remove ChangeLog from EXTRA_DIST or *CLEAN variables This is a pre-req for the INSTALL_CMD
2009-10-22.gitignore: use common defaults with custom section # 24239Gaetan Nadon
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-07-30mach64: bump for release 6.8.2xf86-video-mach64-6.8.2Dave Airlie
2009-07-28mach64: change to using ABI version checkDave Airlie
2009-07-28mach64: update for resources/RAC API removalDave Airlie
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-11Fill in COPYING file, add SubmittingPatches URL to READMEAlan Coopersmith
2009-05-10Doublecheck pictFormat is a supported formatAlan Coopersmith
Fixes these warnings from parfait source checker: Error: Read buffer overflow at src/atimach64render.c:601 in function 'Mach64PrepareTexture' [Symbolic analysis] In array dereference of Mach64TexFormats[i] with index 'i' Array size is 6 elements (of 12 bytes each), index >= 0 and index <= 6 Error: Read buffer overflow at src/atimach64render.c:712 in function 'Mach64PrepareComposite' [Symbolic analysis] In array dereference of Mach64TexFormats[i] with index 'i' Array size is 6 elements (of 12 bytes each), index >= 0 and index <= 6 Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>