diff options
| author | Srinivasan Shanmugam <[email protected]> | 2025-04-28 10:46:34 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-05-05 17:29:53 +0000 |
| commit | 68071eb0ae64c076ed93897be644ebbd1c89a278 (patch) | |
| tree | 30abd8774044db94edd0de667f859aa4bfd0ca70 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | dma-fence: Add helper to sort and deduplicate dma_fence arrays (diff) | |
| download | kernel-68071eb0ae64c076ed93897be644ebbd1c89a278.tar.gz kernel-68071eb0ae64c076ed93897be644ebbd1c89a278.zip | |
drm/amdgpu: Add Support for enforcing isolation without Cleaner Shader
Adjusted the enforce isolation setting handling to include the ability
to disable the cleaner shader without affecting isolation between tasks.
v2: Updated enforce isolation documentation and parameters. (Alex)
Cc: Christian König <[email protected]>
Cc: Alex Deucher <[email protected]>
Signed-off-by: Srinivasan Shanmugam <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c index 0941b3495b2c..9ea0d9b71f48 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c @@ -310,6 +310,10 @@ static int amdgpu_cs_pass1(struct amdgpu_cs_parser *p, p->jobs[i]->enforce_isolation = true; p->jobs[i]->run_cleaner_shader = false; break; + case AMDGPU_ENFORCE_ISOLATION_NO_CLEANER_SHADER: + p->jobs[i]->enforce_isolation = true; + p->jobs[i]->run_cleaner_shader = false; + break; } } p->gang_leader = p->jobs[p->gang_leader_idx]; |
