]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Calculate the sprite WM based on the source width instead of the destinatio...
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 5 Jul 2013 08:57:15 +0000 (11:57 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 5 Aug 2013 17:03:56 +0000 (19:03 +0200)
commitab4935bdb59747fac8ec690a207d466b12f2393e
treec072d4904cdbbf400e61772c2b46df80f85f6ca3
parente528d4cce37b704d5e99b866674add0f443472cf
drm/i915: Calculate the sprite WM based on the source width instead of the destination width

Using the destination width in the sprite WM calculations isn't correct.
We should be using the source width.

Note: This doesn't affect hsw since it does not support sprite
scaling.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
[danvet: Add review note from Paulo to the commit message.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_sprite.c