diff options
| author | Liu Ying <[email protected]> | 2023-08-21 11:40:01 +0800 |
|---|---|---|
| committer | Robert Foss <[email protected]> | 2023-10-16 11:38:40 +0200 |
| commit | 0de852d4c23a39d3ebff73d0c0c1b488eac6c5a8 (patch) | |
| tree | 68c0f8587b6c6049eec86d36f2c02d2b87f82612 /tools/perf/scripts/python | |
| parent | ec20c510ee2d2a7f0d0a00e4bfd55c28e500d3b7 (diff) | |
drm/bridge: synopsys: dw-mipi-dsi: Add input bus format negotiation support
Introduce ->get_input_bus_fmts() callback to struct dw_mipi_dsi_plat_data
so that vendor drivers can implement specific methods to get input bus
formats for Synopsys DW MIPI DSI.
While at it, implement a generic callback for ->atomic_get_input_bus_fmts(),
where we try to get the input bus formats through pdata->get_input_bus_fmts()
first. If it's unavailable, fall back to the only format - MEDIA_BUS_FMT_FIXED,
which matches the default behavior if ->atomic_get_input_bus_fmts() is not
implemented as ->atomic_get_input_bus_fmts()'s kerneldoc indicates.
Signed-off-by: Liu Ying <[email protected]>
Reviewed-by: Robert Foss <[email protected]>
Signed-off-by: Robert Foss <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions