[PATCH] drm/analogix_dp: Ensure the panel is properly prepared/unprepared

2016-08-01 Thread Sean Paul
On Mon, Aug 1, 2016 at 4:20 PM, Sean Paul wrote: > On Sun, Jul 31, 2016 at 11:27 PM, Yakir Yang wrote: >> Sean, >> >> On 07/30/2016 03:16 AM, Sean Paul wrote: >>> >>> Instead of just preparing the panel on bind, actually prepare/unprepare >>> during modeset/disable. The panel must be prepared in

[PATCH] drm/analogix_dp: Ensure the panel is properly prepared/unprepared

2016-08-01 Thread Sean Paul
On Sun, Jul 31, 2016 at 11:27 PM, Yakir Yang wrote: > Sean, > > On 07/30/2016 03:16 AM, Sean Paul wrote: >> >> Instead of just preparing the panel on bind, actually prepare/unprepare >> during modeset/disable. The panel must be prepared in order to read hpd >> status, so we need to refcount the pr

[PATCH] drm/analogix_dp: Ensure the panel is properly prepared/unprepared

2016-08-01 Thread Yakir Yang
Sean, On 07/30/2016 03:16 AM, Sean Paul wrote: > Instead of just preparing the panel on bind, actually prepare/unprepare > during modeset/disable. The panel must be prepared in order to read hpd > status, so we need to refcount the prepares in order to ensure we don't > accidentally turn the panel

[PATCH] drm/analogix_dp: Ensure the panel is properly prepared/unprepared

2016-08-01 Thread Yakir Yang
Sean, On 07/30/2016 03:16 AM, Sean Paul wrote: > Instead of just preparing the panel on bind, actually prepare/unprepare > during modeset/disable. The panel must be prepared in order to read hpd > status, so we need to refcount the prepares in order to ensure we don't > accidentally turn the panel

[PATCH] drm/analogix_dp: Ensure the panel is properly prepared/unprepared

2016-07-29 Thread Sean Paul
Instead of just preparing the panel on bind, actually prepare/unprepare during modeset/disable. The panel must be prepared in order to read hpd status, so we need to refcount the prepares in order to ensure we don't accidentally turn the panel off at the wrong time. Signed-off-by: Sean Paul ---