]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/mediatek: Fix wrong dither settings
authorAllen-KH Cheng <allen-kh.cheng@mediatek.com>
Thu, 8 Sep 2022 14:12:05 +0000 (22:12 +0800)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Mon, 12 Sep 2022 23:10:08 +0000 (07:10 +0800)
commit87fd9294e63e8fa7532b5e65b534c3001c654ef8
treeb283053d45a54518526b2455dadd352eea4bb34b
parenteeda05b5e92f51d9a09646ecb493f0a1e872a6ef
drm/mediatek: Fix wrong dither settings

The width and height arguments in the cmdq packet for mtk_dither_config()
are inverted. We fix the incorrect width and height for dither settings
in mtk_dither_config().

Fixes: 73d3724745db ("drm/mediatek: Adjust to the alphabetic order for mediatek-drm")
Co-developed-by: Yongqiang Niu <yongqiang.niu@mediatek.com>
Signed-off-by: Yongqiang Niu <yongqiang.niu@mediatek.com>
Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Link: https://patchwork.kernel.org/project/linux-mediatek/patch/20220908141205.18256-1-allen-kh.cheng@mediatek.com/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c