drm/amdgpu: correct gfx9 csb size
authorHawking Zhang <Hawking.Zhang@amd.com>
Thu, 9 Feb 2017 09:11:54 +0000 (17:11 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 May 2017 21:41:00 +0000 (17:41 -0400)
programming pa_sc_raster_config/config1 reg is removed from gfx9 csb

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c

index c8c441d8c2f83a7c47ec2d598f214281932dc940..e8b07c9213a1cc4c2584fa4a94a295b0476293bf 100644 (file)
@@ -1665,8 +1665,6 @@ static u32 gfx_v9_0_get_csb_size(struct amdgpu_device *adev)
                                return 0;
                }
        }
-       /* pa_sc_raster_config/pa_sc_raster_config1 */
-       count += 4;
        /* end clear state */
        count += 2;
        /* clear state */