]> git.baikalelectronics.ru Git - kernel.git/commit
drm/komeda: plane: Remove redundant zpos initialisation
authorMaxime Ripard <maxime@cerno.tech>
Mon, 21 Feb 2022 09:59:05 +0000 (10:59 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 8 Mar 2022 11:03:42 +0000 (12:03 +0100)
commit7291ae83c19114fef29f72d2c8a67eadbe8cdb00
treed5a18565a87e141fa753da697c355a9a481467e1
parentc31a9cb9165677668a3dda23313e17cd636b30c5
drm/komeda: plane: Remove redundant zpos initialisation

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

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

Cc: Brian Starkey <brian.starkey@arm.com>
Cc: "James (Qian) Wang" <james.qian.wang@arm.com>
Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Mihail Atanassov <mihail.atanassov@arm.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220221095918.18763-10-maxime@cerno.tech
drivers/gpu/drm/arm/display/komeda/komeda_plane.c