drm/amdgpu/mes11: use the device value for enforce isolation
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 8 Apr 2025 14:45:52 +0000 (10:45 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Apr 2025 20:58:04 +0000 (16:58 -0400)
Use the local setting rather than the global parameter.

Acked-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c

index 06b51867c9aace5d837d528e3f5f6f8414a83ca0..344d32268c3cd888c9c14854142ac33b41653a2b 100644 (file)
@@ -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,