[PATCH 1/2] drm/amdgpu/vi: expose CB chicken bit registers via read reg interface
Alex Deucher
alexdeucher at gmail.com
Mon Sep 12 19:36:35 UTC 2016
Useful for validating certain tests involving the CB where the
chicken bit status may have an affect on the results.
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
drivers/gpu/drm/amd/amdgpu/vi.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c
index f2e8aa1..af276f9 100644
--- a/drivers/gpu/drm/amd/amdgpu/vi.c
+++ b/drivers/gpu/drm/amd/amdgpu/vi.c
@@ -543,6 +543,10 @@ static const struct amdgpu_allowed_register_entry vi_allowed_read_registers[] =
{mmGB_MACROTILE_MODE13, false},
{mmGB_MACROTILE_MODE14, false},
{mmGB_MACROTILE_MODE15, false},
+ {mmCB_HW_CONTROL, false},
+ {mmCB_HW_CONTROL_1, false},
+ {mmCB_HW_CONTROL_2, false},
+ {mmCB_HW_CONTROL_3, false},
{mmCC_RB_BACKEND_DISABLE, false, true},
{mmGC_USER_RB_BACKEND_DISABLE, false, true},
{mmGB_BACKEND_MAP, false, false},
--
2.5.5
More information about the amd-gfx
mailing list