Re: [PATCH v2 10/18] drm/sun4i: mixer: Read id from DT

2018-07-11 Thread Jernej Škrabec
Dne sreda, 11. julij 2018 ob 05:11:56 CEST je Chen-Yu Tsai napisal(a): > On Wed, Jul 11, 2018 at 4:35 AM, Jernej Skrabec wrote: > > Currently, TCON supports 2 ways to match TCON with engine (mixer in this > > case). Old way is to just traverse of graph backwards and compare node > > pointer. New

[PATCH v2 10/18] drm/sun4i: mixer: Read id from DT

2018-07-11 Thread Jernej Skrabec
Currently, TCON supports 2 ways to match TCON with engine (mixer in this case). Old way is to just traverse of graph backwards and compare node pointer. New way is to match TCON and engine by their respective ids. All SoCs with DE2 enabled till now used the old way, which means mixer id was never

Re: [PATCH v2 10/18] drm/sun4i: mixer: Read id from DT

2018-07-11 Thread Chen-Yu Tsai
On Wed, Jul 11, 2018 at 3:10 PM, Jernej Škrabec wrote: > Dne sreda, 11. julij 2018 ob 05:11:56 CEST je Chen-Yu Tsai napisal(a): >> On Wed, Jul 11, 2018 at 4:35 AM, Jernej Skrabec > wrote: >> > Currently, TCON supports 2 ways to match TCON with engine (mixer in this >> > case). Old way is to just

Re: [PATCH v2 10/18] drm/sun4i: mixer: Read id from DT

2018-07-10 Thread Chen-Yu Tsai
On Wed, Jul 11, 2018 at 4:35 AM, Jernej Skrabec wrote: > Currently, TCON supports 2 ways to match TCON with engine (mixer in this > case). Old way is to just traverse of graph backwards and compare node > pointer. New way is to match TCON and engine by their respective ids. > All SoCs with DE2