drm hwcomposer: a brief update - memcpy.io · 2020. 5. 29. · surfaceflinger apps hwc2}??? what is...

33
drm_hwcomposer: A Brief Update Robert Foss Software Engineer @memcpy_io [email protected]

Upload: others

Post on 22-Oct-2020

7 views

Category:

Documents


0 download

TRANSCRIPT

  • drm_hwcomposer:A Brief Update

    Robert FossSoftware Engineer

    @[email protected]

    mailto:[email protected]

  • ● What is drm_hwcomposer?● Where are we now?● Recent developments● What comes next?

    Agenda

  • What is drm_hwcomposer?

  • What is drm_hwcomposer?Android Graphics Stack

    Kernel

    Vendor driver

    HWC2

    SurfaceFlinger

    Apps

    HWC2

    Kernel

    Vendor driver

    HWC2

    SurfaceFlinger

    Apps

    HWC2

  • What is drm_hwcomposer?Android Graphics Stack

    Kernel

    Vendor driver

    HWC2

    SurfaceFlinger

    Apps

    HWC2

    Proprietary}Kernel

    Vendor driver

    HWC2

    SurfaceFlinger

    Apps

    HWC2

  • What is drm_hwcomposer?OSS Graphics Stack

    HWC2

    Kernel

    Vendor driver

    HWC2

    SurfaceFlinger

    Apps

    HWC2

    Kernel

    SurfaceFlinger

    Apps

    HWC2

    ???}

  • What is drm_hwcomposer?OSS Graphics Stack

    SurfaceFlinger

    Apps

    HWC2

    drm_hwc

    Kernel

    Vendor driver

    HWC2

    SurfaceFlinger

    Apps

    HWC2

    Kernel

    DRM / KMS}

  • Where are we now?

  • Current status

    ● Pixel C– NVidia Tegra X1 Maxwell

    Shipped products

  • Current status

    ● Dragonboard 410c– Adreno 306

    Development platforms

  • Current status

    ● Dragonboard 410c– Adreno 306

    ● iMX6– Vivante GC3000

    Development platforms

  • Current status

    ● Dragonboard 410c– Adreno 306

    ● iMX6– Vivante GC3000

    ● HiKey 960– ARM Mali G71

    Development platforms

  • Current status

    ● Dragonboard 410c– Adreno 306

    ● iMX6– Vivante GC3000

    ● HiKey 960– ARM Mali G71

    ● Dragonboard 820c– Adreno 530

    Development platforms

  • Recent developments

  • Recent developments

    ● Code moved to freedesktop.org

  • Recent developments

    ● Code moved to freedesktop.org● Wiki moved to freedesktop.org

  • Recent developments

    ● Code moved to freedesktop.org● Wiki moved to freedesktop.org ● Development hosted on dri-devel list

  • Recent developments

    ● Code moved to freedesktop.org● Wiki moved to freedesktop.org ● Development hosted on dri-devel list● Patches accepted with [PATCH hwc] prefx

  • What comes next?

  • What comes next?Issues to be solved

    ● HWC2 series merged

  • What comes next?

    ● HWC2 series merged● Multiple overlay testing needed

    Issues to be solved

  • What comes next?Feature Wish List

  • What comes next?

    ● VirtualDisplay supportFeature Wish List

  • What comes next?

    ● VirtualDisplay support● Making GL composition optional

    Feature Wish List

  • What comes next?

    ● VirtualDisplay support● Making GL composition optional● YUV plane support

    Feature Wish List

  • What comes next?

    ● VirtualDisplay support● Making GL composition optional● YUV plane support

    – Output to YUV-only DRM plane

    Feature Wish List

  • What comes next?

    ● VirtualDisplay support● Making GL composition optional● YUV plane support

    Feature Wish List

  • What comes next?

    ● VirtualDisplay support● Making GL composition optional● YUV plane support● DMA writeback support

    Feature Wish List

  • What comes next?

    ● VirtualDisplay support● Making GL composition optional● YUV plane support● DMA writeback support

    – For Miracast/Chromecast/MHL & Screenshots

    Feature Wish List

  • What comes next?

    ● VirtualDisplay support● Making GL composition optional● YUV plane support● DMA writeback support

    Feature Wish List

  • What comes next?

    ● VirtualDisplay support● Making GL composition optional● YUV plane support● DMA writeback support● Modular bufer importer

    Feature Wish List

  • Thanks

    – Gustavo Padovan– Kalyan Kondapally– Kaveh Nasri– Marissa Wall– Rob Clark– Rob Herring– Sean Paul– Tomeu Vizoso– Zach Reizner

  • Questions?

    Slide 1Slide 2Slide 3Slide 4Slide 5Slide 6Slide 7Slide 8Slide 9Slide 10Slide 11Slide 12Slide 13Slide 14Slide 15Slide 16Slide 17Slide 18Slide 19Slide 20Slide 21Slide 22Slide 23Slide 24Slide 25Slide 26Slide 27Slide 28Slide 29Slide 30Slide 31Developing better technologies_clipboard0Slide 33