drm/i915: Recompute WM when the cursor size changes
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 26 Mar 2014 12:38:15 +0000 (12:38 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 28 Mar 2014 17:33:12 +0000 (18:33 +0100)
commit64f962e3e38bf6f40bbd2462f8380dee0369e1bf
treeb5cb309e30913f7b274741f6f1736d0f2b0f451b
parent7bb836dd137be9083dd2c7245c1d6ca0c2a77711
drm/i915: Recompute WM when the cursor size changes

If the cursor width is changed, we may need to recompute our WM to
prevent untold flickering. We hope that the registers are flushed on the
same vblank to prevent underruns...

Cc: Damien Lespiau <damien.lespiau@intel.com>
Cc: Sagar Kamble <sagar.a.kamble@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c