Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1612997 > unrolled thread

DRM: Component framework API support

Started byEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
First post2017-03-30 14:10 +0200
Last post2017-03-30 15:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  DRM: Component framework API support Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> - 2017-03-30 14:10 +0200
    Re: DRM: Component framework API support Jose Abreu <Jose.Abreu@synopsys.com> - 2017-03-30 15:50 +0200

#1612997 — DRM: Component framework API support

FromEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Date2017-03-30 14:10 +0200
SubjectDRM: Component framework API support
Message-ID<tqH3P-65b-1@gated-at.bofh.it>
Hi,

I am trying to add support of new component framework API in ARC PGU driver.
The point is that for now we have ARC PGU driver which works with adv7511 encoder. Both of them don't support component framework API. I had to add support of component framework based dw_hdmi encoder to ARC PGU driver.

So what is best way of implementing both component framework API and regular API in one driver?

Thanks.
-- 
 Eugeniy Paltsev

[toc] | [next] | [standalone]


#1613089

FromJose Abreu <Jose.Abreu@synopsys.com>
Date2017-03-30 15:50 +0200
Message-ID<tqICD-74s-31@gated-at.bofh.it>
In reply to#1612997
Hi Eugeniy,


On 30-03-2017 13:05, Eugeniy Paltsev wrote:
> Hi,
>
> I am trying to add support of new component framework API in ARC PGU driver.
> The point is that for now we have ARC PGU driver which works with adv7511 encoder. Both of them don't support component framework API. I had to add support of component framework based dw_hdmi encoder to ARC PGU driver.

As of commit 69497eb9 ("drm: bridge: dw-hdmi: Implement DRM
bridge registration") you don't need to use component API, you
can just use a platform driver wrapper.

>
> So what is best way of implementing both component framework API and regular API in one driver?

I guess you want to have support for ADV7511 and dw-hdmi, right?
For component API you need to have a master device which binds
all the components and inits them, for regular API not. I don't
see a clean way to do this (but I'm not that experienced in
component API). Do you need runtime support for both of bridges?

Best regards,
Jose Miguel Abreu

>
> Thanks.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web