CHIP_KAVERI, CHIP_KABINI, and CHIP_MULLINS have the same buffer
manipulation as the default option in the switch case. Remove those
specific manipulations and rely on the default behavior for them.

Signed-off-by: Rodrigo Siqueira <sique...@igalia.com>
---
 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c 
b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
index 16b94ff5a959..4d8d68b737d1 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
@@ -3902,15 +3902,6 @@ static void gfx_v7_0_get_csb_buffer(struct amdgpu_device 
*adev,
                buffer[count++] = cpu_to_le32(0x16000012);
                buffer[count++] = cpu_to_le32(0x00000000);
                break;
-       case CHIP_KAVERI:
-               buffer[count++] = cpu_to_le32(0x00000000); /* XXX */
-               buffer[count++] = cpu_to_le32(0x00000000);
-               break;
-       case CHIP_KABINI:
-       case CHIP_MULLINS:
-               buffer[count++] = cpu_to_le32(0x00000000); /* XXX */
-               buffer[count++] = cpu_to_le32(0x00000000);
-               break;
        case CHIP_HAWAII:
                buffer[count++] = cpu_to_le32(0x3a00161a);
                buffer[count++] = cpu_to_le32(0x0000002e);
-- 
2.49.0

Reply via email to