summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-10-04radeon: fix build without kmsDave Airlie1-0/+2
2009-10-03Fix KMS on big endian machines.Michel Dänzer8-62/+185
Requires at least xserver 1.7 to work properly. Also make sure the front buffer is and stays tiled if colour tiling is enabled.
2009-10-03EXA: Bail earlier from PrepareCopy hook on trivially unsupportable conditions.Michel Dänzer1-9/+9
2009-10-03R3/5xx EXA: Add support for BGRA picture formats.Michel Dänzer1-0/+20
Also add mysteriously missing case statements for ABGR destination formats.
2009-10-03R3/5xx EXA: Minimise number of draw primitives used for Composite operations.Michel Dänzer2-12/+37
This should reduce the kernel CS checker overhead, if nothing else. I'll leave porting this to other chipset families to others who can test it.
2009-10-03EXA: Don't always flush when switching between 2D/3D engines with KMS.Michel Dänzer1-1/+7
This seems to work fine here now and help 2D performance quite a bit, let's see if it breaks anybody else's setup...
2009-10-03KMS: Double-buffer textured video source image upload.Michel Dänzer4-25/+39
In order to avoid stalling on previous frame. OTOH without KMS we can't do this but have to wait for the previous frame to finish rendering.
2009-10-03KMS: Don't hide HW cursor when it's updated.Michel Dänzer1-0/+1
Inspired by the intel driver; might avoid/reduce HW cursor flicker in some cases.
2009-10-03Fix some compiler warnings.Michel Dänzer1-2/+4
2009-10-02radeon: Remove gatos message from driver startupKenneth Graunke1-4/+0
Remove a message on driver startup which directs people to the old GATOS website; said site contains highly out of date software which is no longer necessary.
2009-09-30radeon/kms: fallback to shadowfb if kernel report acceleration is offJerome Glisse2-13/+34
This will fallback to shadowfb is GPU accel failed somewhere during KMS kernel init.
2009-09-25radeon: fix segfault in MMIO path in RADEONInit3DEngineAlex Deucher1-4/+4
fixes fdo bug 24158. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-09-25kms/r600: add support for vline relocsAlex Deucher1-8/+29
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-09-25radeon: fix vline handling for kmsAlex Deucher7-132/+104
drm crtc ids do not correspond to actual hw crtcs, as such the vline stuff was never enabled for Xv. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-09-26r600: fix buildDave Airlie1-1/+1
2009-09-26r600/xv: fix dst bo write domainDave Airlie1-1/+1
2009-09-26radeon: fix zaphodDave Airlie1-0/+2
2009-09-25r600: fix bo accounting for XvAlex Deucher2-0/+12
fixes Xv after changes in: 8f80e37eed3ec028718b4e71bbb9b598847fd94e Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-09-25r600: space check wasn't correct.Dave Airlie2-31/+53
the r6xx space check code was incorrect for the DFS case, since the dst bo was in GTT but the hardcoded cp_start function assumed the bos were where it thought. Ripped out assumptions and replaced with code more like other radeons.
2009-09-24radeon: remove old pre-randr rotation cruftAlex Deucher2-33/+0
leftover from the randr 1.2 conversion. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-09-20use AC_CHECK_HEADER instead of AC_CHECK_FILEMichael Olbrich1-9/+15
AC_CHECK_FILE is not possible when cross-compiling. Use AC_CHECK_HEADER / AC_PREPROC_IFELSE instead. [ Michel Dänzer: Shuffled things around slightly to make it work on my setup ] Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Signed-off-by: Michel Dänzer <daenzer@vmware.com>
2009-09-19kms: disable dgaAlex Deucher1-1/+4
Can be dangerous with kms: http://lists.freedesktop.org/archives/xorg-devel/2009-September/002113.html
2009-09-19kms: init dga using xf86DiDGAInitAlex Deucher1-0/+5
fixes cursor problems in games like UT2004 and Penumbra Overture see fdo bug 24034
2009-09-18avivo: disable VGA rendering core when starting X.Dave Airlie2-0/+7
this thing can be rendering to VRAM when we don't expect it. turn it off. Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-09-17Fix configuration to disable KMS if not finding libdrm_radeon.Pauli Nieminen1-0/+2
Most of KMS building was disabled if LIBDRM_RADEON was not detected. But at least configure was reporting KMS enabled even tough it was realy disabled.
2009-09-14radeon: Add missing libdrm_radeon cflags to compiler paramaters.Pauli Nieminen1-1/+10
This fixes compilation if libdrm_radeon is installed to non-standard location like /opt.
2009-09-11atom: fix typo in asus quirksAlex Deucher1-2/+2
Should be DVI-I, not DVI-D
2009-09-10r600: add CS UTS and DFS hooksAlex Deucher1-2/+161
2009-09-10r6xx: fix EXA crash with gtkperf -aDave Airlie1-3/+4
unmapping was getting unbalanced.
2009-09-09kms: add property support.Dave Airlie2-0/+179
this adds support to the userspace DDX to get properties from the kernel and expose them over randr. Its most liberated from the Intel driver.
2009-09-08radeon: replace dga code with DiDGAAlex Deucher4-483/+4
2009-09-08radeon: fix dri2 struct zeroingAdam Jackson1-1/+1
2009-09-08Merge branch 'r6xx-cs'Dave Airlie8-240/+824
2009-09-08r600: more alignment fixups + vb map/unmapDave Airlie2-8/+8
I'm not so sure the vb map/unmap is a good idea, I think it pretty much locksteps the cpu/gpu, so we should really work out if we really need to flush this often, since mesa doesn't have to and we are just doing 3D ops.
2009-09-06RV280: add agp quirkAlex Deucher1-1/+3
deb bug 545040
2009-09-03EXA: Check for solid/gradient pictures the same way for all generations.Michel Dänzer2-2/+8
In particular, also catch them for >= R300.
2009-09-02EXA: Fix Composite restart dst/src switcheroo.Michel Dänzer1-4/+4
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=22636 . Now, where's that brown paper bag? :}
2009-09-01radeon: add some notes about DVO setupAlex Deucher2-5/+16
2009-09-01r100/r200: seriously WRAP is illegal for rectangular texturesDave Airlie1-2/+8
unless we scale all the bos up to POT
2009-08-31r6xx/r7xx: various CS fixes from DaveAlex Deucher2-12/+15
2009-08-31r1xx: fix textured videoAlex Deucher1-3/+3
Copy/paste bug from when kms support was added.
2009-08-30radeon: Fix DRI2BufferPtr to be DRI2Buffer2Ptr for xserver 1.6.Pauli Nieminen2-9/+15
Bump requirement for xserver in KMS mode to 1.6.2 for DRI2Buffer2Ptr.
2009-08-29r100/r200: fix section size mismatch for textured videoRoland Scheidegger1-4/+4
this fixes the driver complaining though reportedly it still does not work (on r100)
2009-08-28EXA: RENDER repeat fix and more cleanup.Michel Dänzer2-31/+23
Apparently changing pPict->repeatType causes badness, see http://bugs.freedesktop.org/show_bug.cgi?id=23560 . Now we just use a normalized repeatType value derived from pPict->repeat and pPict->repeatType everywhere.
2009-08-27KMS: Remove explicit radeon_bo_wait calls before radeon_bo_map.Michel Dänzer3-5/+0
libdrm_radeon always takes care of this implicitly now.
2009-08-27KMS: Don't use a blit for UploadToScreen if the pixmap BO will be idle anyway.Michel Dänzer1-0/+6
Direct CPU writes should be at least as fast in that case.
2009-08-27KMS: DownloadFromScreen improvements.Michel Dänzer1-34/+17
* Drop superfluous RADEONDownloadFromScreenGTT function, EXA does the same thing when we return FALSE. * Take unflushed operations into account for determining which GEM domain the pixmap BO will end up in. * Only use a blit if it ends up in VRAM.
2009-08-27EXA: Allocate pixmap BOs in VRAM.Michel Dänzer1-4/+4
This is the intention with EXA in xserver Git, and IME it improves performance significantly even with older versions.
2009-08-27DRI2: Set tiling for depth/stencil buffers with all DRI2 interface versions.Michel Dänzer1-0/+4
2009-08-27EXA: RENDER repeat cleanups.Michel Dänzer2-49/+56
We can't rely on the server setting pPict->repeatType to something sensible when pPict->repeat is FALSE, but we can do it ourselves.