Skip to content

Commit 2542373

Browse files
Enric Balletbo i Serrambgg
authored andcommitted
soc: mediatek: mmsys: Fix missing UFOE component in mt8173 table routing
The UFOE (data compression engine) component needs to be enabled to have the imgtec gpu driver working. If we don't enable it we see a black screen. Looks like when we switched to use and array for setting the routing registers in commit 4401476 ("soc: mediatek: mmsys: Use an array for setting the routing registers") we missed to add this component in the new routing table, it was present before that commit, so fix it by adding this component in the mt8173 routing table. Fixes: 4401476 ("soc: mediatek: mmsys: Use an array for setting the routing registers") Signed-off-by: Enric Balletbo i Serra <[email protected]> Tested-by: Eizan Miyamoto <[email protected]> Cc: <[email protected]> Link: https://lore.kernel.org/r/[email protected] [mb: taking into account mask value] Signed-off-by: Matthias Brugger <[email protected]>
1 parent bc3fc5c commit 2542373

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/soc/mediatek/mtk-mmsys.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,10 @@ static const struct mtk_mmsys_routes mmsys_default_routing_table[] = {
262262
DDP_COMPONENT_RDMA2, DDP_COMPONENT_DSI3,
263263
DISP_REG_CONFIG_DSIO_SEL_IN, DSI3_SEL_IN_MASK,
264264
DSI3_SEL_IN_RDMA2
265+
}, {
266+
DDP_COMPONENT_UFOE, DDP_COMPONENT_DSI0,
267+
DISP_REG_CONFIG_DISP_UFOE_MOUT_EN, UFOE_MOUT_EN_DSI0,
268+
UFOE_MOUT_EN_DSI0
265269
}
266270
};
267271

0 commit comments

Comments
 (0)