drm: add bitmask property type
authorRob Clark <rob@ti.com>
Thu, 17 May 2012 08:23:26 +0000 (02:23 -0600)
committerDave Airlie <airlied@redhat.com>
Tue, 22 May 2012 09:54:16 +0000 (10:54 +0100)
commit49e2754578b9f99bde18ad318d888a462d271479
tree9bba955211d37225a931ad45076354e2d149147d
parent345f3b9035691d2d6e97398039b99fa484653cc4
drm: add bitmask property type

A bitmask property is similar to an enum.  The enum value is a bit
position (0-63), and valid property values consist of a mask of
zero or more of (1 << enum_val[n]).

[airlied: 1LL -> 1ULL]

Signed-off-by: Rob Clark <rob@ti.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc.c
include/drm/drm_crtc.h
include/drm/drm_mode.h