summaryrefslogtreecommitdiff
path: root/drivers/pnp
diff options
context:
space:
mode:
authorBrian Norris <briannorris@chromium.org>2022-01-19 16:11:22 -0800
committerHeiko Stuebner <heiko@sntech.de>2022-02-08 18:10:36 +0100
commit9da1e9ab82c92d0e89fe44cad2cd7c2d18d64070 (patch)
tree641f57dfd2b23e75b7d367433a1eb2a7a45c7430 /drivers/pnp
parentc0cfbb122275da1b726481de5a8cffeb24e6322b (diff)
drm/rockchip: vop: Correct RK3399 VOP register fieldsdrm-misc-fixes-2022-02-10
Commit 7707f7227f09 ("drm/rockchip: Add support for afbc") switched up the rk3399_vop_big[] register windows, but it did so incorrectly. The biggest problem is in rk3288_win23_data[] vs. rk3368_win23_data[] .format field: RK3288's format: VOP_REG(RK3288_WIN2_CTRL0, 0x7, 1) RK3368's format: VOP_REG(RK3368_WIN2_CTRL0, 0x3, 5) Bits 5:6 (i.e., shift 5, mask 0x3) are correct for RK3399, according to the TRM. There are a few other small differences between the 3288 and 3368 definitions that were swapped in commit 7707f7227f09. I reviewed them to the best of my ability according to the RK3399 TRM and fixed them up. This fixes IOMMU issues (and display errors) when testing with BG24 color formats. Fixes: 7707f7227f09 ("drm/rockchip: Add support for afbc") Cc: Andrzej Pietrasiewicz <andrzej.p@collabora.com> Cc: <stable@vger.kernel.org> Signed-off-by: Brian Norris <briannorris@chromium.org> Tested-by: Andrzej Pietrasiewicz <andrzej.p@collabora.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Link: https://patchwork.freedesktop.org/patch/msgid/20220119161104.1.I1d01436bef35165a8cdfe9308789c0badb5ff46a@changeid
Diffstat (limited to 'drivers/pnp')
0 files changed, 0 insertions, 0 deletions