Skip to content

Commit

Permalink
drm/i915: don't always do full mode sets when infoframes are enabled
Browse files Browse the repository at this point in the history
Partial revert of

commit 2066459
Author: Jesse Barnes <[email protected]>
Date:   Wed Nov 5 14:26:09 2014 -0800

    drm/i915: check for audio and infoframe changes across mode sets v2

References: https://bugs.freedesktop.org/show_bug.cgi?id=86683
Signed-off-by: Jesse Barnes <[email protected]>
Tested-by: Li Xu <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
  • Loading branch information
jbarnes993 authored and jnikula committed Dec 5, 2014
1 parent 00f0b37 commit af15d2c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -11583,10 +11583,12 @@ static int intel_crtc_set_config(struct drm_mode_set *set)
to_intel_crtc(set->crtc)->config.has_audio)
config->mode_changed = true;

/* Force mode sets for any infoframe stuff */
if (pipe_config->has_infoframe ||
to_intel_crtc(set->crtc)->config.has_infoframe)
config->mode_changed = true;
/*
* Note we have an issue here with infoframes: current code
* only updates them on the full mode set path per hw
* requirements. So here we should be checking for any
* required changes and forcing a mode set.
*/
}

/* set_mode will free it in the mode_changed case */
Expand Down

0 comments on commit af15d2c

Please sign in to comment.