Skip to content

freedreno: support UBWC scanout

Chia-I Wu requested to merge olv/mesa:fd-ubwc-scanout into main

On sway+xwayland, both explicit and implicit modifiers are advertised. While dri3proto says nothing about it, zwp_linux_dmabuf_v1 says

A compositor that sends valid modifiers and DRM_FORMAT_MOD_INVALID for a given format supports both explicit modifiers and implicit modifiers.

"glmark2 -b build:model=bunny --fullscreen" goes from 468 to 598fps on a618 @ 2160x1440.

--

I am not sure if there are setups that forbid ubwc scanout when we have explicit modifiers. Before !12595 (merged), we always used linear scanout. After it, we still use linear scanout when the compositor supports implicit modifiers.

Merge request reports