drm/sched: Rename to drm_sched_can_queue()
authorLuben Tuikov <luben.tuikov@amd.com>
Wed, 17 May 2023 23:35:49 +0000 (19:35 -0400)
committerLuben Tuikov <luben.tuikov@amd.com>
Fri, 19 May 2023 16:03:38 +0000 (12:03 -0400)
commite072700869dd96405a9c3752d3741a79bca6e2e2
tree558d728adafa7066c391bf2a9eef598f05abec47
parent20d54e48d9c705091a025afff5839da2ea606f6b
drm/sched: Rename to drm_sched_can_queue()

Rename drm_sched_ready() to drm_sched_can_queue(). "ready" can mean many
things and is thus meaningless in this context. Instead, rename to a name
which precisely conveys what is being checked.

Cc: Christian König <christian.koenig@amd.com>
Cc: Alex Deucher <Alexander.Deucher@amd.com>
Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>
Reviewed-by: Alex Deucher <Alexander.Deucher@amd.com>
Link: https://lore.kernel.org/r/20230517233550.377847-1-luben.tuikov@amd.com
drivers/gpu/drm/scheduler/sched_main.c