[PATCHv8 02/13] cec: add struct cec_connector_info support
Dariusz Marcinkiewicz
darekm at google.com
Tue Jun 25 13:19:37 UTC 2019
Hi Hans.
Patches 1 and 2 look good to me. There is one comment here that I
forgot to update as the code evolved.
On Mon, Jun 24, 2019 at 6:03 PM Hans Verkuil <hverkuil-cisco at xs4all.nl> wrote:
...
> +/**
> + * struct cec_event_connector - tells if and which connector is associated
> + * with the CEC adapter.
> + * @card_no: drm card number
> + * @connector_id: drm connector ID
> + */
> +struct cec_drm_connector_info {
> + __u32 card_no;
> + __u32 connector_id;
> +};
> +
The comment for the above struct is now appropriate for the struct below.
> +#define CEC_CONNECTOR_TYPE_NO_CONNECTOR 0
> +#define CEC_CONNECTOR_TYPE_DRM 1
> +struct cec_connector_info {
> + __u32 type;
> + union {
> + struct cec_drm_connector_info drm;
> + __u32 raw[16];
> + };
> +};
> +
Best regards.
More information about the dri-devel
mailing list