linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] drm/msm: dsi: Properly handle disconnected secondary dsi block
@ 2018-07-30 15:26 Sean Paul
       [not found] ` <20180730152658.157098-1-seanpaul-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Sean Paul @ 2018-07-30 15:26 UTC (permalink / raw)
  To: robdclark-Re5JQEeQqe8AvxtiuMwx3w,
	freedreno-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	linux-arm-msm-u79uwXL29TY76Z2rM5mHXA
  Cc: Sean Paul, dianders-F7+t8E8rja9g9hUCZPvPmw

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

_______________________________________________
Freedreno mailing list
Freedreno@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/freedreno

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

end of thread, other threads:[~2018-07-30 22:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-30 15:26 [PATCH 0/3] drm/msm: dsi: Properly handle disconnected secondary dsi block Sean Paul
     [not found] ` <20180730152658.157098-1-seanpaul-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2018-07-30 15:26   ` [PATCH 1/3] drm/msm: dsi: Initialize msm_dsi->id to -1 Sean Paul
     [not found]     ` <20180730152658.157098-2-seanpaul-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2018-07-30 22:29       ` abhinavk-sgV2jX0FEOL9JmXXK+q4OQ
2018-07-30 15:26   ` [PATCH 2/3] drm/msm: dsi: Return errors whan dt parsing fails Sean Paul
     [not found]     ` <20180730152658.157098-3-seanpaul-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2018-07-30 22:30       ` abhinavk-sgV2jX0FEOL9JmXXK+q4OQ
2018-07-30 15:26   ` [PATCH 3/3] drm/msm: Don't fail bind if nothing connected to dsi Sean Paul
     [not found]     ` <20180730152658.157098-4-seanpaul-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2018-07-30 22:30       ` abhinavk-sgV2jX0FEOL9JmXXK+q4OQ

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).