On Mon, Oct 5, 2020 at 11:43 PM Nikhil Devshatwar nikhil.nd@ti.com wrote:
Hi all,
I am trying to convert the upstream tidss drm driver to new connector model. The connector is getting created by the tidss driver and bridges are attached with flag DRM_BRIDGE_ATTACH_NO_CONNECTOR Here are some questions, regarding this:
- Most of the info regarding bus_format and bus flags is coming from
the bridges. Is it okay to not populate connector->display_info with bus_format and flags?
- The "drm_atomic_bridge_chain_select_bus_fmts" does the format
negotiation. So is it okay for the encoder to simply pick the bus_format from the first bridge's state?
- What is the meaning of MEDIA_BUS_FMT_FIXED? Does it mean that the
bridge does not change the format from input to output?
- The bus_flags are available in bridge->timings->input_bus_flags and
also in bridge_state->input_bus_cfg.flags. Which one should be used?
Whatever the answers, please make sure that they're recorded as updates to the kerneldoc comments for these functions/flags/struct members.
Thanks, Daniel