summaryrefslogtreecommitdiff
path: root/src/radeon_dri2.c
AgeCommit message (Collapse)Author
2009-11-25dri2: Use drmGetDeviceNameFromFd() instead of open coded loop.Kristian Høgsberg
2009-11-23radeon: avoid using hw pixmaps when we have little VRAM.Dave Airlie
This patch returns NULL for pixmap creation when we are using mixed pixmaps and the pixmap has a size. The size check is necessary for the front buffer. We add a flag to force pixmap creation for certain pixmaps that need to be hw, like the DRI2 and Xv ones. Idea from Michel and workarounds from Ben Skeggs. v2: add Option "EXALowVRAM" to allow configuring this, value in MBs. Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-09-08radeon: fix dri2 struct zeroingAdam Jackson
2009-09-08Merge branch 'r6xx-cs'Dave Airlie
2009-08-30radeon: Fix DRI2BufferPtr to be DRI2Buffer2Ptr for xserver 1.6.Pauli Nieminen
Bump requirement for xserver in KMS mode to 1.6.2 for DRI2Buffer2Ptr.
2009-08-27DRI2: Set tiling for depth/stencil buffers with all DRI2 interface versions.Michel Dänzer
2009-08-27Throttle DRI2 buffer swaps / frontbuffer flushes.Michel Dänzer
2009-08-25r6xx/r7xx: first pass at kms accel supportAlex Deucher
Adapted from various patches from Dave and Jerome.
2009-08-19radeon/kms: add initial colortiling support (disabled by default).Dave Airlie
This requires an X server from git with createpixmap2 support fixed up in it. On 1.6 and previous it won't do any tiling, if you are running git server please upgrade to latest git. Option "AllowColorTiling" "true" to enable and do some testing
2009-08-07Add support for EXA_MIXED_PIXMAPS in xserver master.Michel Dänzer
2009-07-18Enable vsync for DRI2 region copies.Michel Dänzer
2009-07-07Fix DRI2 with current xserver Git.Michel Dänzer
2009-07-02Warning fixes.Michel Dänzer
2009-07-02radeon/dri2: fix dri2 - needs newest libdrm_radeonDave Airlie
2009-07-02radeon/dri2: call proper gem bo functionDave Airlie
2009-07-02radeon: add KMS support (still disabled)Dave Airlie
This adds DRI2 + KMS + driver pixmaps support to the driver. I've decided to just do a completely separate KMS driver file instead of hacking the crap out of radeon_driver.c. So now I do the KMS check in radeon_probe.c time and set the DDX pointed up to a completely different set at this stage. This avoids a lot of if (kms) type crap in the code at the expense of making sure we make changes to both files if necessary. This code is still disabled in configure.ac as I broke EXA composite rendering somehow in KMS mode