Add support for bitmask properties
authorRob Clark <rob@ti.com>
Tue, 5 Jun 2012 17:28:22 +0000 (12:28 -0500)
committerRob Clark <rob@ti.com>
Fri, 8 Jun 2012 14:27:21 +0000 (09:27 -0500)
commit7b228e900f59cda3cafb60692be9dd7aced6ad96
treea83fb716e3567ec9af83466a4de1b5241fc57c5f
parent86dece4cf2f7180b854fbd318fa1a57793f0deac
Add support for bitmask properties

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

Signed-off-by: Rob Clark <rob@ti.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
include/drm/drm_mode.h
xf86drmMode.c