Skip to content

Commit

Permalink
Merge tag 'drm-intel-fixes-2020-09-10' of git://anongit.freedesktop.o…
Browse files Browse the repository at this point in the history
…rg/drm/drm-intel into drm-fixes

drm/i915 fixes for v5.9-rc5:
- Fix regression leading to audio probe failure

Signed-off-by: Dave Airlie <[email protected]>
From: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
  • Loading branch information
airlied committed Sep 10, 2020
2 parents f9c88aa + 0c4c801 commit 7bf23bf
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions drivers/gpu/drm/i915/display/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -14956,12 +14956,6 @@ static int intel_atomic_check(struct drm_device *dev,
if (dev_priv->wm.distrust_bios_wm)
any_ms = true;

if (any_ms) {
ret = intel_modeset_checks(state);
if (ret)
goto fail;
}

intel_fbc_choose_crtc(dev_priv, state);
ret = calc_watermark_data(state);
if (ret)
Expand All @@ -14976,6 +14970,10 @@ static int intel_atomic_check(struct drm_device *dev,
goto fail;

if (any_ms) {
ret = intel_modeset_checks(state);
if (ret)
goto fail;

ret = intel_modeset_calc_cdclk(state);
if (ret)
return ret;
Expand Down

0 comments on commit 7bf23bf

Please sign in to comment.