All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v10 0/4] Separate panel orientation property creating and value setting
@ 2022-05-30  8:19 ` Hsin-Yi Wang
  0 siblings, 0 replies; 69+ messages in thread
From: Hsin-Yi Wang @ 2022-05-30  8:19 UTC (permalink / raw)
  To: dri-devel, David Airlie, Daniel Vetter, amd-gfx, intel-gfx
  Cc: Rob Clark, Stephen Boyd, Douglas Anderson, Chun-Kuang Hu,
	Sean Paul, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann,
	linux-kernel, Rob Herring, Matthias Brugger, devicetree,
	linux-arm-kernel, linux-mediatek, Simon Ser, Harry Wentland,
	Alex Deucher, Jani Nikula, Emil Velikov, Hans de Goede

Some drivers, eg. mtk_drm and msm_drm, rely on the panel to set the
orientation. Panel calls drm_connector_set_panel_orientation() to create
orientation property and sets the value. However, connector properties
can't be created after drm_dev_register() is called. The goal is to
separate the orientation property creation, so drm drivers can create it
earlier before drm_dev_register().

After this series, drm_connector_set_panel_orientation() works like
before. It won't affect existing callers of
drm_connector_set_panel_orientation(). The only difference is that
some drm drivers can call drm_connector_init_panel_orientation_property()
earlier.

Hsin-Yi Wang (4):
  gpu: drm: separate panel orientation property creating and value
    setting
  drm/mediatek: init panel orientation property
  drm/msm: init panel orientation property
  arm64: dts: mt8183: Add panel rotation

 .../arm64/boot/dts/mediatek/mt8183-kukui.dtsi |  1 +
 drivers/gpu/drm/drm_connector.c               | 58 ++++++++++++++-----
 drivers/gpu/drm/mediatek/mtk_dsi.c            |  7 +++
 drivers/gpu/drm/msm/dsi/dsi_manager.c         |  4 ++
 include/drm/drm_connector.h                   |  2 +
 5 files changed, 59 insertions(+), 13 deletions(-)

-- 
2.36.1.124.g0e6072fb45-goog


^ permalink raw reply	[flat|nested] 69+ messages in thread

end of thread, other threads:[~2022-06-01 14:04 UTC | newest]

Thread overview: 69+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-30  8:19 [PATCH v10 0/4] Separate panel orientation property creating and value setting Hsin-Yi Wang
2022-05-30  8:19 ` Hsin-Yi Wang
2022-05-30  8:19 ` Hsin-Yi Wang
2022-05-30  8:19 ` [Intel-gfx] " Hsin-Yi Wang
2022-05-30  8:19 ` Hsin-Yi Wang
2022-05-30  8:19 ` Hsin-Yi Wang
2022-05-30  8:19 ` [PATCH v10 1/4] gpu: drm: separate " Hsin-Yi Wang
2022-05-30  8:19   ` Hsin-Yi Wang
2022-05-30  8:19   ` Hsin-Yi Wang
2022-05-30  8:19   ` [Intel-gfx] " Hsin-Yi Wang
2022-05-30  8:19   ` Hsin-Yi Wang
2022-05-30  8:19   ` Hsin-Yi Wang
2022-05-30  8:57   ` Hans de Goede
2022-05-30  8:57     ` Hans de Goede
2022-05-30  8:57     ` Hans de Goede
2022-05-30  8:57     ` Hans de Goede
2022-05-30  8:57     ` [Intel-gfx] " Hans de Goede
2022-05-30  8:57     ` Hans de Goede
2022-05-30  9:01     ` Hans de Goede
2022-05-30  9:01       ` Hans de Goede
2022-05-30  9:01       ` Hans de Goede
2022-05-30  9:01       ` [Intel-gfx] " Hans de Goede
2022-05-30  9:01       ` Hans de Goede
2022-05-30  9:01       ` Hans de Goede
2022-05-30  8:19 ` [PATCH v10 2/4] drm/mediatek: init panel orientation property Hsin-Yi Wang
2022-05-30  8:19   ` Hsin-Yi Wang
2022-05-30  8:19   ` Hsin-Yi Wang
2022-05-30  8:19   ` Hsin-Yi Wang
2022-05-30  8:19   ` [Intel-gfx] " Hsin-Yi Wang
2022-05-30  8:19   ` Hsin-Yi Wang
2022-05-30  8:19 ` [PATCH v10 3/4] drm/msm: " Hsin-Yi Wang
2022-05-30  8:19   ` Hsin-Yi Wang
2022-05-30  8:19   ` Hsin-Yi Wang
2022-05-30  8:19   ` Hsin-Yi Wang
2022-05-30  8:19   ` [Intel-gfx] " Hsin-Yi Wang
2022-05-30  8:19   ` Hsin-Yi Wang
2022-05-30  8:19 ` [PATCH v10 4/4] arm64: dts: mt8183: Add panel rotation Hsin-Yi Wang
2022-05-30  8:19   ` Hsin-Yi Wang
2022-05-30  8:19   ` Hsin-Yi Wang
2022-05-30  8:19   ` Hsin-Yi Wang
2022-05-30  8:19   ` [Intel-gfx] " Hsin-Yi Wang
2022-05-30  8:19   ` Hsin-Yi Wang
2022-05-30  8:44 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Separate panel orientation property creating and value setting (rev2) Patchwork
2022-05-30  8:44 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2022-05-30  8:53 ` [PATCH v10 0/4] Separate panel orientation property creating and value setting Hans de Goede
2022-05-30  8:53   ` Hans de Goede
2022-05-30  8:53   ` Hans de Goede
2022-05-30  8:53   ` Hans de Goede
2022-05-30  8:53   ` Hans de Goede
2022-05-30  8:53   ` [Intel-gfx] " Hans de Goede
2022-05-30 11:34   ` Hsin-Yi Wang
2022-05-30 11:34     ` Hsin-Yi Wang
2022-05-30 11:34     ` Hsin-Yi Wang
2022-05-30 11:34     ` [Intel-gfx] " Hsin-Yi Wang
2022-05-30 11:34     ` Hsin-Yi Wang
2022-05-30 11:34     ` Hsin-Yi Wang
2022-05-31 10:56     ` Hans de Goede
2022-05-31 10:56       ` Hans de Goede
2022-05-31 10:56       ` Hans de Goede
2022-05-31 10:56       ` Hans de Goede
2022-05-31 10:56       ` [Intel-gfx] " Hans de Goede
2022-05-31 10:56       ` Hans de Goede
2022-06-01  8:26       ` Hsin-Yi Wang
2022-06-01  8:26         ` Hsin-Yi Wang
2022-06-01  8:26         ` Hsin-Yi Wang
2022-06-01  8:26         ` [Intel-gfx] " Hsin-Yi Wang
2022-06-01  8:26         ` Hsin-Yi Wang
2022-06-01  8:26         ` Hsin-Yi Wang
2022-05-30  9:08 ` [Intel-gfx] ✗ Fi.CI.BAT: failure for Separate panel orientation property creating and value setting (rev2) Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.