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)
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>

No differences found