Re: [RFC HACK 1/2] gpu: drm: meson: HACK - Meson8/Meson8b/Meson8m2 support - WiP

2018-01-03 Thread Martin Blumenstingl
Hi Neil, On Tue, Jan 2, 2018 at 12:01 PM, Neil Armstrong wrote: > Hi Martin, > > Thanks for the research !!! you're welcome - I'm slowly starting to understand why implementing video drivers takes a long time... > Let me clarify this OSD1/2 stuff. > > There is 2 OSD planes (that can get single-b

[RFC HACK 1/2] gpu: drm: meson: HACK - Meson8/Meson8b/Meson8m2 support - WiP

2018-01-03 Thread Martin Blumenstingl
TODO: - canvas registers offsets on Meson8 / Meson8b are different - hardcoded register values - OSD2 is used for CVBS on Meson8 (at least on Meson8m2) Signed-off-by: Martin Blumenstingl --- .../bindings/display/amlogic,meson-vpu.txt | 18 +- drivers/gpu/drm/meson/meson_canva

Re: [RFC HACK 1/2] gpu: drm: meson: HACK - Meson8/Meson8b/Meson8m2 support - WiP

2018-01-02 Thread Neil Armstrong
Hi Martin, Thanks for the research !!! Let me clarify this OSD1/2 stuff. There is 2 OSD planes (that can get single-buffer input), and 2 Video plane that can get multi-planar video like YUV or NV12. Only the OSD1 is enabled since it needs the Super Scaler in passthrought to automatically chang