]> git.karo-electronics.de Git - mv-sheeva.git/commit
drm/i915: properly mask and or watermark values for sprites
authorJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 16 Jan 2012 19:57:54 +0000 (11:57 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 21 Jan 2012 16:13:05 +0000 (17:13 +0100)
commit47842649ef43ba4b81ac2486df8caa0934e01195
treedac8890f47c184c2b5441b9de1eec0d82a227037
parentc6a32fcbbbc25d7d4e7178aa984e5ef186ee9589
drm/i915: properly mask and or watermark values for sprites

Now that we're using the sprite WM fields, we need to take care not to
clobber them in the main update_wm functions.  While we're at it, make
sure we mask out the old sprite wm value before or'ing in the new one
when the sprite wm is updated.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c