Message ID | 20190723133755.22677-1-linus.walleij@linaro.org |
---|---|
Headers | show |
Series | RFT: PL111 DRM conversion of nspire | expand |
Hi Linus. On Tue, Jul 23, 2019 at 03:37:52PM +0200, Linus Walleij wrote: > So this is a cold-coded attempt to move the TI nspire over to > using DRM. It is more or less the last user of the old fbdev > driver so it is a noble cause and interesting usecase. Do we need to support arm,pl11x,tft-r0g0b0-pads before we can obsolete fbdev stuff? Just checked and cannot see it in use today. Looked through the patches. 1 and 3 are: Acked-by: Sam Ravnborg <sam@ravnborg.org> As in - the patches looked fine to me - but I do not know the code in detail. But obviously need some testing feedback before they are applied. Posted some comments on patch 2. Sam
On Tue, Jul 23, 2019 at 8:10 PM Sam Ravnborg <sam@ravnborg.org> wrote: > On Tue, Jul 23, 2019 at 03:37:52PM +0200, Linus Walleij wrote: > > So this is a cold-coded attempt to move the TI nspire over to > > using DRM. It is more or less the last user of the old fbdev > > driver so it is a noble cause and interesting usecase. > > Do we need to support arm,pl11x,tft-r0g0b0-pads before > we can obsolete fbdev stuff? No I don't think so, the only in-tree platform that was using it was the Nomadik and all it did was to switch RGB to BGR and I already handle that in the driver using the hardware feature to switch RGB and BGR around instead. Right now I just check that the pads are there, I might just remove the check. However Pawel added this binding and might be able to tell something about if there are platforms out there that really needs this. Possibly Liviu knows more. > Looked through the patches. > 1 and 3 are: > Acked-by: Sam Ravnborg <sam@ravnborg.org> Thanks! Yours, Linus Walleij
On Wed, 2019-07-24 at 13:28 +0100, Linus Walleij wrote: > On Tue, Jul 23, 2019 at 8:10 PM Sam Ravnborg <sam@ravnborg.org> wrote: > > On Tue, Jul 23, 2019 at 03:37:52PM +0200, Linus Walleij wrote: > > Do we need to support arm,pl11x,tft-r0g0b0-pads before > > we can obsolete fbdev stuff? > > No I don't think so, the only in-tree platform that was using it was > the Nomadik and all it did was to switch RGB to BGR and > I already handle that in the driver using the hardware > feature to switch RGB and BGR around instead. > > Right now I just check that the pads are there, I might just > remove the check. > > However Pawel added this binding and might be able to tell > something about if there are platforms out there that really > needs this. Possibly Liviu knows more. It was only there so the fbdev driver could figure out the output mode. I take that DRM "pipeline" now takes care of it, so I'd say that the moment the fbdev driver dies, the binding can go along :-) Cheers! Pawel
On Wed, Jul 24, 2019 at 2:47 PM Pawel Moll <pawel.moll@arm.com> wrote: > On Wed, 2019-07-24 at 13:28 +0100, Linus Walleij wrote: > > On Tue, Jul 23, 2019 at 8:10 PM Sam Ravnborg <sam@ravnborg.org> wrote: > > > On Tue, Jul 23, 2019 at 03:37:52PM +0200, Linus Walleij wrote: > > > Do we need to support arm,pl11x,tft-r0g0b0-pads before > > > we can obsolete fbdev stuff? > > > > No I don't think so, the only in-tree platform that was using it was > > the Nomadik and all it did was to switch RGB to BGR and > > I already handle that in the driver using the hardware > > feature to switch RGB and BGR around instead. > > > > Right now I just check that the pads are there, I might just > > remove the check. > > > > However Pawel added this binding and might be able to tell > > something about if there are platforms out there that really > > needs this. Possibly Liviu knows more. > > It was only there so the fbdev driver could figure out the output mode. > I take that DRM "pipeline" now takes care of it, so I'd say that the > moment the fbdev driver dies, the binding can go along :-) OK I'll get rid of it. :) Yours, Linus Walleij