All of lore.kernel.org
 help / color / mirror / Atom feed
* DRM: Component framework API support
@ 2017-03-30 12:05 ` Eugeniy Paltsev
  0 siblings, 0 replies; 4+ messages in thread
From: Eugeniy Paltsev @ 2017-03-30 12:05 UTC (permalink / raw)
  To: linux-snps-arc

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

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

* DRM: Component framework API support
@ 2017-03-30 12:05 ` Eugeniy Paltsev
  0 siblings, 0 replies; 4+ messages in thread
From: Eugeniy Paltsev @ 2017-03-30 12:05 UTC (permalink / raw)
  To: dri-devel@lists.freedesktop.org
  Cc: daniel@ffwll.ch, linux-kernel@vger.kernel.org,
	linux-snps-arc@lists.infradead.org, airlied@linux.ie

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

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

* DRM: Component framework API support
  2017-03-30 12:05 ` Eugeniy Paltsev
@ 2017-03-30 13:40   ` Jose Abreu
  -1 siblings, 0 replies; 4+ messages in thread
From: Jose Abreu @ 2017-03-30 13:40 UTC (permalink / raw)
  To: linux-snps-arc

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.

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

* Re: DRM: Component framework API support
@ 2017-03-30 13:40   ` Jose Abreu
  0 siblings, 0 replies; 4+ messages in thread
From: Jose Abreu @ 2017-03-30 13:40 UTC (permalink / raw)
  To: Eugeniy Paltsev, dri-devel@lists.freedesktop.org
  Cc: daniel@ffwll.ch, linux-kernel@vger.kernel.org,
	linux-snps-arc@lists.infradead.org, airlied@linux.ie

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.

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

end of thread, other threads:[~2017-03-30 13:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-30 12:05 DRM: Component framework API support Eugeniy Paltsev
2017-03-30 12:05 ` Eugeniy Paltsev
2017-03-30 13:40 ` Jose Abreu
2017-03-30 13:40   ` Jose Abreu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.