[Freedreno] [PATCH 0/3] drm/msm: dsi: Properly handle disconnected secondary dsi block

Sean Paul seanpaul at chromium.org
Mon Jul 30 15:26:52 UTC 2018


The configuration where dsi0 is connected and dsi1 is disconnected
doesn't work currently. When dsi1 fails, it paves the reference to dsi0
in dsi_manager, which causes mass carnage. This set ensures that we
clean up the correct dsi device, and that we fail gracefully if a device
is not connected to anything.

Sean


Sean Paul (3):
  drm/msm: dsi: Initialize msm_dsi->id to -1
  drm/msm: dsi: Return errors whan dt parsing fails
  drm/msm: Don't fail bind if nothing connected to dsi

 drivers/gpu/drm/msm/dsi/dsi.c         | 10 ++++++++--
 drivers/gpu/drm/msm/dsi/dsi_host.c    |  2 ++
 drivers/gpu/drm/msm/dsi/dsi_manager.c |  4 +++-
 3 files changed, 13 insertions(+), 3 deletions(-)

-- 
Sean Paul, Software Engineer, Google / Chromium OS



More information about the Freedreno mailing list