[2/2] drm/amdgpu/cik: expose CB chicken bit registers via read reg interface

Submitted by Alex Deucher on Sept. 12, 2016, 7:36 p.m.

Details

Message ID 1473708996-16827-2-git-send-email-alexander.deucher@amd.com
State New
Headers show
Series "Series without cover letter" ( rev: 1 ) in AMD X.Org drivers

Not browsing as part of any series.

Commit Message

Alex Deucher Sept. 12, 2016, 7:36 p.m.
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@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/cik.c | 4 ++++
 1 file changed, 4 insertions(+)

Patch hide | download patch | download mbox

diff --git a/drivers/gpu/drm/amd/amdgpu/cik.c b/drivers/gpu/drm/amd/amdgpu/cik.c
index 825de80..673fa6c 100644
--- a/drivers/gpu/drm/amd/amdgpu/cik.c
+++ b/drivers/gpu/drm/amd/amdgpu/cik.c
@@ -1021,6 +1021,10 @@  static const struct amdgpu_allowed_register_entry cik_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},