2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-03 19:24:02 +08:00

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 <xiaojie.yuan@amd.com>
Reviewed-by: Jack Xiao <Jack.Xiao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Xiaojie Yuan 2019-06-21 11:14:37 -05:00 committed by Alex Deucher
parent 77657ad1ec
commit ec171a9302

View File

@ -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);