]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amdgpu/mes12: use the device value for enforce isolation
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 8 Apr 2025 14:47:24 +0000 (10:47 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Apr 2025 20:58:12 +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_v12_0.c

index 8892858cfd9ae10016fbb4ce1eb5bb7232825bef..be43e19b7b7faed329e9fc009f82f992a9f5cf35 100644 (file)
@@ -762,7 +762,7 @@ static int mes_v12_0_set_hw_resources(struct amdgpu_mes *mes, int pipe)
                                pipe * (AMDGPU_MES_LOG_BUFFER_SIZE + AMDGPU_MES_MSCRATCH_SIZE);
        }
 
-       if (enforce_isolation)
+       if (adev->enforce_isolation[0])
                mes_set_hw_res_pkt.limit_single_process = 1;
 
        return mes_v12_0_submit_pkt_and_poll_completion(mes, pipe,