aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2025-04-08 14:45:52 +0000
committerAlex Deucher <[email protected]>2025-04-11 20:58:04 +0000
commita7bb01337fcededd05ef9b6e08e64d2ac7d65724 (patch)
tree2713dedd3bbf29cac9e88de4690d7a527e4beb75 /drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
parentdrm/amdgpu: Add back JPEG to video caps for carrizo and newer (diff)
downloadkernel-a7bb01337fcededd05ef9b6e08e64d2ac7d65724.tar.gz
kernel-a7bb01337fcededd05ef9b6e08e64d2ac7d65724.zip
drm/amdgpu/mes11: use the device value for enforce isolation
Use the local setting rather than the global parameter. Acked-by: Srinivasan Shanmugam <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mes_v11_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/mes_v11_0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c b/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
index 06b51867c9aa..344d32268c3c 100644
--- a/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
@@ -724,7 +724,7 @@ static int mes_v11_0_set_hw_resources(struct amdgpu_mes *mes)
mes->event_log_gpu_addr;
}
- if (enforce_isolation)
+ if (adev->enforce_isolation[0])
mes_set_hw_res_pkt.limit_single_process = 1;
return mes_v11_0_submit_pkt_and_poll_completion(mes,