summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/soc/mediatek/mt8183/ddp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/mediatek/mt8183/ddp.c b/src/soc/mediatek/mt8183/ddp.c
index eba3f5e348..395c8212a1 100644
--- a/src/soc/mediatek/mt8183/ddp.c
+++ b/src/soc/mediatek/mt8183/ddp.c
@@ -34,7 +34,7 @@ static void ovl_bgclr_in_sel(u32 idx)
static void enable_pq(struct disp_pq_regs *const regs, u32 width, u32 height,
int enable_relay)
{
- write32(&regs->size, height << 16 | width);
+ write32(&regs->size, width << 16 | height);
if (enable_relay)
write32(&regs->cfg, PQ_RELAY_MODE);
write32(&regs->en, PQ_EN);