[ADV7393] DRM Encoder Slave or DRM Bridge

Laurent Pinchart laurent.pinchart at ideasonboard.com
Sun Sep 18 10:15:07 UTC 2016


Hi Vikas,

On Monday 12 Sep 2016 17:59:36 Vikas Patil wrote:
> Dear All,
> 
> I am trying to understand difference between "DRM Encoder slave
> driver" and "DRM bridge driver" as I need to write one for ADV7393
> Video Encoder Chip for the custom target
> based on DRA74x having following display connection.
> 
> VOUT1 --> ADV7393 --> CVBS Out    (ADV7393 is on I2C)
> 
> Could anyone here explain what is the difference between two and which
> I need to implement for ADV7393 and why?

The DRM slave encoder predates the DRM bridge frameworks. It's now considered 
as legacy and should not be used. All new code should target DRM bridge.

> I could see adv7393 driver available at "drivers/media/i2c/adv7393.c"
> in linux 4.4.14. Can I use this driver? My feeling is I can not use
> but why could not much understand.
> or Do I need to base my driver something like
> "drivers/gpu/drm/i2c/adv7511.c", however I also see it is converted to
> bridge driver and moved to  "drivers/gpu/drm/bridge/adv7511.c" [1]
> 
> [1] http://www.spinics.net/lists/dri-devel/msg113244.html

-- 
Regards,

Laurent Pinchart



More information about the dri-devel mailing list