Commit ec171a93 authored by Xiaojie Yuan's avatar Xiaojie Yuan Committed by Alex Deucher

drm/amdgpu/gfx10: drop redundant se/sh selection

we already selected se/sh at the beginning of the for loop
Signed-off-by: default avatarXiaojie Yuan <xiaojie.yuan@amd.com>
Reviewed-by: default avatarJack Xiao <Jack.Xiao@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 77657ad1
...@@ -1448,7 +1448,6 @@ static void gfx_v10_0_tcp_harvest(struct amdgpu_device *adev) ...@@ -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); tmp = RREG32_SOC15(GC, 0, mmUTCL1_UTCL0_INVREQ_DISABLE);
/* only override TCP & SQC bits */ /* only override TCP & SQC bits */
tmp &= 0xffffffff << (4 * max_wgp_per_sh); tmp &= 0xffffffff << (4 * max_wgp_per_sh);
......
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