Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
* [PATCH 0/6] drm/bridge: add ycbcr_420_allowed support
@ 2024-10-18 21:49 Dmitry Baryshkov
  2024-10-18 21:49 ` [PATCH 1/6] drm/display: bridge_connector: handle ycbcr_420_allowed Dmitry Baryshkov
                   ` (8 more replies)
  0 siblings, 9 replies; 22+ messages in thread
From: Dmitry Baryshkov @ 2024-10-18 21:49 UTC (permalink / raw)
  To: Andrzej Hajda, Neil Armstrong, Robert Foss, Laurent Pinchart,
	Jonas Karlman, Jernej Skrabec, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Rob Clark,
	Abhinav Kumar, Sean Paul, Marijn Suijten
  Cc: dri-devel, linux-kernel, linux-arm-msm, freedreno,
	Alexander Stein

One of the features that drm_bridge_connector can't handle currently is
setting of the ycbcr_420_allowed flag on the connector. Add the flag to
the drm_bridge struct and propagate it to the drm_connector as AND of
all flags in the bridge chain.

As an example of the conversion, enable the flag on the DW HDMI bridge,
MSM DP bridge, display connector drivers (for DisplayPort and HDMI
outputs) and AUX bridges.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
Dmitry Baryshkov (6):
      drm/display: bridge_connector: handle ycbcr_420_allowed
      drm/atomic: add interlaced and ycbcr_420 flags to connector's state dump
      drm/bridge: display-connector: allow YCbCr 420 for HDMI and DP
      drm/bridge: aux: allow interlaced and YCbCr 420 output
      drm/msm/dp: migrate the ycbcr_420_allowed to drm_bridge
      drm/bridge: dw-hdmi: set bridge's ycbcr_420_allowed flag

 drivers/gpu/drm/bridge/aux-bridge.c            |  4 ++++
 drivers/gpu/drm/bridge/aux-hpd-bridge.c        |  4 ++++
 drivers/gpu/drm/bridge/display-connector.c     |  4 ++++
 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c      |  3 +++
 drivers/gpu/drm/display/drm_bridge_connector.c |  6 ++++--
 drivers/gpu/drm/drm_atomic.c                   |  2 ++
 drivers/gpu/drm/msm/dp/dp_display.c            |  4 ++--
 drivers/gpu/drm/msm/dp/dp_drm.c                | 10 ++++------
 drivers/gpu/drm/msm/dp/dp_drm.h                |  7 ++++---
 include/drm/drm_bridge.h                       |  5 +++++
 10 files changed, 36 insertions(+), 13 deletions(-)
---
base-commit: 7f796de9da37b78e05edde94ebc7e3f9ee53b3b4
change-id: 20241018-bridge-yuv420-aab94d4575de

Best regards,
-- 
Dmitry Baryshkov <dmitry.baryshkov@linaro.org>


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

end of thread, other threads:[~2024-10-24 19:54 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-18 21:49 [PATCH 0/6] drm/bridge: add ycbcr_420_allowed support Dmitry Baryshkov
2024-10-18 21:49 ` [PATCH 1/6] drm/display: bridge_connector: handle ycbcr_420_allowed Dmitry Baryshkov
2024-10-21  9:55   ` Neil Armstrong
2024-10-18 21:49 ` [PATCH 2/6] drm/atomic: add interlaced and ycbcr_420 flags to connector's state dump Dmitry Baryshkov
2024-10-21  9:56   ` Neil Armstrong
2024-10-18 21:49 ` [PATCH 3/6] drm/bridge: display-connector: allow YCbCr 420 for HDMI and DP Dmitry Baryshkov
2024-10-21  7:29   ` Neil Armstrong
2024-10-21  9:06     ` Dmitry Baryshkov
2024-10-21  9:54       ` neil.armstrong
2024-10-18 21:49 ` [PATCH 4/6] drm/bridge: aux: allow interlaced and YCbCr 420 output Dmitry Baryshkov
2024-10-21  9:54   ` Neil Armstrong
2024-10-18 21:49 ` [PATCH 5/6] drm/msm/dp: migrate the ycbcr_420_allowed to drm_bridge Dmitry Baryshkov
2024-10-21  9:57   ` Neil Armstrong
2024-10-21  9:57   ` Neil Armstrong
2024-10-21 18:55   ` Abhinav Kumar
2024-10-18 21:49 ` [PATCH 6/6] drm/bridge: dw-hdmi: set bridge's ycbcr_420_allowed flag Dmitry Baryshkov
2024-10-21  7:30   ` Neil Armstrong
2024-10-21  7:17 ` [PATCH 0/6] drm/bridge: add ycbcr_420_allowed support Maxime Ripard
2024-10-21 12:32 ` Neil Armstrong
2024-10-21 18:22   ` Dmitry Baryshkov
2024-10-22 12:15     ` neil.armstrong
2024-10-24 19:54 ` Dmitry Baryshkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox