aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorLuben Tuikov <[email protected]>2023-10-17 02:48:56 +0000
committerLuben Tuikov <[email protected]>2023-10-18 00:35:38 +0000
commitfa8391ad68c16716e2c06ada397e99ceed2fb647 (patch)
tree2312210be5b76960e7a7ccc674153fae3f1e7899 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentdrm/amdgpu: Unset context priority is now invalid (diff)
downloadkernel-fa8391ad68c16716e2c06ada397e99ceed2fb647.tar.gz
kernel-fa8391ad68c16716e2c06ada397e99ceed2fb647.zip
gpu/drm: Eliminate DRM_SCHED_PRIORITY_UNSET
Eliminate DRM_SCHED_PRIORITY_UNSET, value of -2, whose only user was amdgpu. Furthermore, eliminate an index bug, in that when amdgpu boots, it calls drm_sched_entity_init() with DRM_SCHED_PRIORITY_UNSET, which uses it to index sched->sched_rq[]. Cc: Alex Deucher <[email protected]> Cc: Christian König <[email protected]> Signed-off-by: Luben Tuikov <[email protected]> Acked-by: Alex Deucher <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions