drm/i915: Compute WM for current cursor size
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 26 Mar 2014 12:38:14 +0000 (12:38 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 28 Mar 2014 17:33:11 +0000 (18:33 +0100)
commit7bb836dd137be9083dd2c7245c1d6ca0c2a77711
treee7ceaedb9cf3a249b8f055a9e82f36c21ae0c580
parent61a563a2a6ada193a022666b51ec8bb64112efc5
drm/i915: Compute WM for current cursor size

Now that we can use different cursor size, we can not hardcode 64 pixels
as the cursor width anymore.

v2: Apply to 965gm/g4x paths as well

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_pm.c