summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/evergreen.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2018-01-09 04:43:03 +0100
committerAlex Deucher <alexander.deucher@amd.com>2018-01-16 21:35:28 +0100
commit8159e509203c50d0684483b4311b20e5d40553e8 (patch)
tree356a6fee5895b748922fc47be5c746798673940b /drivers/gpu/drm/radeon/evergreen.c
parentdrm/amdgpu/gfx9: fix ngg enablement to clear gds reserved memory (v2) (diff)
downloadlinux-8159e509203c50d0684483b4311b20e5d40553e8.tar.xz
linux-8159e509203c50d0684483b4311b20e5d40553e8.zip
drm/radeon: fill in rb backend map on evergreen/ni.
This looks to have never gotten filled in, and it seems to trigger a bug in mesa. Reviewed-by: Roland Scheidegger <sroland@vmware.com> Reported-by: Roland Scheidegger <sroland@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/evergreen.c')
-rw-r--r--drivers/gpu/drm/radeon/evergreen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c
index 24fe66c89dfb..5712d63dca20 100644
--- a/drivers/gpu/drm/radeon/evergreen.c
+++ b/drivers/gpu/drm/radeon/evergreen.c
@@ -3513,6 +3513,7 @@ static void evergreen_gpu_init(struct radeon_device *rdev)
tmp = r6xx_remap_render_backend(rdev, tmp, rdev->config.evergreen.max_backends,
EVERGREEN_MAX_BACKENDS, disabled_rb_mask);
}
+ rdev->config.evergreen.backend_map = tmp;
WREG32(GB_BACKEND_MAP, tmp);
WREG32(CGTS_SYS_TCC_DISABLE, 0);