Re: [PATCH 1/4] drm: Add I2C connector type

From
Javier Martinez Canillas <javierm@redhat.com>
Date
2022-01-31 23:26:31
Also in
dri-devel, lkml
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
Thread (1 message) 1 message, 1 author, last reply 2022-01-31
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help