projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee3d532
)
drm/i915/gen9: look for adjusted_mode in the SAGV check for interlaced
author
Paulo Zanoni
<paulo.r.zanoni@intel.com>
Mon, 10 Oct 2016 20:30:59 +0000
(17:30 -0300)
committer
Paulo Zanoni
<paulo.r.zanoni@intel.com>
Tue, 18 Oct 2016 12:41:21 +0000
(10:41 -0200)
We want to look at the mode that we're actually going to set. All the
other display checks for interlaced flags also look at adjusted_mode.
Cc: Lyude <cpaul@redhat.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Lyude <cpaul@redhat.com>
Link:
http://patchwork.freedesktop.org/patch/msgid/1476131459-23763-2-git-send-email-paulo.r.zanoni@intel.com
drivers/gpu/drm/i915/intel_pm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_pm.c
b/drivers/gpu/drm/i915/intel_pm.c
index
8b528b2
..
1055409
100644
(file)
--- a/
drivers/gpu/drm/i915/intel_pm.c
+++ b/
drivers/gpu/drm/i915/intel_pm.c
@@
-3041,7
+3041,7
@@
bool intel_can_enable_sagv(struct drm_atomic_state *state)
pipe = ffs(intel_state->active_crtcs) - 1;
crtc = to_intel_crtc(dev_priv->pipe_to_crtc_mapping[pipe]);
- if (crtc->base.state->mode.flags & DRM_MODE_FLAG_INTERLACE)
+ if (crtc->base.state->
adjusted_
mode.flags & DRM_MODE_FLAG_INTERLACE)
return false;
for_each_intel_plane_on_crtc(dev, crtc, plane) {