Skip to content
Commit 7cd70656 authored by Neil Armstrong's avatar Neil Armstrong
Browse files

drm/bridge: display-connector: implement bus fmts callbacks



Since this bridge is tied to the connector, it acts like a passthrough,
so concerning the output & input bus formats, either pass the bus formats from the
previous bridge or return fallback data like done in the bridge function:
drm_atomic_bridge_chain_select_bus_fmts() & select_bus_fmt_recursive.

This permits avoiding skipping the negociation if the remaining bridge chain has
all the bits in place.

Without this bus fmt negociation breaks on drm/meson HDMI pipeline when attaching
dw-hdmi with DRM_BRIDGE_ATTACH_NO_CONNECTOR, because the last bridge of the
display-connector doesn't implement buf fmt callbacks and MEDIA_BUS_FMT_FIXED
is used leading to select an unsupported default bus format from dw-hdmi.

Signed-off-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
Reviewed-by: default avatarSam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20211020123947.2585572-2-narmstrong@baylibre.com
parent 3f2532d6
  • mirror @mirror

    mentioned in commit 91ad217f

    ·

    mentioned in commit 91ad217f

    Toggle commit list
  • mirror @mirror

    mentioned in commit a35641fc176e927029cc2848935ddfb9e680b0f2

    ·

    mentioned in commit a35641fc176e927029cc2848935ddfb9e680b0f2

    Toggle commit list
  • mirror @mirror

    mentioned in commit bc39e6213abedbc0b5760a0042e571f759451cec

    ·

    mentioned in commit bc39e6213abedbc0b5760a0042e571f759451cec

    Toggle commit list
  • mirror @mirror

    mentioned in commit 0bbaead3e08d3024649752c7b6a38edc8aee2d8e

    ·

    mentioned in commit 0bbaead3e08d3024649752c7b6a38edc8aee2d8e

    Toggle commit list
  • mirror @mirror

    mentioned in commit 64cdbe15c5b6b4230767cca5af73fc354ecc4007

    ·

    mentioned in commit 64cdbe15c5b6b4230767cca5af73fc354ecc4007

    Toggle commit list
  • mirror @mirror

    mentioned in commit 07b601f785917a69a6dd1d25f57b60f6c753054c

    ·

    mentioned in commit 07b601f785917a69a6dd1d25f57b60f6c753054c

    Toggle commit list
  • mirror @mirror

    mentioned in commit 539f152e

    ·

    mentioned in commit 539f152e

    Toggle commit list
  • mirror @mirror

    mentioned in commit c8258ce564f57adac94721bb20908f770fc45dfa

    ·

    mentioned in commit c8258ce564f57adac94721bb20908f770fc45dfa

    Toggle commit list
  • mirror @mirror

    mentioned in commit 233c6e8b8607653d63c441fa702313792935eb65

    ·

    mentioned in commit 233c6e8b8607653d63c441fa702313792935eb65

    Toggle commit list
  • mirror @mirror

    mentioned in commit ea4581c6879bef89d2ef44a8a7d8003060116205

    ·

    mentioned in commit ea4581c6879bef89d2ef44a8a7d8003060116205

    Toggle commit list
  • mirror @mirror

    mentioned in commit b83b0dde88db3958f702b719556d0346d997309c

    ·

    mentioned in commit b83b0dde88db3958f702b719556d0346d997309c

    Toggle commit list
  • mirror @mirror

    mentioned in commit 4c7261413f3a8ec49154337efbdff7b8c98de17e

    ·

    mentioned in commit 4c7261413f3a8ec49154337efbdff7b8c98de17e

    Toggle commit list
  • mirror @mirror

    mentioned in commit 46dd3c1aa4f0b2b1455a5384a5a3fcb75c8e43c9

    ·

    mentioned in commit 46dd3c1aa4f0b2b1455a5384a5a3fcb75c8e43c9

    Toggle commit list
  • mirror @mirror

    mentioned in commit 88afdf2f1df10ab6110199be8a292b8cb9071475

    ·

    mentioned in commit 88afdf2f1df10ab6110199be8a292b8cb9071475

    Toggle commit list
  • mirror @mirror

    mentioned in commit 3d69261957667c3fce48c9c854b42387a8d517fd

    ·

    mentioned in commit 3d69261957667c3fce48c9c854b42387a8d517fd

    Toggle commit list
  • mirror @mirror

    mentioned in commit 520d1a4ec2c74385705c724efe2709b282e0333f

    ·

    mentioned in commit 520d1a4ec2c74385705c724efe2709b282e0333f

    Toggle commit list
  • mirror @mirror

    mentioned in commit 6f8bd309

    ·

    mentioned in commit 6f8bd309

    Toggle commit list
  • mirror @mirror

    mentioned in commit b080d6cbaa270becc7c094a5ae591e326afff25f

    ·

    mentioned in commit b080d6cbaa270becc7c094a5ae591e326afff25f

    Toggle commit list
  • mirror @mirror

    mentioned in commit 9a528b40d29a77f1c28d554cc0b821765e44c6c9

    ·

    mentioned in commit 9a528b40d29a77f1c28d554cc0b821765e44c6c9

    Toggle commit list
  • mirror @mirror

    mentioned in commit 1ad94d5009cde7750aeef7e586c327d4f31ec808

    ·

    mentioned in commit 1ad94d5009cde7750aeef7e586c327d4f31ec808

    Toggle commit list
  • mirror @mirror

    mentioned in commit 4da149c8

    ·

    mentioned in commit 4da149c8

    Toggle commit list
  • mirror @mirror

    mentioned in commit 14efcac5

    ·

    mentioned in commit 14efcac5

    Toggle commit list
  • mirror @mirror

    mentioned in commit e0e20359

    ·

    mentioned in commit e0e20359

    Toggle commit list
  • mirror @mirror

    mentioned in commit d63fac1d

    ·

    mentioned in commit d63fac1d

    Toggle commit list
  • mirror @mirror

    mentioned in commit 8f5dd4ec

    ·

    mentioned in commit 8f5dd4ec

    Toggle commit list
  • mirror @mirror

    mentioned in commit 41f5aa3f

    ·

    mentioned in commit 41f5aa3f

    Toggle commit list
  • mirror @mirror

    mentioned in commit 2b6a4dd1

    ·

    mentioned in commit 2b6a4dd1

    Toggle commit list
  • mirror @mirror

    mentioned in commit 06fdcdb2

    ·

    mentioned in commit 06fdcdb2

    Toggle commit list
  • mirror @mirror

    mentioned in commit 95ec5c25

    ·

    mentioned in commit 95ec5c25

    Toggle commit list
  • mirror @mirror

    mentioned in commit 542d70b2

    ·

    mentioned in commit 542d70b2

    Toggle commit list
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment