mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
drm/rockchip: vop2: Fix Cluster2/3 MIX offset
Signed-off-by: Andy Yan <andy.yan@rock-chips.com> Change-Id: Ibc9b82b7c1c531b7ac062a8ead6f9e162f6fa0fb
This commit is contained in:
@@ -5948,6 +5948,11 @@ static void vop2_setup_cluster_alpha(struct vop2 *vop2, struct vop2_cluster *clu
|
||||
bool premulti_en = false;
|
||||
bool swap = false;
|
||||
|
||||
if (cluster->main->phys_id == ROCKCHIP_VOP2_CLUSTER2)
|
||||
offset = 0x20;
|
||||
else if (cluster->main->phys_id == ROCKCHIP_VOP2_CLUSTER3)
|
||||
offset = 0x30;
|
||||
|
||||
if (!sub_win) {
|
||||
/* At one win mode, win0 is dst/bottom win, and win1 is a all zero src/top win */
|
||||
plane = &main_win->base;
|
||||
|
||||
Reference in New Issue
Block a user