drm/i915: Add support for variable cursor size on 845/865
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 13 Aug 2014 08:57:05 +0000 (11:57 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 13 Aug 2014 12:23:38 +0000 (14:23 +0200)
commitdc41c154ffc30afb7ee7e891140dead26fce5c39
tree645f8aa91896ad6a42d8693db346a89cc8382756
parent8ac5466926daef2406f7b25e9a272567cb81adb0
drm/i915: Add support for variable cursor size on 845/865

845/865 support different cursor sizes as well, albeit a bit differently
than later platforms. Add the necessary code to make them work.

Untested due to lack of hardware.

v2: Warn but accept invalid stride (Chris)
    Rewrite the cursor size checks for other platforms (Chris)
v3: More polish and magic to the cursor size checks (Chris)
v4: Moar polish and a comment (Chris)

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
This page took 0.025214 seconds and 5 git commands to generate.