freedreno/regs: add mdp_fetch_mode enum

Basing on the DPU driver, add the mdp_fetch_mode enum. It describes the
SSPP fetching mode: linear, UBWC or tiled.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26471>
This commit is contained in:
Dmitry Baryshkov 2023-12-02 17:43:34 +02:00 committed by Marge Bot
parent 10cca7ac49
commit 579ea57db9

View file

@ -62,6 +62,12 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
<value name="BPC8A" value="3"/> <!-- 8 bits -->
</enum>
<enum name="mdp_fetch_mode">
<value name="MDP_FETCH_LINEAR" value="0"/>
<value name="MDP_FETCH_TILE" value="1"/>
<value name="MDP_FETCH_UBWC" value="2"/>
</enum>
<bitset name="reg_wh" inline="yes">
<bitfield name="HEIGHT" low="16" high="31" type="uint"/>
<bitfield name="WIDTH" low="0" high="15" type="uint"/>