Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amdgpu/mes11: drop amdgpu_mes_suspend()/amdgpu_mes_resume() calls

They are noops on GFX11 for most firmware versions. KFD already
handles its own queues and they should already be unmapped at this
point so even if this runs, it's not doing anything.

Reviewed-by: Shaoyun.liu <Shaoyun.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

+1 -13
+1 -13
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
··· 1674 1674 1675 1675 static int mes_v11_0_suspend(struct amdgpu_ip_block *ip_block) 1676 1676 { 1677 - int r; 1678 - 1679 - r = amdgpu_mes_suspend(ip_block->adev); 1680 - if (r) 1681 - return r; 1682 - 1683 1677 return mes_v11_0_hw_fini(ip_block); 1684 1678 } 1685 1679 1686 1680 static int mes_v11_0_resume(struct amdgpu_ip_block *ip_block) 1687 1681 { 1688 - int r; 1689 - 1690 - r = mes_v11_0_hw_init(ip_block); 1691 - if (r) 1692 - return r; 1693 - 1694 - return amdgpu_mes_resume(ip_block->adev); 1682 + return mes_v11_0_hw_init(ip_block); 1695 1683 } 1696 1684 1697 1685 static int mes_v11_0_early_init(struct amdgpu_ip_block *ip_block)