]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu/gfx: only call mes for enforce isolation if supported
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 13 Feb 2025 18:37:01 +0000 (13:37 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Feb 2025 17:22:56 +0000 (12:22 -0500)
commite7ea88207cef513514e706aacc534527ac88b9b8
tree02778103f2375190a3e0c13fd511f04d0f25ceee
parent8005351c7d53c31fb7eb5a423da7ab4bc3ad7639
drm/amdgpu/gfx: only call mes for enforce isolation if supported

This should not be called on chips without MES so check if
MES is enabled and if the cleaner shader is supported.

Fixes: 8521e3c5f058 ("drm/amd/amdgpu: limit single process inside MES")
Reviewed-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: Shaoyun Liu <shaoyun.liu@amd.com>
Cc: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
(cherry picked from commit 80513e389765c8f9543b26d8fa4bbdf0e59ff8bc)
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c