summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHawking Zhang <Hawking.Zhang@amd.com>2017-02-09 17:11:54 +0800
committerAlex Deucher <alexander.deucher@amd.com>2017-05-24 17:41:00 -0400
commite999e6e94523d74ed725fefacc9a37f9471bbc1e (patch)
treea22be817ed7ef2eade171e3db9f80d08451846b8
parentf9d1b81d5763a3d5bb2c05a8add1a829a24a65cd (diff)
drm/amdgpu: correct gfx9 csb size
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>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
index c8c441d8c2f8..e8b07c9213a1 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
@@ -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 */