drm: create struct drm_object_properties and use it
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 15 May 2012 21:09:01 +0000 (18:09 -0300)
committerDave Airlie <airlied@redhat.com>
Thu, 17 May 2012 10:11:13 +0000 (11:11 +0100)
commit7e3bdf4a6dca9eb153cc20d69d717308a68bec00
tree48ae386340e926e9d84b7e5b750ac9f07da57392
parentafea2ad53f1fef0b57d0e59fa062f54797158b14
drm: create struct drm_object_properties and use it

For now, only connectors have it. In the future, all objects that need
properties should use it. Since the structure is referenced inside
struct drm_mode_object, we will be able to deal with object properties
without knowing the real type of the object.

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
include/drm/drm_crtc.h