Skip to content

Commit dbd1d67

Browse files
Marek VasutpH5
authored andcommitted
drm/imx: parallel-display: Adjust bus_flags handling
The bus_flags handling logic does not seem to cover all potential usecases. Specifically, this seems to fail with an "edt,etm0700g0edh6" display attached to an 24bit display interface, with interface-pix-fmt = "rgb24" set in DT. This patch fixes the problem by overriding the imx_crtc_state->bus_flags from the imxpd->bus_flags only if the DT property "interface-pix-fmt" is present or if the DI provides no formats. Signed-off-by: Marek Vasut <[email protected]> Signed-off-by: Philipp Zabel <[email protected]>
1 parent ba807c9 commit dbd1d67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/imx/parallel-display.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ static int imx_pd_bridge_atomic_check(struct drm_bridge *bridge,
217217

218218
if (next_bridge_state)
219219
bus_flags = next_bridge_state->input_bus_cfg.flags;
220-
else if (!imxpd->bus_format && di->num_bus_formats)
220+
else if (di->num_bus_formats)
221221
bus_flags = di->bus_flags;
222222
else
223223
bus_flags = imxpd->bus_flags;

0 commit comments

Comments
 (0)