]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Don't populate pipe_src_{w,h} multiple times
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 1 Oct 2013 19:52:14 +0000 (22:52 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 3 Oct 2013 18:01:28 +0000 (20:01 +0200)
commite41a56be017c6e2891603c678ef2187c437d4414
tree9a90cff4fac263bb4d813474345e5ae1e61fc2a7
parente4916946b8f28dfe2c79f613cb076a5de58d79c2
drm/i915: Don't populate pipe_src_{w,h} multiple times

If we ever end up doing the retry loop due to bandwidth constraints, we
would rewrite pipe_src_{w,n} based on adjusted_mode timings. But by that
time the encoder may have already replaced the adjusted_mode with a
fixed panel mode, which would then corrupt pipe_src_{w,h}.

v2: Use requested_mode and slap on a big comment from Daniel

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c