Commit bc7f844e authored by Andy Yan's avatar Andy Yan Committed by Greg Kroah-Hartman
Browse files

drm/rockchip: vop2: Fix the mixer alpha setup for layer 0



[ Upstream commit 6b4dfdcd ]

The alpha setup should start from the second layer, the current calculation
starts incorrectly from the first layer, a negative offset will be obtained
in the following formula:

offset = (mixer_id + zpos - 1) * 0x10

Fixes: 604be855 ("drm/rockchip: Add VOP2 driver")
Tested-by: default avatarDerek Foreman <derek.foreman@collabora.com>
Signed-off-by: default avatarAndy Yan <andy.yan@rock-chips.com>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20241209122943.2781431-7-andyshrk@163.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 50b24e70
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment