File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
drivers/gpu/drm/amd/amdgpu Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -3016,14 +3016,15 @@ static int amdgpu_device_ip_suspend_phase2(struct amdgpu_device *adev)
3016
3016
continue ;
3017
3017
}
3018
3018
3019
- /* skip suspend of gfx and psp for S0ix
3019
+ /* skip suspend of gfx/mes and psp for S0ix
3020
3020
* gfx is in gfxoff state, so on resume it will exit gfxoff just
3021
3021
* like at runtime. PSP is also part of the always on hardware
3022
3022
* so no need to suspend it.
3023
3023
*/
3024
3024
if (adev -> in_s0ix &&
3025
3025
(adev -> ip_blocks [i ].version -> type == AMD_IP_BLOCK_TYPE_PSP ||
3026
- adev -> ip_blocks [i ].version -> type == AMD_IP_BLOCK_TYPE_GFX ))
3026
+ adev -> ip_blocks [i ].version -> type == AMD_IP_BLOCK_TYPE_GFX ||
3027
+ adev -> ip_blocks [i ].version -> type == AMD_IP_BLOCK_TYPE_MES ))
3027
3028
continue ;
3028
3029
3029
3030
/* XXX handle errors */
You can’t perform that action at this time.
0 commit comments