aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2025-02-14 17:32:30 +0000
committerAlex Deucher <[email protected]>2025-02-25 17:23:48 +0000
commit748a1f51bb74453f1fe22d3ca68a717cb31f02e5 (patch)
tree2f668b0a3045276abef641794202187b3638610d /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h
parentdrm/amdgpu/gfx: only call mes for enforce isolation if supported (diff)
downloadkernel-748a1f51bb74453f1fe22d3ca68a717cb31f02e5.tar.gz
kernel-748a1f51bb74453f1fe22d3ca68a717cb31f02e5.zip
drm/amdgpu/mes: keep enforce isolation up to date
Re-send the mes message on resume to make sure the mes state is up to date. Fixes: 8521e3c5f058 ("drm/amd/amdgpu: limit single process inside MES") Acked-by: Srinivasan Shanmugam <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: Shaoyun Liu <[email protected]> Cc: Srinivasan Shanmugam <[email protected]> Signed-off-by: Alex Deucher <[email protected]> (cherry picked from commit 27b791514789844e80da990c456c2465325e0851)
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h
index 2df2444ee892..e98ea7ede1ba 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h
@@ -534,6 +534,6 @@ static inline void amdgpu_mes_unlock(struct amdgpu_mes *mes)
bool amdgpu_mes_suspend_resume_all_supported(struct amdgpu_device *adev);
-int amdgpu_mes_set_enforce_isolation(struct amdgpu_device *adev, uint32_t node_id, bool enable);
+int amdgpu_mes_update_enforce_isolation(struct amdgpu_device *adev);
#endif /* __AMDGPU_MES_H__ */