]> git.baikalelectronics.ru Git - 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)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 13 May 2020 23:10:52 +0000 (02:10 +0300)
commita7563d52291e4dcf4c1604f96a62ea6a6ac35582
treee42dff2986b95b29c26608aa5a312aef34bb955b
parent36faf256d0e87ff17a9033ca27ab4625912d7975
drm: rcar-du: Set primary plane zpos immutably at initializing

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>
drivers/gpu/drm/rcar-du/rcar_du_plane.c
drivers/gpu/drm/rcar-du/rcar_du_vsp.c