dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] Cleanup drm_dp_mst_topology_cbs hooks
@ 2020-03-07  8:30 Pankaj Bharadiya
  2020-03-07  8:30 ` [PATCH 1/5] drm: Register connector instead of calling register_connector callback Pankaj Bharadiya
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Pankaj Bharadiya @ 2020-03-07  8:30 UTC (permalink / raw)
  To: emil.velikov, lyude, jani.nikula, daniel, intel-gfx, dri-devel
  Cc: pankaj.laxminarayan.bharadiya

drm_dp_mst_topology_mgr_cbs.register_connector callbacks are identical
amongst every driver and don't do anything other than calling
drm_connector_register().
drm_dp_mst_topology_mgr_cbs.destroy_connector callbacks are identical
amongst every driver and don't do anything other than cleaning up the
connector((drm_connector_unregister()/drm_connector_put())) except for
amdgpu_dm driver where some amdgpu_dm specific code in there.

This series aims to cleaup these drm_dp_mst_topology_mgr_cbs hooks. 

Pankaj Bharadiya (5):
  drm: Register connector instead of calling register_connector callback
  drm: Remove dp mst register connector callbacks
  drm/dp_mst: Remove register_connector callback
  drm: Add drm_dp_destroy_connector helper and use it
  drm: Remove drm dp mst destroy_connector callbacks

 .../display/amdgpu_dm/amdgpu_dm_mst_types.c   |  6 ------
 drivers/gpu/drm/drm_dp_mst_topology.c         | 18 +++++++++++++++---
 drivers/gpu/drm/i915/display/intel_dp_mst.c   | 16 ----------------
 drivers/gpu/drm/nouveau/dispnv50/disp.c       | 19 -------------------
 drivers/gpu/drm/radeon/radeon_dp_mst.c        | 17 -----------------
 include/drm/drm_dp_mst_helper.h               |  1 -
 6 files changed, 15 insertions(+), 62 deletions(-)

-- 
2.20.1

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

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

end of thread, other threads:[~2020-03-11 17:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-07  8:30 [PATCH 0/5] Cleanup drm_dp_mst_topology_cbs hooks Pankaj Bharadiya
2020-03-07  8:30 ` [PATCH 1/5] drm: Register connector instead of calling register_connector callback Pankaj Bharadiya
2020-03-07  8:30 ` [PATCH 2/5] drm: Remove dp mst register connector callbacks Pankaj Bharadiya
2020-03-07  8:30 ` [PATCH 3/5] drm/dp_mst: Remove register_connector callback Pankaj Bharadiya
2020-03-07  8:30 ` [PATCH 4/5] drm: Add drm_dp_destroy_connector helper and use it Pankaj Bharadiya
2020-03-07  8:30 ` [PATCH 5/5] drm: Remove drm dp mst destroy_connector callbacks Pankaj Bharadiya
2020-03-09 20:27 ` [PATCH 0/5] Cleanup drm_dp_mst_topology_cbs hooks Lyude Paul
2020-03-09 20:37   ` Alex Deucher
2020-03-11 17:45   ` Emil Velikov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).