[PATCH 4/8] drm: add generic ioctls to get/set properties on any object

Eugeni Dodonov eugeni at dodonov.net
Thu Mar 29 19:47:14 PDT 2012


On Thu, Mar 29, 2012 at 18:27, Paulo Zanoni <przanoni at gmail.com> wrote:

> +       switch (arg_obj->type) {
> +       case DRM_MODE_OBJECT_CONNECTOR:
> +               ret = drm_mode_connector_set_obj_prop(arg_obj, property,
> +                                                     arg->value);
> +               break;
> +       }
>

<bikeshedding>
Perhaps we could add a debug message here for catch the unhandled types..
</bikeshedding>

But apart from that,
Reviewed-by: Eugeni Dodonov <eugeni.dodonov at intel.com>

-- 
Eugeni Dodonov
<http://eugeni.dodonov.net/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120329/1d71378a/attachment.htm>


More information about the dri-devel mailing list