gpu/drm: ring_mirror_list --> pending_list
authorLuben Tuikov <luben.tuikov@amd.com>
Fri, 4 Dec 2020 03:17:19 +0000 (22:17 -0500)
committerChristian König <christian.koenig@amd.com>
Tue, 8 Dec 2020 13:38:03 +0000 (14:38 +0100)
commit6efa4b465cfdaa9be251ba043253e302ddb9976f
treea3872dddf00e545ff63bf09af9b347f3c12c3472
parent8935ff00e3b110e47e3a291ff11951eb1066b1ae
gpu/drm: ring_mirror_list --> pending_list

Rename "ring_mirror_list" to "pending_list",
to describe what something is, not what it does,
how it's used, or how the hardware implements it.

This also abstracts the actual hardware
implementation, i.e. how the low-level driver
communicates with the device it drives, ring, CAM,
etc., shouldn't be exposed to DRM.

The pending_list keeps jobs submitted, which are
out of our control. Usually this means they are
pending execution status in hardware, but the
latter definition is a more general (inclusive)
definition.

Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/405573/
Cc: Alexander Deucher <Alexander.Deucher@amd.com>
Cc: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
drivers/gpu/drm/scheduler/sched_main.c
include/drm/gpu_scheduler.h