Reputation: 1
I have to configure the input and output bus formats in the drm bridge driver. I am trying to understand the difference between the two.
Upvotes: 0
Views: 442
Reputation: 12090
According to Kernel Org Docs - Kernel Mode Setting (KMS)
format
format used on this bus (one of the
MEDIA_BUS_FMT_*
format)This field should not be directly modified by drivers (
drm_atomic_bridge_chain_select_bus_fmts()
takes care of the bus format negotiation).
and
color_formats
HDMI Color formats, selects between RGB and YCrCb modes. Used
DRM_COLOR_FORMAT_
defines, which are not the same ones as used to describe the pixel format in framebuffers, and also don’t match the formats inbus_formats
which are shared with v4l.
it seems to be different data structures at a frist glance. Further information might be found under Media Bus Formats.
Upvotes: 1