summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon
AgeCommit message (Collapse)Author
2009-08-12r600: fix warningAlex Deucher
2009-08-12r600: clean up Create/DestroyContextAlex Deucher
2009-08-12r200: Prevent TexGenMatrix from leaking when destroying r200 context.Pauli Nieminen
Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-12radeon: Minor warnings cleanup.Eric Anholt
2009-08-12radeon: Add protection against recursive DRM locking.Pauli Nieminen
Reference counting protects DRM lock call from recursive locking that would cause hang. Code also adds optional debugging output for recursive call that is compiled only if NDEBUG is not defined. This code is not 100% thread safe because mesa doesn't include increment and test atomic operation. There is built-in gcc functions but they are only available from gcc 4.2.
2009-08-11r600: use the drm ioctls for swap and texture uploadAlex Deucher
NOTE: THIS REQUIRES AN UPDATED DRM!
2009-08-10radeon_fbo: switch short to byte for 565Dave Airlie
2009-08-10radeon: fix cut-n-paste in alphabits in fbo codeDave Airlie
2009-08-07radeon: correct fix for tiling with the legacy buildAlex Deucher
2009-08-07radeon: fix the build with older drm headersAlex Deucher
2009-08-07radeon: enable tiling fallbacks in 3D driver.Dave Airlie
Only really got good testing on r500 so far, need to enable in DDX and play some more.
2009-08-07radeon span: add r200 depth/stencil span read/writingDave Airlie
this should only really affect DRI2 since we mostly have a surface in DRI1. I don't think this is perfect yet, but it is a better start than nothing.
2009-08-05radeon: fix miptree comparison breakageRoland Scheidegger
another case of image never matching miptree in case of compressed textures
2009-08-04radeon: more fixes for compressed texturesRoland Scheidegger
- fix not respecting required hardware stride with compressedTexImage - this fixes #22615. - make sure correct stride is used in various places - fix stored miptree never matching with a TexImage call with compressed texture - don't always store data with compressedtexsubimage at offset 0, and actually use the supplied pixel data... (untested) - make sure rows for compressed texture handling are rounded up not down Note that trying to access stored compressed textures in hardware miptrees from core mesa (get_compressed_teximage, swrast fallbacks) can't work correctly, since RowStride isn't really set to anything useful, plus some places (at least get_compressed_teximage) assume this data has native stride and no padding.
2009-08-03radeon: Fix inverted test for disabling flushing of front buffer output.Eric Anholt
(corresponding fix to the intel driver one)
2009-08-03r600: add some new r7xx pci idsAlex Deucher
2009-08-03r600: add some missing pci idsAlex Deucher
2009-08-03r600: fix the build when RADEON_DEBUG_BO is setAlex Deucher
2009-08-03r600: fix r600SetTexOffsetAlex Deucher
We need to properly set up a fake bo for the texture override, so add a new function to radeon_bo_legacy.c. This could probably be used on radeon/r200/r300 to unify the bo handling for texture override. compiz now works :)
2009-07-31radeon: fix r100/r200 compressed texture strideRoland Scheidegger
This almost fixes compressed mipmapped textures on r200, though some small mip levels are still broken. Leave r300 compressed texture stride as is though afaik it's different to pre-radeon-rewrite too. Also do the fixup for rs600 uncompressed row stride at same place.
2009-07-31radeon: s/r300/radeon in shared code error messageRoland Scheidegger
2009-07-31radeon: Cliprects has to be updated before doing anything with clip rectanglesPauli Nieminen
Reported to fix corruption while dragging an active window by John Bridgman. Signed-off-by: Pauli Nieminen <suokkos@gmail.com> Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-31radeon: Remove unused variable from context.Pauli Nieminen
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-29r600: fix texture pitch alignmentAlex Deucher
fixes texwrap
2009-07-28r600: implement texture border colorAlex Deucher
2009-07-27r300: Detangle fragment program compiler from driver-specific structureNicolai Hähnle
This is in preparation of sharing the fragment program compiler with Gallium: Compiler code is moved into its own directory and modified so that it no longer depends on driver structures. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-27radeon: Add r6xx/r7xx chip family to get_chip_family_namePauli Nieminen
This fixes problem that glxinfo was reporting r600+ cards as unknown. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-07-27r600: Use R600_SCRATCH_REG_OFFSET rather than RADEON_SCRATCH_REG_OFFSETAlex Deucher
noticed by vehemens on IRC.
2009-07-21radeon: fix colorbuffer pitch emission regarding tiling in KMS/CS caseJerome Glisse
We need to emit a relocation for pitch register so that kernel can check and properly setup tiling on the color buffer.
2009-07-20Merge branch 'mesa_7_5_branch'Michel Dänzer
2009-07-20radeon: With DRI1, if we have HW stencil, only expose fbconfigs with stencil.Michel Dänzer
Otherwise simple apps like glxgears pick up a DirectColor visual since the X server mixes the depth 32 visual in with the other GLX visuals, and this seems to result in a (mostly) black screen due to a bad ColorMap for a lot of people. The bad ColorMap may be a bug in the apps, the X server or X driver, and regardless of that I think the X server should ideally make the depth 32 GLX visual separate from the rest again, but in the meantime this makes us cope. (depth_bits is either 16 or 24, never 0)
2009-07-18radeon: disable BO debugDave Airlie
2009-07-17R6xx/r7xx: warning fixesKevin DeKorte
patch from Kevin DeKorte with some minor fixes from me.
2009-07-16Fix more merge falloutAlex Deucher
2009-07-15radeon bo: Fix merge fall outAlex Deucher
2009-07-15Merge branch 'master' of git+ssh://agd5f@git.freedesktop.org/git/mesa/mesa ↵Alex Deucher
into r6xx-rewrite This builds, but I get an assertion in radeonGetLock() due to the drawable being null.
2009-07-15make sure ctx->Driver.Flush is valid before calling itAlex Deucher
2009-07-15Use memcpy directly in the common codeAlex Deucher
This alleviates the need for an additional symbol.
2009-07-15radeon: update span reading micro tile codeDave Airlie
tested on r500 with zreaddraw with Z buffer in all 3 modes
2009-07-15radeon: r300 fix span reading for macro tiled buffers.Dave Airlie
this uses the correct formula for macro tiled buffers for readback
2009-07-15radeon: for tiling you really need to use GET/PUT VALUE not PTR.Dave Airlie
since the surfaces aren't linear you can't just use GET_PTR
2009-07-14R6xx/r7xx: implement memcpy buffer swapsAlex Deucher
This allows double buffered apps to run, but perfomance will be awful until we implement something faster. You must update to the latest kernel modules.
2009-07-15intel/radeon: add common metaops code.Dave Airlie
Move all the metaops to a dri_metaops file and port radeon/intel to use the new common meta ops code.
2009-07-14R6xx/R7xx: no irqs yet.Alex Deucher
2009-07-15radeon: fix unsigned vs signed comparison in stencil code.Dave Airlie
This function takes a GLint not a GLuint, passing in -1 breaks internally.
2009-07-14radeon: Differentiate 16 bpp destination formats.Michel Dänzer
Fixes those formats in fbo_firecube. Only tested with r300, radeon and r200 compile tested only.
2009-07-14radeon: Invert front face winding when rendering to FBO.Michel Dänzer
Fixes fgl_glxgears and progs/demos/fbotexture after pressing 'c'. Tested with r300, radeon and r200 compile tested only.
2009-07-14radeon: port more front fixes from intel.Dave Airlie
Port fixes to read buffer from front.
2009-07-14radeon/r200: fix color masking under dri2Dave Airlie
Need to retrieve the bits from the rrb not from screen struct
2009-07-14radeon: Use Stencil.Enabled instead of Stencil._Enabled in DrawBuffers.Dave Airlie
The _Enabled field isn't updated at the point that DrawBuffers is called, and the Driver.Enable() function does the testing for stencil buffer presence anyway.