drm: Add standardized boolean props
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 21 Jan 2015 07:47:38 +0000 (08:47 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 Jan 2015 09:02:12 +0000 (10:02 +0100)
commit960cd9d4fef6dd9e235c0e5c0d4ed027f8a48025
tree8e38e88909cd3aa611cbc5ee1ebc91878132507f
parent6a425c2a9b37ca3d2c37e3c1cdf973dba53eaa79
drm: Add standardized boolean props

Not a new type exposed to userspace, just a standard way to create
them since between range, bitmask and enum there's 3 different ways to
pull out a boolean prop.

Also add the kerneldoc for the recently added new prop types, which
Rob forgot all about.

v2: Fixup kerneldoc, spotted by Rob.

Cc: Rob Clark <robdclark@gmail.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
drivers/gpu/drm/drm_crtc.c
include/drm/drm_crtc.h