All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Add callbacks for late registering
@ 2016-06-20 15:22 Benjamin Gaignard
  2016-06-20 15:22 ` [PATCH 1/3] drm: " Benjamin Gaignard
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Benjamin Gaignard @ 2016-06-20 15:22 UTC (permalink / raw)
  To: dri-devel, vincent.abriou, fabien.dessenne

late_register() and early_unregister() callbacks have been introduced
for connectors, let do the same for encoders, crcts and planes.
Like for the previously introduced functions they are called
right after drm device registration and before unregistration.

Those new callbacks allow to defer actions after drm_dev_register().
For example sti driver use them to initialize debugfs because it
require to have register a drm device to get the root debug file.

Benjamin Gaignard (3):
  drm: Add callbacks for late registering
  drm: sti: use late_register and early_unregister callbacks
  drm: sti: rework init sequence

 drivers/gpu/drm/drm_drv.c            |  42 +++++++++++
 drivers/gpu/drm/sti/sti_compositor.c |  20 +++++
 drivers/gpu/drm/sti/sti_compositor.h |   3 +
 drivers/gpu/drm/sti/sti_crtc.c       |  12 +++
 drivers/gpu/drm/sti/sti_cursor.c     |  32 +++++++-
 drivers/gpu/drm/sti/sti_drv.c        | 140 +++++++++++++++++++++++++----------
 drivers/gpu/drm/sti/sti_drv.h        |   1 +
 drivers/gpu/drm/sti/sti_dvo.c        |  25 +++----
 drivers/gpu/drm/sti/sti_gdp.c        |  32 +++++++-
 drivers/gpu/drm/sti/sti_hda.c        |  26 +++----
 drivers/gpu/drm/sti/sti_hdmi.c       |  40 +++++-----
 drivers/gpu/drm/sti/sti_hqvdp.c      |  32 +++++++-
 drivers/gpu/drm/sti/sti_mixer.c      |   5 +-
 drivers/gpu/drm/sti/sti_mixer.h      |   2 +
 drivers/gpu/drm/sti/sti_plane.c      |  24 +-----
 drivers/gpu/drm/sti/sti_plane.h      |   7 +-
 drivers/gpu/drm/sti/sti_tvout.c      |  36 +++++++--
 drivers/gpu/drm/sti/sti_vid.c        |   5 +-
 drivers/gpu/drm/sti/sti_vid.h        |   2 +
 include/drm/drm_crtc.h               |  77 +++++++++++++++++++
 20 files changed, 420 insertions(+), 143 deletions(-)

-- 
1.9.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2016-06-20 17:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-20 15:22 [PATCH 0/3] Add callbacks for late registering Benjamin Gaignard
2016-06-20 15:22 ` [PATCH 1/3] drm: " Benjamin Gaignard
2016-06-20 15:30   ` Chris Wilson
2016-06-20 15:54     ` Ville Syrjälä
2016-06-20 15:22 ` [PATCH 2/3] drm: sti: use late_register and early_unregister callbacks Benjamin Gaignard
2016-06-20 15:22 ` [PATCH 3/3] drm: sti: rework init sequence Benjamin Gaignard
2016-06-20 15:38   ` Chris Wilson
2016-06-20 17:40   ` Emil Velikov

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.