[PATCH 0/4] Unregister mst connectors when hotplug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



By patches below, we change to clean up resources of a mst connector
and put port's malloc_kref when we start to destroy a connector.
* 09b974e8983 drm/amd/amdgpu_dm/mst: Remove ->destroy_connector() callback
* 72dc0f51591 drm/dp_mst: Remove drm_dp_mst_topology_cbs.destroy_connector

However, find out that mst connectors won't reach connector destroy flow
after hot unplug and hence will cause no more resources for new added 
connectors. Thus, this patch set is trying to solve observed
registration/unregistration problem of mst connectors.

Wayne Lin (4):
  drm/dp_mst: Put malloc_kref of vcpi pointing port when disable MST
  drm/dp_mst: Only create connector for connected end device
  drm/dp_mst: Put connector of disconnected end device when handling CSN
  drm/dp_mst: Release disconnected connectors when resume

 drivers/gpu/drm/drm_dp_mst_topology.c | 39 ++++++++++++++++++++++++---
 1 file changed, 36 insertions(+), 3 deletions(-)

-- 
2.17.1




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux