summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon
AgeCommit message (Collapse)Author
2009-08-18r300: OQ reworkDave Airlie
Move to common code base so radeon/r200 can add support for this. Make OQ start a state emitted like all normal state, and make no-tcl flushing work in proper places. Really need a generic post emit space reservation mechanism like max_state so we can reserve some space for the emit this code passes demos/arbocclude, piglit occlusion query and glean occlusion query with TCL and NO-TCL on my rv530.
2009-08-17radeon: remove RADEON_DEBUG_BO stuffAlex Deucher
This stuff was a vestige of the r600 bring up and now mostly serves to periodically break the build.
2009-08-17radeon: turn off bo debuggingDave Airlie
2009-08-15radeon: add flag for drm OQ supportMaciej Cencora
2009-08-15r300: clear not_flushed OQ list after flushMaciej Cencora
2009-08-15radeon space: realign with drm space check codeDave Airlie
2009-08-15Merge branch 'vbo_clean'Maciej Cencora
Conflicts: src/mesa/drivers/dri/r300/r300_draw.c
2009-08-14radeon: handle debug versions of radeon_bo_openMaciej Cencora
2009-08-14radeon: add VBO support (not enabled yet)Maciej Cencora
2009-08-14radeon: export emitvec* functionsMaciej Cencora
2009-08-14radeon: constify some parametersMaciej Cencora
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