Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
* [PATCH RESEND 0/5] drm/msm: cleanup private obj handling
@ 2023-12-03  0:05 Dmitry Baryshkov
  2023-12-03  0:05 ` [PATCH RESEND 1/5] drm/atomic: add private obj state to state dump Dmitry Baryshkov
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Dmitry Baryshkov @ 2023-12-03  0:05 UTC (permalink / raw)
  To: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
	Daniel Vetter
  Cc: Rob Clark, Abhinav Kumar, dri-devel, freedreno, linux-arm-msm

Note: I'm resending this patch series as I haven't got any feedback from
the drm core maintainers to the first patch.

While debugging one of the features in DRM/MSM I noticed that MSM
subdrivers still wrap private object access with manual modeset locking.
Since commit b962a12050a3 ("drm/atomic: integrate modeset lock with
private objects") this is no longer required, as the DRM framework
handles private objects internally. Drop these custom locks, while also
cleaning up the surrounding code.

Dmitry Baryshkov (5):
  drm/atomic: add private obj state to state dump
  drm/msm/dpu: finalise global state object
  drm/msm/dpu: drop global_state_lock
  drm/msm/mdp5: migrate SMP dumping to using atomic_print_state
  drm/msm/mdp5: drop global_state_lock

 drivers/gpu/drm/drm_atomic.c             |  9 ++++
 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c  | 14 +++---
 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h  |  1 -
 drivers/gpu/drm/msm/disp/mdp5/mdp5_irq.c |  2 -
 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c | 54 +++++-------------------
 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.h |  1 -
 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c | 12 +-----
 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.h |  4 +-
 8 files changed, 31 insertions(+), 66 deletions(-)

-- 
2.39.2


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

end of thread, other threads:[~2024-02-19 12:30 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-03  0:05 [PATCH RESEND 0/5] drm/msm: cleanup private obj handling Dmitry Baryshkov
2023-12-03  0:05 ` [PATCH RESEND 1/5] drm/atomic: add private obj state to state dump Dmitry Baryshkov
2023-12-04  8:49   ` Maxime Ripard
2023-12-03  0:05 ` [PATCH RESEND 2/5] drm/msm/dpu: finalise global state object Dmitry Baryshkov
2024-02-09 19:57   ` Abhinav Kumar
2023-12-03  0:05 ` [PATCH RESEND 3/5] drm/msm/dpu: drop global_state_lock Dmitry Baryshkov
2024-02-09 22:28   ` Abhinav Kumar
2023-12-03  0:05 ` [PATCH RESEND 4/5] drm/msm/mdp5: migrate SMP dumping to using atomic_print_state Dmitry Baryshkov
2024-02-09 22:34   ` Abhinav Kumar
2023-12-03  0:05 ` [PATCH RESEND 5/5] drm/msm/mdp5: drop global_state_lock Dmitry Baryshkov
2024-02-09 23:01   ` Abhinav Kumar
2024-02-19 12:30 ` [PATCH RESEND 0/5] drm/msm: cleanup private obj handling Dmitry Baryshkov

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