drm/i915: Enabling 128x128 and 256x256 ARGB Cursor Support
authorSagar Kamble <sagar.a.kamble@intel.com>
Mon, 10 Mar 2014 11:36:23 +0000 (17:06 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 20 Mar 2014 16:35:33 +0000 (17:35 +0100)
commit4726e0b045b80c514377da35ca01467ef6a4de53
treec86f57fd63a5820eb9bdcb11668c1f0f52a7808a
parentc67a17e972913e03e37d9f55d3bcd7bfc0404a37
drm/i915: Enabling 128x128 and 256x256 ARGB Cursor Support

With this patch we allow larger cursor planes of sizes 128x128
and 256x256.

v2: Added more precise check on size while setting cursor plane.

v3: Changes related to restructuring cursor size restrictions
and DRM_DEBUG usage.

v4: Indentation related changes for setting cursor control and
implementing DRM_CAP_CURSOR_WIDTH and DRM_CAP_CURSOR_HEIGHT

Testcase: igt/kms_cursor_crc
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: David Airlie <airlied@linux.ie>
Cc: dri-devel@lists.freedesktop.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: G, Pallavi <pallavi.g@intel.com>
Signed-off-by: Sagar Kamble <sagar.a.kamble@intel.com>
Reviewed-by: Imre Deak <imre.deak@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