]> git.baikalelectronics.ru Git - kernel.git/commit
drm/hisilicon: Enforce 128-byte stride alignment to fix the hardware limitation
authorTian Tao <tiantao6@hisilicon.com>
Fri, 6 Mar 2020 03:43:01 +0000 (11:43 +0800)
committerXinliang Liu <xinliang.liu@linaro.org>
Fri, 3 Apr 2020 01:56:31 +0000 (01:56 +0000)
commit434ac058fcd7224792f642a52c04eff40d35cffe
tree56586f664d255fb894fe788ea3b99fd464ec2e93
parent7e036a8d3fd5c7b5d7e804a41838b63f4bb9f53d
drm/hisilicon: Enforce 128-byte stride alignment to fix the hardware limitation

because the hardware limitation,The initial color depth must set to 32bpp
and must set the FB Offset of the display hardware to 128Byte alignment,
which is used to solve the display problem at 800x600 and 1440x900
resolution under 16bpp.

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Signed-off-by: Gong junjie <gongjunjie2@huawei.com>
Acked-by: Xinliang Liu <xinliang.liu@linaro.org>
Signed-off-by: Xinliang Liu <xinliang.liu@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1583466184-7060-4-git-send-email-tiantao6@hisilicon.com
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c
drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c