]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omap: plane: Remove redundant zpos initialisation
authorMaxime Ripard <maxime@cerno.tech>
Mon, 21 Feb 2022 09:59:10 +0000 (10:59 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Fri, 25 Feb 2022 16:56:55 +0000 (17:56 +0100)
commit355692391f3df56f7ec6fce875be9f8c454ed066
tree59c388512fca0eb55df16b76a2bd48d50549f509
parent77787b0a8c45d8fc337ffb8de094d95bf79cf030
drm/omap: plane: Remove redundant zpos initialisation

The omap KMS driver will call drm_plane_create_zpos_property() with an
init value of the plane index and the plane type.

Since the initial value wasn't carried over in the state, the driver had
to set it again in omap_plane_reset(). However, the helpers have been
adjusted to set it properly at reset, so this is not needed anymore.

Reviewed-by: Tomi Valkeinen <tomba@kernel.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20220221095918.18763-15-maxime@cerno.tech
drivers/gpu/drm/omapdrm/omap_plane.c