On Wed, 12 Nov 2025 16:50:23 +0800, Andy Yan wrote:
> When there are multiple Video Ports, and only one of them is working
> (for example, VP1 is working while VP0 is not), in this case, the
> win_mask of VP0 is 0. However, we have already set the port mux for VP0
> according to vp0->nlayers, and at the same time, in the OVL_LAYER_SEL
> register, there are windows will also be assigned to layers which will
> map to the inactive VPs. In this situation, vp0->win_mask is zero as it
> now working, it is more reliable to calculate the used layers based on
> the configuration of the OVL_LAYER_SEL register.
>
> [...]
Applied, thanks!
[1/1] drm/rockchip: vop2: Use OVL_LAYER_SEL configuration instead of use
win_mask calculate used layers
commit: d3fe9aa495854f8d88c69c41a4b31e69424656ad
Best regards,
--
Heiko Stuebner <[email protected]>