]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omap: plane: Remove redundant color encoding and range initialisation
authorMaxime Ripard <maxime@cerno.tech>
Mon, 21 Feb 2022 09:59:18 +0000 (10:59 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Fri, 25 Feb 2022 16:57:23 +0000 (17:57 +0100)
commit945353c69730e47fc1332ab26facb5f9c4e39820
tree3fb67cbbaf919b889d1467491efb786033ccbf3f
parent90ac70474a2445abf70ae7d2bda1da6ca8c28968
drm/omap: plane: Remove redundant color encoding and range initialisation

The omap KMS driver will call drm_plane_create_color_properties() with
a default encoding and range values of BT601 and Full Range,
respectively.

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-23-maxime@cerno.tech
drivers/gpu/drm/omapdrm/omap_plane.c