All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Replace drm_modeset_*_all with DRM_MODESET_LOCK_ALL_*
@ 2021-04-19 15:03 ` Fabio M. De Francesco
  0 siblings, 0 replies; 10+ messages in thread
From: Fabio M. De Francesco @ 2021-04-19 15:03 UTC (permalink / raw)
  To: outreachy-kernel, dri-devel, Alex Deucher, Christian König,
	David Airlie, Daniel Vetter, Melissa Wen
  Cc: Fabio M. De Francesco

Replace the deprecated API with new helpers, according to the TODO list
of the DRM subsystem. The new API has been introduced with commit 
b7ea04d299c7: DRM_MODESET_LOCK_ALL_BEGIN() simplifies grabbing all modeset 
locks using a local context. This has the advantage of reducing boilerplate.

Changes from v1: Added further information to the commit message.

Fabio M. De Francesco (2):
  drm/amd/amdgpu/amdgpu_device.c: Replace drm_modeset_*_all with
    DRM_MODESET_LOCK_ALL_*
  drm/amd/amdgpu/amdgpu_drv.c: Replace drm_modeset_*_all with
    DRM_MODESET_LOCK_ALL_*

 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 18 ++++++++++++------
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c    |  6 ++++--
 2 files changed, 16 insertions(+), 8 deletions(-)

-- 
2.31.1



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

end of thread, other threads:[~2021-04-20 19:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-19 15:03 [PATCH v2 0/2] Replace drm_modeset_*_all with DRM_MODESET_LOCK_ALL_* Fabio M. De Francesco
2021-04-19 15:03 ` Fabio M. De Francesco
2021-04-19 15:03 ` [PATCH v2 1/2] drm/amd/amdgpu/amdgpu_device.c: " Fabio M. De Francesco
2021-04-19 15:03   ` Fabio M. De Francesco
2021-04-20 17:49   ` Daniel Vetter
2021-04-20 17:49     ` Daniel Vetter
2021-04-20 19:38     ` Fabio M. De Francesco
2021-04-20 19:38       ` Fabio M. De Francesco
2021-04-19 15:03 ` [PATCH v2 2/2] drm/amd/amdgpu/amdgpu_drv.c: " Fabio M. De Francesco
2021-04-19 15:03   ` Fabio M. De Francesco

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.