[Intel-gfx] [PATCH 1/3] drm/i915/dp: Fail DP MST config when there are not enough vcpi slots

2016-11-21 Thread Daniel Vetter
On Sat, Nov 19, 2016 at 12:04:32AM +, Pandiyan, Dhinakaran wrote: > On Fri, 2016-11-18 at 09:43 +0100, Daniel Vetter wrote: > > On Thu, Nov 17, 2016 at 06:03:46PM -0800, Dhinakaran Pandiyan wrote: > > > drm_dp_find_vcpi_slots() returns an error when there is not enough > > > available

[Intel-gfx] [PATCH 1/3] drm/i915/dp: Fail DP MST config when there are not enough vcpi slots

2016-11-19 Thread Pandiyan, Dhinakaran
On Fri, 2016-11-18 at 09:43 +0100, Daniel Vetter wrote: > On Thu, Nov 17, 2016 at 06:03:46PM -0800, Dhinakaran Pandiyan wrote: > > drm_dp_find_vcpi_slots() returns an error when there is not enough > > available bandwidth on a link to support a mode. This error should make > > compute_config() to

[PATCH 1/3] drm/i915/dp: Fail DP MST config when there are not enough vcpi slots

2016-11-18 Thread Daniel Vetter
On Fri, Nov 18, 2016 at 9:43 AM, Daniel Vetter wrote: > On Thu, Nov 17, 2016 at 06:03:46PM -0800, Dhinakaran Pandiyan wrote: >> drm_dp_find_vcpi_slots() returns an error when there is not enough >> available bandwidth on a link to support a mode. This error should make >> compute_config() to

[PATCH 1/3] drm/i915/dp: Fail DP MST config when there are not enough vcpi slots

2016-11-18 Thread Daniel Vetter
On Thu, Nov 17, 2016 at 06:03:46PM -0800, Dhinakaran Pandiyan wrote: > drm_dp_find_vcpi_slots() returns an error when there is not enough > available bandwidth on a link to support a mode. This error should make > compute_config() to fail. Not returning false could end up in a modeset > which will

[PATCH 1/3] drm/i915/dp: Fail DP MST config when there are not enough vcpi slots

2016-11-17 Thread Dhinakaran Pandiyan
drm_dp_find_vcpi_slots() returns an error when there is not enough available bandwidth on a link to support a mode. This error should make compute_config() to fail. Not returning false could end up in a modeset which will not work. Signed-off-by: Dhinakaran Pandiyan ---