imx-drm: regression due to commit 503fe87bd0a8 ("gpu: ipu-v3: Fix imx-ipuv3-crtc module autoloading")
Hi,
the commit 503fe87bd0a8 ("gpu: ipu-v3: Fix imx-ipuv3-crtc module autoloading") indeed fixes the autoloading issue, but completely breaks the driver in non-modular mode (at least with the parallel-display driver I didn't yet check with the imx-ldb driver.
Can anyone confirm that the imx-drm driver in current linux-next (next-20160512) works for them with any i.MX6 or i.MX53 board?
I'm always very suspicious when seeing code moving of_node's from one device to another or assigning of_node's to platform devices that weren't instantiated via DT.
Lothar Waßmann
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 3 lines · Lothar Waßmann
I'm always very suspicious when seeing code moving of_node's from one device to another or assigning of_node's to platform devices that weren't instantiated via DT.
It's completely wrong to add an of_node to a device on the same bus that already has a device with the same of_node - doing so means that the bus matching code will match the same device driver to both devices, which may not be what you want to happen.
Just don't do it, it's a bug waiting to happen.
Signature · 3 lines
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up according to speedtest.net.
Hi Lothar,
Am Freitag, den 13.05.2016, 12:33 +0200 schrieb Lothar Wa?mann:
Quoted 8 lines
Hi,
the commit
503fe87bd0a8("gpu: ipu-v3: Fix imx-ipuv3-crtc module autoloading") indeed fixes the autoloading issue, but completely breaks the driver in non-modular mode (at least with the parallel-display driver I didn't yet check with the imx-ldb driver.
Can anyone confirm that the imx-drm driver in current linux-next (next-20160512) works for them with any i.MX6 or i.MX53 board?
I have sent a patch: https://patchwork.kernel.org/patch/9081661/
that I'd appreciate your input on.
regards
Philipp
Hi there
Quoted 10 lines · Lothar Waßmann
Hi,
the commit
503fe87bd0a8("gpu: ipu-v3: Fix imx-ipuv3-crtc module autoloading")
indeed fixes the autoloading issue, but completely breaks the driver in
non-modular mode (at least with the parallel-display driver I didn't yet check with the imx-ldb driver.
Can anyone confirm that the imx-drm driver in current linux-next (next-20160512) works for them with any i.MX6 or i.MX53 board?
I can confirm that this is actually broken both in v4.6 and next- 20160517. Reverting commit 407c9eba7897 ("drm/imx: Remove of_node assignment from ipuv3-crtc driver probe") in both cases makes regular imx_v6_v7_defconfig work again.
Quoted 6 lines
I'm always very suspicious when seeing code moving of_node's from one device to another or assigning of_node's to platform devices that weren't instantiated via DT.
Lothar Waßmann
Cheers
Marcel
Quoted 4 lines
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Hi,
Quoted 12 lines · On Fri, 13 May 2016 13:04:12 +0200 Philipp Zabel wrote:
Hi Lothar,
Am Freitag, den 13.05.2016, 12:33 +0200 schrieb Lothar Waßmann:
Quoted 8 lines
Hi,
the commit
503fe87bd0a8("gpu: ipu-v3: Fix imx-ipuv3-crtc module autoloading") indeed fixes the autoloading issue, but completely breaks the driver in non-modular mode (at least with the parallel-display driver I didn't yet check with the imx-ldb driver.
Can anyone confirm that the imx-drm driver in current linux-next (next-20160512) works for them with any i.MX6 or i.MX53 board?
Quoted 3 lines
I have sent a patch: https://patchwork.kernel.org/patch/9081661/
that I'd appreciate your input on.
This patch works for the parallel-display driver but not for imx-ldb (I didn't test the TV or HDMI drivers). It works when the DRM driver is built as modules, but when it is non-modular I get a framebuffer device which is useable from userspace, but no output on the LVDS interface.
When reverting 503fe87bd0a8346ba9d8b7f49115dcd0a4185226 instead of applying the above patch, the builtin driver works normally.
Lothar Waßmann
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Am Mittwoch, den 18.05.2016, 11:12 +0200 schrieb Lothar Wa?mann:
Quoted 18 lines
Hi,
Quoted 12 lines · On Fri, 13 May 2016 13:04:12 +0200 Philipp Zabel wrote:
Hi Lothar,
Am Freitag, den 13.05.2016, 12:33 +0200 schrieb Lothar Wa?mann:
Quoted 8 lines
Hi,
the commit
503fe87bd0a8("gpu: ipu-v3: Fix imx-ipuv3-crtc module autoloading") indeed fixes the autoloading issue, but completely breaks the driver in non-modular mode (at least with the parallel-display driver I didn't yet check with the imx-ldb driver.
Can anyone confirm that the imx-drm driver in current linux-next (next-20160512) works for them with any i.MX6 or i.MX53 board?Quoted 3 lines
I have sent a patch: https://patchwork.kernel.org/patch/9081661/
that I'd appreciate your input on.
Quoted 8 lines
This patch works for the parallel-display driver but not for imx-ldb (I didn't test the TV or HDMI drivers). It works when the DRM driver is built as modules, but when it is non-modular I get a framebuffer device which is useable from userspace, but no output on the LVDS interface.
When reverting
503fe87bd0a8346ba9d8b7f49115dcd0a4185226instead of applying the above patch, the builtin driver works normally.
Thank you for testing, I'll send a new version.
regards
Philipp