[PATCH 1/2] drm: add bitmask property type

2012-05-17 Thread Rob Clark
From: Rob Clark 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 Reviewed-by: Paulo Zanoni --- v1: original v2: added comments to new

[PATCH 1/2] drm: add bitmask property type

2012-05-17 Thread Rob Clark
From: Rob Clark r...@ti.com 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 r...@ti.com Reviewed-by: Paulo Zanoni paulo.r.zan...@intel.com --- v1:

[PATCH 1/2] drm: add bitmask property type

2012-05-16 Thread Paulo Zanoni
2012/5/16 Rob Clark : > From: Rob Clark > > 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 "int num_values" appears after column 80 in 2

[PATCH 1/2] drm: add bitmask property type

2012-05-16 Thread Rob Clark
From: Rob Clark 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 --- drivers/gpu/drm/drm_crtc.c | 46

[PATCH 1/2] drm: add bitmask property type

2012-05-16 Thread Rob Clark
From: Rob Clark r...@ti.com 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 r...@ti.com --- drivers/gpu/drm/drm_crtc.c | 46

Re: [PATCH 1/2] drm: add bitmask property type

2012-05-16 Thread Paulo Zanoni
2012/5/16 Rob Clark rob.cl...@linaro.org: From: Rob Clark r...@ti.com 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 r...@ti.com Bikeshedding int