[Mesa-dev] [PATCH v2 6/7] radeonsi: Add DCC decompress.

Marek Olšák maraeo at gmail.com
Mon Oct 12 07:24:02 PDT 2015


On Sun, Oct 11, 2015 at 5:38 PM, Bas Nieuwenhuizen
<bas at basnieuwenhuizen.nl> wrote:
> This is currently not needed but will be necessary when we have
> features that do not work with DCC enabled, such as image stores
> and sharing non-scanout surfaces.

For shared non-scanout surfaces, the plan is:
- allocate DCC as part of the main buffer (like FMASK)
- pass the DCC offset and info between processes using libdrm_amdgpu
buffer metadata
- DCC fast clear must be disabled (we can't send dirty flags between processes)

For shared scanout surfaces, if the texture dimensions are not equal
to a known display resolution:
- use non-displayable tiling ==> enables DCC for 2D acceleration

Marek


More information about the mesa-dev mailing list