dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* connector - encoder relationship
@ 2011-05-25  8:36 Sascha Hauer
  2011-05-25 16:07 ` Alex Deucher
  0 siblings, 1 reply; 3+ messages in thread
From: Sascha Hauer @ 2011-05-25  8:36 UTC (permalink / raw)
  To: dri-devel

Hi All,

I'm currently looking into implementing a SoC graphics core with KMS.

What I wonder about is the relationship between connectors and encoders.
On my board I have a sii9022 HDMI encoder connected via i2c. This chip
supports reading edid data, tracks the connection status of the display
and needs to be configured when the resolution changes. So my first
guess is that I have to implement an encoder. looking at struct
drm_encoder_funcs there are no callbacks suitable for this. struct
drm_connector_funcs on the other hand has all the callbacks I need.
Now I look at drivers/gpu/drm/i2c. The drivers there implement a
drm_encoder_slave which also has all the callbacks I need. So from
one point of view the functions should be implemented in the connector,
while in the i2c case it's implemented in the (slave-) encoder.
Generally I have the feeling that my sii9022 should be both an encoder
and a connector, but this doesn't fit into the current scheme.

I'm confused. Could someone clarify this a bit?

Thanks
 Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-05-27  8:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-25  8:36 connector - encoder relationship Sascha Hauer
2011-05-25 16:07 ` Alex Deucher
2011-05-27  8:03   ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox