diff options
author | Andy Yan <andy.yan@rock-chips.com> | 2024-12-09 20:29:16 +0800 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2024-12-11 00:07:33 +0100 |
commit | 6b4dfdcde3573a12b72d2869dabd4ca37ad7e9c7 (patch) | |
tree | e2dc7f0fe4b6bedfbe028dd792f111f4cd03a21e /drivers/sh/intc/core.c | |
parent | 17b4b10a0df1a1421d5fbdc03bad0bd3799bc966 (diff) |
drm/rockchip: vop2: Fix the mixer alpha setup for layer 0HEADfor-linux-nextdrm-misc-next
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
Diffstat (limited to 'drivers/sh/intc/core.c')
0 files changed, 0 insertions, 0 deletions