diff options
author | Long Ling <longling@google.com> | 2022-02-25 09:36:26 -0800 |
---|---|---|
committer | Long Ling <longling@google.com> | 2022-03-05 00:27:41 +0000 |
commit | f061cae14e65fbb4b5ca8bfe5ae889b45bf6ff9a (patch) | |
tree | 3e6dfc954041ab200c6319a5fdfd30ebcc06b3ef /samsung/exynos_drm_connector.h | |
parent | cf858ae2fb0ae5053ebbf44dbde55170d257cce8 (diff) | |
download | display-f061cae14e65fbb4b5ca8bfe5ae889b45bf6ff9a.tar.gz |
samsung: panel: fix panel orientation property usage
drm_connector_set_panel_orientation should be called before
drm_dev_register but our connector is init at bridge_attach and is
after drm_dev_register.
Use our own orientation property.
Bug: 220071673
Test: no warning log at boot time
Signed-off-by: Long Ling <longling@google.com>
Change-Id: Id594f4f302b4a441ba089498774b7801827b19b7
Diffstat (limited to 'samsung/exynos_drm_connector.h')
-rw-r--r-- | samsung/exynos_drm_connector.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/samsung/exynos_drm_connector.h b/samsung/exynos_drm_connector.h index 2da4481..f453fe8 100644 --- a/samsung/exynos_drm_connector.h +++ b/samsung/exynos_drm_connector.h @@ -59,6 +59,7 @@ struct exynos_drm_connector_properties { struct drm_property *is_partial; struct drm_property *panel_idle_support; struct drm_property *mipi_sync; + struct drm_property *panel_orientation; }; struct exynos_display_dsc { |