Skip to content

Draft: libweston: add etnaviv 2D GPU renderer

Philipp Zabel requested to merge pH5/weston:etnaviv into main

Add a renderer using Vivante 2D GPUs via the etnaviv kernel driver.

Enable using those lines in weston.ini:

  [core]
  renderer=etnaviv

Or with the --renderer=etnaviv command line option.

Proof-of-concept stage, with many short-cuts and known issues:

  • Only DRM and headless backends are supported.
  • Flipping and scaling are not implemented.
  • Missing checks for device specific alignment and tiling formats.
  • Output capture is synchronous.
  • Disabled by default due to libdrm_etnaviv dependency.
  • Tests behind separate Meson option, to avoid breaking -Dtest-skip-is-failure=true builds on hardware without Vivante 2D GPU.
  • Tests that require flipping and/or scaling are not enabled.

Merge request reports