summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2016-12-22 16:04:42 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2017-01-19 17:34:48 +0200
commite96128235b0fbddff1228b37033077397dbd21d9 (patch)
treebc96b8c94e924e7ca063a0deaf6d22ea1bfe4ef1 /drivers
parenta8cd6da0c0d5b9dc7533f1d88098e9852dc2d5aa (diff)
downloadlinux-stable-e96128235b0fbddff1228b37033077397dbd21d9.tar.gz
linux-stable-e96128235b0fbddff1228b37033077397dbd21d9.tar.bz2
linux-stable-e96128235b0fbddff1228b37033077397dbd21d9.zip
drm/i915: Remove the double handling of 'flags from intel_mode_from_pipe_config()
We're trying to copy the flags from the adjusted mode to the passed in mode twice. Once is enough. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20161222140442.7204-2-ville.syrjala@linux.intel.com Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/i915/intel_display.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index f900e30e8d7a..0f4272f98648 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -8391,7 +8391,6 @@ void intel_mode_from_pipe_config(struct drm_display_mode *mode,
mode->type = DRM_MODE_TYPE_DRIVER;
mode->clock = pipe_config->base.adjusted_mode.crtc_clock;
- mode->flags |= pipe_config->base.adjusted_mode.flags;
mode->hsync = drm_mode_hsync(mode);
mode->vrefresh = drm_mode_vrefresh(mode);