drm/i915/skl: Correctly updating sprite wm parameter
authorSonika Jindal <sonika.jindal@intel.com>
Tue, 9 Dec 2014 05:29:15 +0000 (10:59 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 15 Dec 2014 10:25:28 +0000 (11:25 +0100)
commita712f8ebf80319e29eac117dc614eabecdc31c71
tree080ef42ac8bab00b82f9bf02243dce258744365c
parent45f8f69abc789acea7f0b06e604644945794c709
drm/i915/skl: Correctly updating sprite wm parameter

The pipe wm parameters is not correctly updated with sprite parameters
because it copies them for each plane from plane_list to the sprite
offset in pipe wm parameters. Since plane_list also contains primary and
cursor planes, we end up updating wrong params for sprites.

Signed-off-by: Sonika Jindal <sonika.jindal@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c