Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);
+1 −0
Original line number Diff line number Diff line
@@ -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;