drm: add drm_property_change_is_valid
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 15 May 2012 21:08:59 +0000 (18:08 -0300)
committerDave Airlie <airlied@redhat.com>
Thu, 17 May 2012 10:10:55 +0000 (11:10 +0100)
commit26a3481586eb1918a75d338e31c990deab06fb5b
tree7e3856ac64385eca73191936b20d3b5d2d070bd5
parent4ab2c7f15423f313187b310a48ee0ac631c414f1
drm: add drm_property_change_is_valid

Move code from drm_mode_connector_property_set_ioctl to a new
function, so we can reuse this code when we add crtc properties.

Reviewed-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Reviewed-by: Rob Clark <rob.clark@linaro.org>
Tested-by: Rob Clark <rob.clark@linaro.org>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc.c