[PATCH v6 2/7] drm/sched: store the drm client_id in drm_sched_fence

Steven Price steven.price at arm.com
Fri Nov 15 12:23:11 UTC 2024


On 14/11/2024 10:01, Pierre-Eric Pelloux-Prayer wrote:
> This will be used in a later commit to trace the drm client_id in
> some of the gpu_scheduler trace events.
> 
> Signed-off-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c   |  2 +-
>  drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c       |  3 ++-
>  drivers/gpu/drm/amd/amdgpu/amdgpu_job.c      |  8 +++++---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_job.h      |  3 ++-
>  drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c |  2 +-
>  drivers/gpu/drm/imagination/pvr_job.c        |  2 +-
>  drivers/gpu/drm/imagination/pvr_queue.c      |  5 +++--
>  drivers/gpu/drm/imagination/pvr_queue.h      |  2 +-
>  drivers/gpu/drm/lima/lima_gem.c              |  2 +-
>  drivers/gpu/drm/lima/lima_sched.c            |  6 ++++--
>  drivers/gpu/drm/lima/lima_sched.h            |  3 ++-
>  drivers/gpu/drm/msm/msm_gem_submit.c         |  8 +++++---
>  drivers/gpu/drm/nouveau/nouveau_sched.c      |  3 ++-
>  drivers/gpu/drm/panfrost/panfrost_drv.c      |  2 +-
>  drivers/gpu/drm/scheduler/sched_fence.c      |  4 +++-
>  drivers/gpu/drm/scheduler/sched_main.c       |  6 ++++--
>  drivers/gpu/drm/v3d/v3d_submit.c             |  2 +-
>  drivers/gpu/drm/xe/xe_sched_job.c            |  3 ++-
>  include/drm/gpu_scheduler.h                  | 12 ++++++++++--
>  19 files changed, 51 insertions(+), 27 deletions(-)

panthor appears to be missing from this list and it has two calls to
drm_sched_job_init().

I haven't checked if there any others missing.

Steve



More information about the dri-devel mailing list