]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita01ac3f3226afaf948d5e9369a2b48c57a41d0f9
treeb5cb309e30913f7b274741f6f1736d0f2b0f451b
parent7101d6a9a7cda563ac7da80974b41895cf7c4345
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