diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2016-03-09 19:07:24 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2016-03-10 13:49:31 +0200 |
commit | 9f6151c9039084e18c118831779a99ac8f29e39c (patch) | |
tree | 973a22bdbedb55f955992a0914a22cd031df8f75 /drivers/gpu/drm/i915/intel_atomic.c | |
parent | dcb2e993f3c0cecc6c0d905cbf2e428640a957c1 (diff) | |
download | kernel_replicant_linux-9f6151c9039084e18c118831779a99ac8f29e39c.tar.gz kernel_replicant_linux-9f6151c9039084e18c118831779a99ac8f29e39c.tar.bz2 kernel_replicant_linux-9f6151c9039084e18c118831779a99ac8f29e39c.zip |
drm/i915: Pass the correct crtc state to .update_plane()
Pass the current crtc state, not the old crtc state, to the
.update_plane() hook.
Noticed on BSW when PRIMSIZE was getting programmed to a stale value
which produced utter garbage on screen eg. wwhen going from 1920x1080
to 1024x768.
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fixes: a758e6845825 ("drm/i915: Do not use commit_plane for sprite planes.")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1457543247-13987-3-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_atomic.c')
0 files changed, 0 insertions, 0 deletions