J Javier Martinez Canillas #
Message details and related content
On 1/31/22 21:52, Sam Ravnborg wrote:
On Mon, Jan 31, 2022 at 09:12:21PM +0100, Javier Martinez Canillas wrote:quoted
There isn't a connector type for display controllers accesed through I2C, most drivers use DRM_MODE_CONNECTOR_Unknown or DRM_MODE_CONNECTOR_VIRTUAL. Add an I2C connector type to match the actual connector. As Noralf Trønnes mentions in commit fc06bf1d76d6 ("drm: Add SPI connector type"), user-space should be able to cope with a connector type that does not yet understand. Tested with `modetest -M ssd1307 -c` and shows the connector as unknown-1.I had expected unknown-21??
As you pointed out in patch 3/4, I forgot to change DRM_MODE_CONNECTOR_Unknown
to DRM_MODE_CONNECTOR_I2C after adding this patch...
quoted
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>Reviewed-by: Sam Ravnborg <redacted>quoted
---
Thanks! Best regards, -- Javier Martinez Canillas Linux Engineering Red Hat