diff options
author | Dave Airlie <airlied@redhat.com> | 2010-07-12 21:11:11 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-08-01 21:54:26 -0400 |
commit | ab9e1f5966591dc3e811418e96ba04f284c52458 (patch) | |
tree | d2021a631d17cb8d505b8bc8f8df39becf2cca49 /drivers/gpu/drm/radeon/reg_srcs/rs600 | |
parent | d9fdaafbe912a34ef06ed569c6606fe2811f325b (diff) |
drm/radeon: add basic zmask/hiz support (v4)
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 <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/reg_srcs/rs600')
-rw-r--r-- | drivers/gpu/drm/radeon/reg_srcs/rs600 | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/gpu/drm/radeon/reg_srcs/rs600 b/drivers/gpu/drm/radeon/reg_srcs/rs600 index 83e8bc0c2bb2..0828d80396f2 100644 --- a/drivers/gpu/drm/radeon/reg_srcs/rs600 +++ b/drivers/gpu/drm/radeon/reg_srcs/rs600 | |||
@@ -187,7 +187,6 @@ rs600 0x6d40 | |||
187 | 0x4364 RS_INST_13 | 187 | 0x4364 RS_INST_13 |
188 | 0x4368 RS_INST_14 | 188 | 0x4368 RS_INST_14 |
189 | 0x436C RS_INST_15 | 189 | 0x436C RS_INST_15 |
190 | 0x43A4 SC_HYPERZ_EN | ||
191 | 0x43A8 SC_EDGERULE | 190 | 0x43A8 SC_EDGERULE |
192 | 0x43B0 SC_CLIP_0_A | 191 | 0x43B0 SC_CLIP_0_A |
193 | 0x43B4 SC_CLIP_0_B | 192 | 0x43B4 SC_CLIP_0_B |
@@ -782,16 +781,4 @@ rs600 0x6d40 | |||
782 | 0x4F08 ZB_STENCILREFMASK | 781 | 0x4F08 ZB_STENCILREFMASK |
783 | 0x4F14 ZB_ZTOP | 782 | 0x4F14 ZB_ZTOP |
784 | 0x4F18 ZB_ZCACHE_CTLSTAT | 783 | 0x4F18 ZB_ZCACHE_CTLSTAT |
785 | 0x4F1C ZB_BW_CNTL | ||
786 | 0x4F28 ZB_DEPTHCLEARVALUE | ||
787 | 0x4F30 ZB_ZMASK_OFFSET | ||
788 | 0x4F34 ZB_ZMASK_PITCH | ||
789 | 0x4F38 ZB_ZMASK_WRINDEX | ||
790 | 0x4F3C ZB_ZMASK_DWORD | ||
791 | 0x4F40 ZB_ZMASK_RDINDEX | ||
792 | 0x4F44 ZB_HIZ_OFFSET | ||
793 | 0x4F48 ZB_HIZ_WRINDEX | ||
794 | 0x4F4C ZB_HIZ_DWORD | ||
795 | 0x4F50 ZB_HIZ_RDINDEX | ||
796 | 0x4F54 ZB_HIZ_PITCH | ||
797 | 0x4F58 ZB_ZPASS_DATA | 784 | 0x4F58 ZB_ZPASS_DATA |