Skip to contentSkip to conversation

drm/amdgpu/vi: expose CB chicken bit registers via read reg interface

PATCH New Alex Deucher 1 participant 2 messages Sep 12, 2016 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 drm/amdgpu/vi: expose CB chicken bit registers via read reg interface

Useful for validating certain tests involving the CB where the chicken bit status may have an affect on the results.

---
 drivers/gpu/drm/amd/amdgpu/vi.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/gpu/drm/amd/amdgpu/vi.c +4 -0
index f2e8aa1..af276f9 100644
@@ -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},
Signature · 6 lines
2.5.5

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 1473708996-16827-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org

#2 lore raw

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

Useful for validating certain tests involving the CB where the chicken bit status may have an affect on the results.

---
 drivers/gpu/drm/amd/amdgpu/cik.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/gpu/drm/amd/amdgpu/cik.c +4 -0
index 825de80..673fa6c 100644
@@ -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},
Signature · 6 lines
2.5.5

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx