linux_old1/drivers/gpu/drm/atmel-hlcdc
Boris Brezillon 6bee9b78a7 drm/atmel-hlcdc: Fix output initialization
drm_of_find_panel_or_bridge() is expecting np to point to the encoder
node, not the bridge or panel this encoder is feeding.
Moreover, the endpoint parameter passed to drm_of_find_panel_or_bridge()
is always set to zero, which prevents us from probing all outputs.

We also move the atmel_hlcdc_rgb_output allocation after the
panel/bridge detection to avoid useless allocations.

Reported-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Fixes: ebc9446135 ("drm: convert drivers to use drm_of_find_panel_or_bridge")
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Tested-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1495110921-4032-1-git-send-email-boris.brezillon@free-electrons.com
2017-05-18 10:56:43 -04:00
..
Kconfig drm/atmel-hlcdc: make fbdev support really optional 2016-07-15 10:28:33 -04:00
Makefile drm/atmel-hlcdc: Simplify the HLCDC layer logic 2017-02-28 11:57:56 +01:00
atmel_hlcdc_crtc.c drm/atmel-hlcdc: Fix suspend/resume implementation 2017-03-16 11:23:59 +01:00
atmel_hlcdc_dc.c drm/atmel-hlcdc: Fix suspend/resume implementation 2017-03-16 11:23:59 +01:00
atmel_hlcdc_dc.h drm/atmel-hlcdc: Fix suspend/resume implementation 2017-03-16 11:23:59 +01:00
atmel_hlcdc_output.c drm/atmel-hlcdc: Fix output initialization 2017-05-18 10:56:43 -04:00
atmel_hlcdc_plane.c drm/atmel-hlcdc: Simplify the HLCDC layer logic 2017-02-28 11:57:56 +01:00