mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 03:23:53 -04:00
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 <christian.koenig@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
575ec9b0c2
commit
68071eb0ae
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user