From: Flora Cui Date: Tue, 8 Dec 2015 03:23:29 +0000 (+0800) Subject: drm/amdgpu/gfx8: update PA_SC_RASTER_CONFIG:PKR_MAP only X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c27816a883575037ec67e7f92fbd214648a1c1cb;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git drm/amdgpu/gfx8: update PA_SC_RASTER_CONFIG:PKR_MAP only Use default value as a base. Signed-off-by: Flora Cui Reviewed-by: Jammy Zhou --- diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c index 6816a1a60a97..b20369e4ea74 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c @@ -2630,7 +2630,7 @@ static void gfx_v8_0_setup_rb(struct amdgpu_device *adev, mutex_lock(&adev->grbm_idx_mutex); for (i = 0; i < se_num; i++) { gfx_v8_0_select_se_sh(adev, i, 0xffffffff); - data = 0; + data = RREG32(mmPA_SC_RASTER_CONFIG); for (j = 0; j < sh_per_se; j++) { switch (enabled_rbs & 3) { case 0: