Module: Mesa Branch: main Commit: 579ea57db940489107bc5f93e4d4d65112eb9227 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=579ea57db940489107bc5f93e4d4d65112eb9227
Author: Dmitry Baryshkov <[email protected]> Date: Sat Dec 2 17:43:34 2023 +0200 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 <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26471> --- src/freedreno/registers/mdp/mdp_common.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/freedreno/registers/mdp/mdp_common.xml b/src/freedreno/registers/mdp/mdp_common.xml index 661697326e6..5661526e6be 100644 --- a/src/freedreno/registers/mdp/mdp_common.xml +++ b/src/freedreno/registers/mdp/mdp_common.xml @@ -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"/>
