diff options
| author | Andy Yan <andy.yan@rock-chips.com> | 2024-12-09 20:29:16 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-08 09:56:56 +0100 |
| commit | dc03fc5779662163bd25ab67ce3cc54e2f63b692 (patch) | |
| tree | 97a20a9b64db13914d3e028b7f54da124368ab87 /scripts | |
| parent | 869e43d21e7bf2d0b70021d49dea2aa3e7485a93 (diff) | |
| download | linux-dc03fc5779662163bd25ab67ce3cc54e2f63b692.tar.gz linux-dc03fc5779662163bd25ab67ce3cc54e2f63b692.tar.bz2 linux-dc03fc5779662163bd25ab67ce3cc54e2f63b692.zip | |
drm/rockchip: vop2: Fix the mixer alpha setup for layer 0
[ Upstream commit 6b4dfdcde3573a12b72d2869dabd4ca37ad7e9c7 ]
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: 604be85547ce ("drm/rockchip: Add VOP2 driver")
Tested-by: Derek Foreman <derek.foreman@collabora.com>
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20241209122943.2781431-7-andyshrk@163.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
