All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] drm/sched: Create wrapper to add a syncobj dependency to job
@ 2023-02-08 19:48 Maíra Canal
  2023-02-08 19:48 ` [PATCH 1/5] " Maíra Canal
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Maíra Canal @ 2023-02-08 19:48 UTC (permalink / raw)
  To: Luben Tuikov, David Airlie, Daniel Vetter, Sumit Semwal,
	Christian König, Qiang Yu, Abhinav Kumar, Dmitry Baryshkov,
	Sean Paul, Rob Clark, Rob Herring, Tomeu Vizoso, Steven Price,
	Alyssa Rosenzweig, Melissa Wen
  Cc: Maíra Canal, dri-devel

Some drivers perform the same operation to add a syncobj's fence to the sched
as a dependency: first, call drm_syncobj_find_fence() to find the fence and
then, call drm_sched_job_add_dependency(). Therefore, create a wrapper to
encapsulate those steps in one single function.

The first patch creates the wrapper for the operation and the following
patches make the drivers use the new function drm_sched_job_add_syncobj_dependency().

Best Regards,
- Maíra Canal

Maíra Canal (5):
  drm/sched: Create wrapper to add a syncobj dependency to job
  drm/lima: Use drm_sched_job_add_syncobj_dependency()
  drm/msm: Use drm_sched_job_add_syncobj_dependency()
  drm/panfrost: Use drm_sched_job_add_syncobj_dependency()
  drm/v3d: Use drm_sched_job_add_syncobj_dependency()

 drivers/gpu/drm/lima/lima_gem.c         | 12 ++--------
 drivers/gpu/drm/msm/msm_gem_submit.c    |  8 ++-----
 drivers/gpu/drm/panfrost/panfrost_drv.c | 11 ++--------
 drivers/gpu/drm/scheduler/sched_main.c  | 29 +++++++++++++++++++++++++
 drivers/gpu/drm/v3d/v3d_gem.c           |  9 +-------
 include/drm/gpu_scheduler.h             |  6 +++++
 6 files changed, 42 insertions(+), 33 deletions(-)

-- 
2.39.1


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

end of thread, other threads:[~2023-02-09 12:45 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-08 19:48 [PATCH 0/5] drm/sched: Create wrapper to add a syncobj dependency to job Maíra Canal
2023-02-08 19:48 ` [PATCH 1/5] " Maíra Canal
2023-02-08 19:54   ` Christian König
2023-02-08 22:20     ` Luben Tuikov
2023-02-09  6:54       ` Christian König
2023-02-08 22:36   ` Luben Tuikov
2023-02-08 19:48 ` [PATCH 2/5] drm/lima: Use drm_sched_job_add_syncobj_dependency() Maíra Canal
2023-02-08 19:48 ` [PATCH 3/5] drm/msm: " Maíra Canal
2023-02-08 19:48 ` [PATCH 4/5] drm/panfrost: " Maíra Canal
2023-02-08 20:12   ` Alyssa Rosenzweig
2023-02-08 19:48 ` [PATCH 5/5] drm/v3d: " Maíra Canal
2023-02-09 11:27   ` Melissa Wen
2023-02-09 12:08     ` Christian König
2023-02-09 12:36       ` Melissa Wen
2023-02-09 12:45         ` Christian König

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.