Skip to content
Commit fcd424c5 authored by Devarsh Thakkar's avatar Devarsh Thakkar Committed by Xulin Sun
Browse files

drm/tidss: Make zpos immutable for primary plane

commit e0757b737833c0baee39cf54de96abb15a7b4a24 from
git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git

The new version of weston seems to be setting
non-zero value of zpos for primary plane too [1].

As primary plane sits at the bottom and is always
"on" and overlay planes are "overlayed" on top
of primary, set zpos value of primary plane as
immutable with 0 value.

For overlay plane, set minimum value in range for zpos
value as 1 so that it doesn't overlap with
value for primary plane.

This is based off :
https://lore.kernel.org/linux-renesas-soc/20200401061100.7379-1-etom@igel.co.jp/
https://patchwork.kernel.org/project/linux-renesas-soc/patch/20200402104035.13497-1-laurent.pinchart+renesas@ideasonboard.com/

[1]: http://serenity.dal.design.ti.com:7777/ayoviboceg.yaml



Signed-off-by: default avatarDevarsh Thakkar <devarsht@ti.com>
Signed-off-by: default avatarVignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: default avatarXulin Sun <xulin.sun@windriver.com>
parent d8240080
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment