Commit 8159e509 authored by Dave Airlie's avatar Dave Airlie Committed by Alex Deucher

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: default avatarRoland Scheidegger <sroland@vmware.com>
Reported-by: default avatarRoland Scheidegger <sroland@vmware.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent d33bba4d
...@@ -3513,6 +3513,7 @@ static void evergreen_gpu_init(struct radeon_device *rdev) ...@@ -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, tmp = r6xx_remap_render_backend(rdev, tmp, rdev->config.evergreen.max_backends,
EVERGREEN_MAX_BACKENDS, disabled_rb_mask); EVERGREEN_MAX_BACKENDS, disabled_rb_mask);
} }
rdev->config.evergreen.backend_map = tmp;
WREG32(GB_BACKEND_MAP, tmp); WREG32(GB_BACKEND_MAP, tmp);
WREG32(CGTS_SYS_TCC_DISABLE, 0); WREG32(CGTS_SYS_TCC_DISABLE, 0);
......
...@@ -1148,6 +1148,7 @@ static void cayman_gpu_init(struct radeon_device *rdev) ...@@ -1148,6 +1148,7 @@ static void cayman_gpu_init(struct radeon_device *rdev)
rdev->config.cayman.max_shader_engines, rdev->config.cayman.max_shader_engines,
CAYMAN_MAX_BACKENDS, disabled_rb_mask); CAYMAN_MAX_BACKENDS, disabled_rb_mask);
} }
rdev->config.cayman.backend_map = tmp;
WREG32(GB_BACKEND_MAP, tmp); WREG32(GB_BACKEND_MAP, tmp);
cgts_tcc_disable = 0xffff0000; cgts_tcc_disable = 0xffff0000;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment