drm: Specify a bit more the DRM_CAP_CURSOR_{WIDTH, HEIGHT} caps
authorLespiau, Damien <damien.lespiau@intel.com>
Fri, 28 Mar 2014 12:31:05 +0000 (12:31 +0000)
committerDave Airlie <airlied@redhat.com>
Wed, 2 Apr 2014 00:29:01 +0000 (10:29 +1000)
commitbfe8b5738a5d99156d83dc298729552ce82309d5
tree79f38431ae3269b36ec213b9b2d1a643c7b85d1d
parent05c63c2ff23a80b654d6c088ac3ba21628db0173
drm: Specify a bit more the DRM_CAP_CURSOR_{WIDTH, HEIGHT} caps

Earlier this week, there was a bit of confusion about those new
capabilities, to the point I think it's better to document the intention
and API contract.

The comment documents the current situation:
 - the radeon driver returns the only valid size for the hw
 - i915 returns the maximun cursor size
 - other drivers fall back to returning 64x64

The common contract is to return a valid cursor size.

Cc: Sagar Kamble <sagar.a.kamble@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Imre Deak <imre.deak@intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
include/uapi/drm/drm.h
This page took 0.024148 seconds and 5 git commands to generate.