3727 Commits

Author SHA1 Message Date
Michel Daenzer
999f67763a bugzilla #988 (https://bugs.freedesktop.org/show_bug.cgi?id=988) Fix typo
which may or may not have had a negative impact on stability with R300
    class cards.
2005-11-08 16:30:48 +00:00
Michel Daenzer
5aa401efa0 bugzilla #4494 (https://bugs.freedesktop.org/show_bug.cgi?id=4494) Call
RADEONDGAInit() even if EXA is enabled; the problematic DGA
    acceleration hooks are already disabled in that case.
This fixes DGA issues such as DGA mouse (typically used by games in
    fullscreen mode) not working.
Fix suggested by Eric Anholt.
2005-11-08 14:05:00 +00:00
Michel Daenzer
345180131a bugzilla #4916 (https://bugs.freedesktop.org/show_bug.cgi?id=4916) Fix
segfault with MergedFB and EXA enabled and HW cursor temporarily
    disabled.
2005-11-08 13:35:23 +00:00
Michel Daenzer
23911421ff bugzilla #4951 (https://bugs.freedesktop.org/show_bug.cgi?id=4951)
attachment #3689 (http://bugs.freedesktop.org/attachment.cgi?id=3689)
    Fix HW cursor getting silently disabled with EXA.
2005-11-08 09:44:41 +00:00
Bogdan Diaconescu
e1259c0117 Replaced the variadic macros(gcc) by macros according to C99 standard 2005-11-07 19:28:40 +00:00
Alan Coopersmith
67bdaae04a Sun bug #6325220: Xorg dumps core in dual monitor configuration with radeon
driver if CRT2Position not specified in xorg.conf
    <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6325220>
    (Stuart Krietman - Sun Microsystems)
2005-11-06 07:41:29 +00:00
Kevin E Martin
733ebf6e4a Update pkgcheck depedencies to work with separate build roots. 2005-11-01 15:08:52 +00:00
Adam Jackson
dd0eb76337 Bug #4829: Remove some useless DRI symbol checks. 2005-10-21 18:40:18 +00:00
Donnie Berkholz
e6c1859e3a Bug #4831 <https://bugs.freedesktop.org/show_bug.cgi?id=4831>. Check for
x86_64 in addition to amd64 in host_cpu.
2005-10-20 23:01:58 +00:00
Kevin E Martin
33460fb393 Update package version number for RC1 release. XORG-6_99_99_901 2005-10-19 02:48:02 +00:00
Kevin E Martin
77d5c3549d Do the following to make the drivers pass distcheck:
- Only define EXTRA_DIST when there are actually man pages to be processed
- Add missing man pages to keyboard and ati drivers EXTRA_DIST
2005-10-18 15:46:37 +00:00
Alan Coopersmith
35e717078c Use @DRIVER_MAN_SUFFIX@ instead of $(DRIVER_MAN_SUFFIX) in macro
substitutions to work better with BSD make
2005-10-18 00:01:52 +00:00
Adam Jackson
ff6e5b0412 More 1.7 braindamage: define EXTRA_DIST in terms of @DRIVER_NAME@ instead
of indirectly
2005-10-17 22:57:32 +00:00
Alan Coopersmith
a2e7c55850 Use sed & cpp to substitute variables in driver man pages 2005-10-17 00:09:01 +00:00
Dave Airlie
524fb14407 Secure the Radeon PCIE GART tables in framebuffer memory by not allowing
the clients to get access to a secure area of framebuffer.
XORG-6_8_99_901
2005-10-09 10:36:50 +00:00
Søren Sandmann Pedersen
e526211b86 Check in generated README files 2005-10-04 20:01:03 +00:00
Søren Sandmann Pedersen
431d0e144a - For all drivers that have a <driver>.sgml file, add code in their build
system to build the README file at make dist time
- in util/macros/xorg-macros.m4, add a new XORG_CHECK_LINUXDOC macro that
    will check if the required tools and files exist, and if so set a
    conditional.
- util/modular/symlink.sh
- Link all the <driver>.sgml to xf86-video-<driver>/README.sgml
- Add all the README.<driver> to the list of excluded files
- xc/programs/Xserver/hw/xfree86/doc/sgml/SiS.sgml: Various changes to make
    it spew less warnings when the text file is built.
2005-10-03 21:22:07 +00:00
Adam Jackson
9147c20e5f Bug #4001: Don't crash when PanelSize is unset. (Alan Coopersmith) 2005-10-03 06:14:58 +00:00
Matthieu Herrb
7e2090e3eb missed one missing return value. 2005-10-01 20:42:06 +00:00
Matthieu Herrb
a843e42811 add missing return value on success in RADEONSetupMemXAA(). 2005-10-01 17:09:48 +00:00
Søren Sandmann Pedersen
98f7d043f8 Make ati driver distcheck
radeon_commonfuncs.c \
radeon_exa_render.c \
radeon_exa_funcs.c \
2005-09-28 15:10:38 +00:00
Roland Scheidegger
e7b1af5d16 Move the RADEONEnablePageFlip/RADEONChangeSurfaces calls back to the end of
the function (the code above will cause pixmap cache to be freed and
    copied around, and these functions must be called after that otherwise
    pixmap damage will occur). May be related to #4440, #4456 (unclear if
    these setups involve 3d apps)
2005-09-27 23:55:15 +00:00
Eric Anholt
bc3c26fe36 Fix Radeon MMIO Render acceleration with EXA by writing out floating- point
coordinates rather than integers.
2005-09-27 23:34:11 +00:00
Adam Jackson
58dfb95c44 Disable the {Open,Close}FullScreen DRI protocol. Remove empty FullScreen
stubs from drivers, comment the non-empty ones.
2005-09-24 18:45:45 +00:00
Alan Coopersmith
65b5f0017e Only include radeon_dri.h & radeon_sarea.h if XF86DRI is defined.
Include "compiler.h" to define __inline__ on non-gcc compilers
2005-09-20 16:53:34 +00:00
Eric Anholt
0b7441b19a Break EXA ABI while we still can. Add coordinates to the UploadToScreen
hook so we can upload a subset of a pixmap, and convert the current
    drivers to respect that. Use this support to directly UploadToScreen in
    exaGlyphs, providing a 47.4% +/-2.4% decrease in wall time for ls -lR
    programs/Xserver in an antialiased gnome-terminal on an M6 (n=3, caches
    hot). I would have bumped major version, only I can't tell what the
    EXA_VERSION_* is supposed to be doing as opposed to the module version.
2005-09-18 02:32:23 +00:00
Eric Anholt
64e7db2698 - Don't try to upload 0 byte-per-pixel (PICT_a1) data using
RADEONHostDataBlit.
- Disable the shortcut for switching from 3d to 3d in radeon_exa.c. It
    appears that we do need the cache flush here, thought it's not clear
    why. Disable the 2d to 2d shortcut while here, since I'm unsure of what
    we're doing. Exposed by the following bit:
- Bug #4485: Add a new routine, exaGlyphs, to handle font drawing. Glyphs
    were being accumulated in from non-migratable scratch pixmaps, causing
    the destination pixmap to move towards screen but the migration
    necessary for source never to happen, leading to abysmal performance.
    Instead, copy the scratch glyph data into a real pixmap first, then
    composite from that into the destination, allowing for migration. time
    ls -lR from programs/Xserver showed 26.9% (+/- 6.3%) decrease in wall
    time (n=3).
- Create exaDrawableUse* wrapping exaPixmapUse*, but which are aware of
    windows needing backing store. Makes migration code prettier, and
    ensures that composited windows will be migrated as normal when we turn
    off cw for EXA. (issue brought up by keithp)
2005-09-17 20:02:01 +00:00
Dave Airlie
3c71198a08 Switch radeon driver to using a card type rather than having a IsPCI flag,
allow for PCI/AGP/PCIE cards. Set PCI gart allocation to only happen on
    PCIE cards. Add Radeon PCIE card detection using capability bits.
2005-09-17 07:47:51 +00:00
Eric Anholt
10cf3523f2 Bug #2573: Remove the disabling of automatic cache flushing on non-r300
cards. It has been implicated in hanging at least r300s and some r100s,
    and seemed to be the cause of some bad rendering for me.
2005-09-14 22:06:41 +00:00
Eric Anholt
d68894a463 Remove the hardcoded USE_EXA/USE_XAA defines now that they've been
hardcoded in configure.ac (config.h).
2005-09-13 22:04:12 +00:00
Dave Airlie
baa9b5b6e1 Fix Radeon EXA for when RENDER isn't defined 2005-09-12 09:27:07 +00:00
Dave Airlie
8c89610389 Move GART offset/size outside XAA 2005-09-12 09:17:42 +00:00
Daniel Stone
eba44d9747 Define USE_XAA and USE_EXA for the time being. 2005-09-12 09:04:36 +00:00
Eric Anholt
a255e7b098 Attempt to fix up the modular pieces for EXA support. (untested) 2005-09-11 21:00:44 +00:00
Eric Anholt
3e0d9c945a Add support for EXA to the radeon driver. Building EXA and XAA support is
controlled at compile time, plus the runtime option of Option
    "AccelMethod" "EXA" or "XAA". The XAA support appears to remain as
    before, while the EXA pieces need just a little more polishing. Notable
    features:
- Render acceleration working on Radeon 100 and 200-series with DRI on.
- DRI works with EXA Notable issues:
- DGA disabled in the EXA case.
- Backbuffer moves disabled in the EXA case.
- No textured XVideo.
- MMIO render acceleration is close but still has some issues.
- Memory pressure while using Composite is really troublesome with DRI on.
    This patch is based on an initial patch by Zack Rusin, with significant
    work by Benjamin Herrenschmidt and myself.
2005-09-11 20:58:53 +00:00
Dave Airlie
fd62082b68 Add support for allocating PCI GART table in framebuffer memory. This is
needed to support PCIE Radeons using a new DRM.
2005-09-11 08:51:38 +00:00
Dave Airlie
cb63f8d9c0 Handle VIP timeouts more gracefully -- impose a hard limit of 10ms on
waiting for VIP_BUSY so we don't lock up hard, spinning.
2005-09-06 10:03:19 +00:00
Adam Jackson
dbd83cf18e Bug #4148: Bump required DRM version for r300 to 1.17. 2005-08-28 20:51:14 +00:00
Adam Jackson
ce0589ff3b Bug #1109: Fix VGA init on Rage Mobility 7500 (Marc Le France) 2005-08-28 18:10:34 +00:00
Bogdan Diaconescu
250c8732a5 Modified the licens type from GPL to a X/MIT one 2005-08-28 18:00:23 +00:00
Alan Coopersmith
94c0196652 #include "extensions/dpms.h" -> <X11/extensions/dpms.h> 2005-08-26 20:04:01 +00:00
Daniel Stone
107e42cabe Fix 'ugly' warning in r128. (Branden Robinson, Debian #069) 2005-08-26 07:00:24 +00:00
Daniel Stone
d3f5911c85 Only use vgahw symbols if we're building vgahw for this architecture. TODO:
Fix this for the modular tree (maybe an unconditional yes?). Define
    that we're using a DPMS server and include DPMS headers. (Debian #024b)
2005-08-26 05:30:52 +00:00
Alex Deucher
8792134557 - fix pitch increment (Aapo Tahkola, Roland Scheidegger) 2005-08-26 02:11:24 +00:00
Daniel Stone
6519cc71e4 Fix bug in Radeon connector table parsing -- parse all entries, not just
the first. (Ben Herrenschmidt)
2005-08-25 03:34:58 +00:00
Daniel Stone
8734a5d0ba Blacklist Radeon M300 from multimedia I2C code. Handle I2C timeouts more
gracefully -- impose a hard limit of 10ms on waiting for I2C_GO so we
    don't lock up hard, spinning.
2005-08-25 03:07:50 +00:00
Adam Jackson
578564b4f7 Explicit license statement. 2005-08-22 03:05:52 +00:00
Daniel Stone
c9005c91bf Update autogen.sh to one that does objdir != srcdir. 2005-08-18 09:03:46 +00:00
Alan Hourihane
508a7421a1 Egbert's 64bit fixes for mixed 32/64bit clients 2005-08-15 07:30:05 +00:00
Daniel Stone
204290412f Make DGA, CPIO, non-PCI, and TV-Out support detected per-platform, using
the same semantics as in drivers/ati/Imakefile.
2005-08-14 16:14:51 +00:00