From: Xiaojie Yuan Date: Fri, 21 Jun 2019 16:14:37 +0000 (-0500) Subject: drm/amdgpu/gfx10: drop redundant se/sh selection X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=ec171a93020206027a2dba32c4f1e22314439c49;p=android-x86%2Fkernel.git drm/amdgpu/gfx10: drop redundant se/sh selection we already selected se/sh at the beginning of the for loop Signed-off-by: Xiaojie Yuan Reviewed-by: Jack Xiao Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c index 22b168d757c9..01b3f4ae6aaa 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c @@ -1448,7 +1448,6 @@ static void gfx_v10_0_tcp_harvest(struct amdgpu_device *adev) } } - gfx_v10_0_select_se_sh(adev, i, j, 0xffffffff); tmp = RREG32_SOC15(GC, 0, mmUTCL1_UTCL0_INVREQ_DISABLE); /* only override TCP & SQC bits */ tmp &= 0xffffffff << (4 * max_wgp_per_sh);