mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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 <[email protected]> Reported-by: Roland Scheidegger <[email protected]> Signed-off-by: Dave Airlie <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
This commit is contained in:
parent
d33bba4d5d
commit
8159e50920
2 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue