Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/rockchip: analogix_dp: allow to work without panel

When the DP output is routed to a external connector there is no
need for a fixed panel, as the panel may be detected via EDID on
the AUX channel. Allow to continue probing if no panel reference
is present.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20240621201755.500271-1-l.stach@pengutronix.de

authored by

Lucas Stach and committed by
Heiko Stuebner
86caee74 ec26ea94

+1 -1
+1 -1
drivers/gpu/drm/rockchip/analogix_dp-rockchip.c
··· 386 386 return -ENODEV; 387 387 388 388 ret = drm_of_find_panel_or_bridge(dev->of_node, 1, 0, &panel, NULL); 389 - if (ret < 0) 389 + if (ret < 0 && ret != -ENODEV) 390 390 return ret; 391 391 392 392 dp = devm_kzalloc(dev, sizeof(*dp), GFP_KERNEL);