drm/i915/skl: Propagate the error if we fail to find a suitable DPLL divider
authorDamien Lespiau <damien.lespiau@intel.com>
Thu, 7 May 2015 17:38:40 +0000 (18:38 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 29 May 2015 08:15:23 +0000 (10:15 +0200)
commit318bd821d65d37fb12c5673607e2b013f7a86a01
treea418946381c67157dc100a309f0f4c427773f4c7
parent19cdc0e6cdfc29e3ddee1fe56c3bcdfe25f6a916
drm/i915/skl: Propagate the error if we fail to find a suitable DPLL divider

At the moment, even if we fail to find a suitable divider, we'll still
try to set the mode with bogus parameters.

Just fail the modeset if we can't generate the frequency.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ddi.c