aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/reg_srcs/rs600
AgeCommit message (Collapse)AuthorFilesLines
2011-02-14drm/radeon/kms: check AA resolve registers on r300Marek Olšák1-3/+0
This is an important security fix because we allowed arbitrary values to be passed to AARESOLVE_OFFSET. This also puts the right buffer address in the register. Signed-off-by: Marek Olšák <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
2011-02-14drm/radeon/kms: fix tracking of BLENDCNTL, COLOR_CHANNEL_MASK, and GB_Z on r300Marek Olšák1-2/+1
Also move ZB_DEPTHCLEARVALUE to the list of safe regs. Signed-off-by: Marek Olšák <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
2010-08-02drm/radeon: add basic zmask/hiz support (v4)Dave Airlie1-13/+0
This interface allows userspace to request hyperz support, it probably needs more locking, and really reporting that you can have hyperz is racy since someone else might get it before you do. v2: modify so we pass 0 valued packets to let DDX/r300c keep working. also fixed incorrect 0x4f1c reference. v3: fixup zb_bw_cntl so older drivers keep working v4: add locking, fixup SC_HYPERZ_EN - patch stream to disable hiz Signed-off-by: Dave Airlie <[email protected]>
2010-04-19drivers/gpu/radeon: Add MSPOS regs to safe list.Corbin Simpson1-0/+2
Permits MSAA and D3D-style rasterization. [airlied: add rs600] Signed-off-by: Corbin Simpson <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
2010-01-11drm/radeon/kms: add additional safe regs for r4xx/rs6xx and r5xxAlex Deucher1-1/+67
- r4xx/rs6xx: add support for extended pixel shader instruction/temp regs - r5xx: add SM3 regs Signed-off-by: Alex Deucher <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
2009-09-07drm/radeon/kms: add updated registers from drm-fixes.Dave Airlie1-0/+2
Fixes up the DISCARD + 2 sided stencil in the new generator scripts. Signed-off-by: Dave Airlie <[email protected]>
2009-09-07drm/radeon/kms: block depthxy offset from use from userspace.Dave Airlie1-1/+0
This could be used to bypass CS checks. Signed-off-by: Dave Airlie <[email protected]>
2009-08-27drm/rs600/690: use autogenerated safe register tables.Dave Airlie1-0/+728
This ports rs690 to the safe reg tables and makes rs600 also use the same table. Signed-off-by: Dave Airlie <[email protected]>