diff options
author | Dave Airlie <airlied@redhat.com> | 2018-01-09 04:43:03 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-01-16 21:35:28 +0100 |
commit | 8159e509203c50d0684483b4311b20e5d40553e8 (patch) | |
tree | 356a6fee5895b748922fc47be5c746798673940b /drivers/gpu/drm/radeon/ni.c | |
parent | drm/amdgpu/gfx9: fix ngg enablement to clear gds reserved memory (v2) (diff) | |
download | linux-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/ni.c')
-rw-r--r-- | drivers/gpu/drm/radeon/ni.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/ni.c b/drivers/gpu/drm/radeon/ni.c index 9eccd0c81d88..381b0255ff02 100644 --- a/drivers/gpu/drm/radeon/ni.c +++ b/drivers/gpu/drm/radeon/ni.c @@ -1148,6 +1148,7 @@ static void cayman_gpu_init(struct radeon_device *rdev) rdev->config.cayman.max_shader_engines, CAYMAN_MAX_BACKENDS, disabled_rb_mask); } + rdev->config.cayman.backend_map = tmp; WREG32(GB_BACKEND_MAP, tmp); cgts_tcc_disable = 0xffff0000; |