AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/6] DRM_SET_NAME ioctl
@ 2024-09-20  9:06 Pierre-Eric Pelloux-Prayer
  2024-09-20  9:06 ` [PATCH v3 1/6] drm: add " Pierre-Eric Pelloux-Prayer
                   ` (5 more replies)
  0 siblings, 6 replies; 23+ messages in thread
From: Pierre-Eric Pelloux-Prayer @ 2024-09-20  9:06 UTC (permalink / raw)
  To: dri-devel, christian.koenig, tursulin, simona.vetter, robdclark,
	alexander.deucher, amd-gfx
  Cc: Pierre-Eric Pelloux-Prayer

v3 changelog:
* Added DRM_NAME_MAX_LEN instead of using NAME_MAX
* Fixed Tvrtko & Christian comments on patch 1
* Added R-b tags to patch 2
* Following Christian' suggestion patch 3 became 4 patches:
   - amdgpu_task_info::process_name is now a flexible array
   - amdgpu_vm::task_info is allocated on first submit
   - amdgpu_task_info::process_name was renamed process_desc,
     and includes drm_file::name when set. Like task_info
     allocation this is done only once.

Pierre-Eric Pelloux-Prayer (6):
  drm: add DRM_SET_NAME ioctl
  drm: use drm_file name in fdinfo
  drm/amdgpu: delay the use of amdgpu_vm_set_task_info
  drm/amdgpu: alloc and init vm::task_info from first submit
  drm/amdgpu: make process_name a flexible array
  drm/amdgpu: use drm_file::name in task_info::process_desc

 Documentation/gpu/drm-usage-stats.rst         |  5 ++
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h    |  1 +
 .../gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c  |  3 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c        |  6 +--
 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c   |  2 +-
 .../gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c  |  4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_job.c       |  2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c        | 48 +++++++++++++++----
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h        |  4 +-
 drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c        |  2 +-
 drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c        |  2 +-
 drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c        |  2 +-
 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c         |  2 +-
 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c         |  2 +-
 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c        |  2 +-
 drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c      |  2 +-
 drivers/gpu/drm/amd/amdkfd/kfd_events.c       |  2 +-
 drivers/gpu/drm/amd/amdkfd/kfd_process.c      |  3 ++
 drivers/gpu/drm/drm_debugfs.c                 | 12 +++--
 drivers/gpu/drm/drm_file.c                    | 10 ++++
 drivers/gpu/drm/drm_ioctl.c                   | 48 +++++++++++++++++++
 include/drm/drm_file.h                        |  9 ++++
 include/uapi/drm/drm.h                        | 17 +++++++
 23 files changed, 159 insertions(+), 31 deletions(-)

-- 
2.40.1


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2024-09-25  7:14 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-20  9:06 [PATCH v3 0/6] DRM_SET_NAME ioctl Pierre-Eric Pelloux-Prayer
2024-09-20  9:06 ` [PATCH v3 1/6] drm: add " Pierre-Eric Pelloux-Prayer
2024-09-23 10:06   ` Tvrtko Ursulin
2024-09-24  8:22     ` Pierre-Eric Pelloux-Prayer
2024-09-24  8:38       ` Tvrtko Ursulin
2024-09-23 10:28   ` Dmitry Osipenko
2024-09-23 11:03     ` Dmitry Osipenko
2024-09-23 16:29     ` Pierre-Eric Pelloux-Prayer
2024-09-23 18:09       ` Dmitry Osipenko
2024-09-23 18:18         ` Dmitry Osipenko
2024-09-24 23:28           ` Dmitry Osipenko
2024-09-20  9:06 ` [PATCH v3 2/6] drm: use drm_file name in fdinfo Pierre-Eric Pelloux-Prayer
2024-09-20  9:06 ` [PATCH v3 3/6] drm/amdgpu: delay the use of amdgpu_vm_set_task_info Pierre-Eric Pelloux-Prayer
2024-09-23 10:25   ` Tvrtko Ursulin
2024-09-24  8:23     ` Christian König
2024-09-24  8:43       ` Tvrtko Ursulin
2024-09-24 10:01         ` Pierre-Eric Pelloux-Prayer
2024-09-20  9:06 ` [PATCH v3 4/6] drm/amdgpu: alloc and init vm::task_info from first submit Pierre-Eric Pelloux-Prayer
2024-09-23 10:58   ` Tvrtko Ursulin
2024-09-24  7:21     ` Pierre-Eric Pelloux-Prayer
2024-09-20  9:06 ` [PATCH v3 5/6] drm/amdgpu: make process_name a flexible array Pierre-Eric Pelloux-Prayer
2024-09-20  9:06 ` [PATCH v3 6/6] drm/amdgpu: use drm_file::name in task_info::process_desc Pierre-Eric Pelloux-Prayer
2024-09-20 12:08   ` Christian König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox