Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/rockchip: vop2: Fix possible_crtcs error for cursor plane
Before this commit, because the crtc is not initialized yet, if use the drm_crtc_mask(crtc) at vop2_cursor_plane_init(), the cursor plane possible_crtcs will always be 1 for vp0. After this commit, the plane possible_crtcs will be: if (disable_win_move && vop2) possible_crtcs = BIT(registered_num_crtcs); else if (vop3) possible_crtcs = win->possible_crtcs from reg_data; else possible_crtcs =(1 << vop2_data->nr_vps) - 1;//all crtc Fixes: 1a6b7e170f1e ("drm/rockchip: vop3: add support rk3528") Signed-off-by: Sandy Huang <hjc@rock-chips.com> Change-Id: I7d23aab328962c1a77f6d0c11c5f81731bdceb80
- Loading branch information