summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/sti/sti_plane.h
diff options
context:
space:
mode:
authorMaxime Ripard <maxime@cerno.tech>2022-02-21 10:59:12 +0100
committerMaxime Ripard <maxime@cerno.tech>2022-02-25 17:57:05 +0100
commit67f0f2e4308be74a77e4b33ecfcb8581d107c73f (patch)
tree7d65412ec0e879ba9531551f46748bfd515386db /drivers/gpu/drm/sti/sti_plane.h
parentdrm/rcar: plane: Remove redundant zpos initialisation (diff)
downloadlinux-67f0f2e4308be74a77e4b33ecfcb8581d107c73f.tar.xz
linux-67f0f2e4308be74a77e4b33ecfcb8581d107c73f.zip
drm/sti: plane: Remove redundant zpos initialisation
The sti KMS driver will call drm_plane_create_zpos_property() with an init value depending on the plane type. Since the initial value wasn't carried over in the state, the driver had to set it again in sti_plane_reset(). However, the helpers have been adjusted to set it properly at reset, so this is not needed anymore. Reviewed-by: Alain Volmat <alain.volmat@foss.st.com> Reviewed-by: Philippe Cornu <philippe.cornu@foss.st.com> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://patchwork.freedesktop.org/patch/msgid/20220221095918.18763-17-maxime@cerno.tech
Diffstat (limited to 'drivers/gpu/drm/sti/sti_plane.h')
-rw-r--r--drivers/gpu/drm/sti/sti_plane.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/sti/sti_plane.h b/drivers/gpu/drm/sti/sti_plane.h
index 065ffffbfb4a..8e33e629d9b0 100644
--- a/drivers/gpu/drm/sti/sti_plane.h
+++ b/drivers/gpu/drm/sti/sti_plane.h
@@ -81,5 +81,4 @@ void sti_plane_update_fps(struct sti_plane *plane,
void sti_plane_init_property(struct sti_plane *plane,
enum drm_plane_type type);
-void sti_plane_reset(struct drm_plane *plane);
#endif