提交 ec171a93 编写于 作者: X Xiaojie Yuan 提交者: 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: NXiaojie Yuan <xiaojie.yuan@amd.com>
Reviewed-by: NJack Xiao <Jack.Xiao@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 77657ad1
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册