]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
drm: rcar-du: Set primary plane zpos immutably at initializing
authorTomohito Esaki <etom@igel.co.jp>
Wed, 1 Apr 2020 06:11:00 +0000 (15:11 +0900)
committerKhalid Elmously <khalid.elmously@canonical.com>
Sat, 8 Aug 2020 05:53:12 +0000 (01:53 -0400)
commit23ebc40f777551f9f86bf01cc7714c50b58c24f0
tree7c3572589ddf0c903523847c22864fea4ccbd1db
parent9c3f8390bf312e859c10210f2fb46e29e28800dd
drm: rcar-du: Set primary plane zpos immutably at initializing

BugLink: https://bugs.launchpad.net/bugs/1885023
[ Upstream commit 7982471d01aac33994276bf567c8f1f3a137648a ]

According to drm_plane_create_zpos_property() function documentation,
all planes zpos range should be set if zpos property is supported.
However, the rcar-du driver didn't set primary plane zpos range. Since
the primary plane's zpos is fixed, set it immutably.

Reported-by: Yoshihito Ogawa <yoshihito.ogawa.kc@renesas.com>
Reported-by: Koji Matsuoka <koji.matsuoka.xm@renesas.com>
Signed-off-by: Tomohito Esaki <etom@igel.co.jp>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
[Turn continue into if ... else ...]
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
drivers/gpu/drm/rcar-du/rcar_du_plane.c
drivers/gpu/drm/rcar-du/rcar_du_vsp.c