Skip to contentSkip to conversation

imx-drm module autoloading fix

GIT PULL Philipp Zabel 2 participants 5 messages May 3, 2016 – May 17, 2016

lore
Share & tools
lore
#0 lore raw

Hi Dave,

here is the imx-ipuv3-crtc autoloading fix so you don't have to revert commit 304e6be652e2 ("gpu: ipu-v3: Assign of_node of child platform devices to corresponding ports").

regards
Philipp

The following changes since commit 02da2d72174c61988eb4456b53f405e3ebdebce4:

Linux 4.6-rc5 (2016-04-24 16:17:05 -0700)

are available in the git repository at:

git://git.pengutronix.de/git/pza/linux.git tags/imx-drm-fixes-2016-05-03

for you to fetch changes up to 7a850aca7e2f0aba312e68285c1a381aabd8860e:

gpu: ipu-v3: Fix imx-ipuv3-crtc module autoloading (2016-04-27 16:09:32 +0200)

----------------------------------------------------------------
imx-drm module autoloading fix

Commit 304e6be652e2 ("gpu: ipu-v3: Assign of_node of child platform devices to corresponding ports") broke autoloading of the imx-ipuv3-crtc module, this reenables the platform modalias to fix it.

----------------------------------------------------------------
Philipp Zabel (1):
gpu: ipu-v3: Fix imx-ipuv3-crtc module autoloading

 drivers/gpu/ipu-v3/ipu-common.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw
Quoted 5 lines · Philipp Zabel

Hi Dave,

here is the imx-ipuv3-crtc autoloading fix so you don't have to revert commit 304e6be652e2 ("gpu: ipu-v3: Assign of_node of child platform devices to corresponding ports").

I didn't pull this, but I cherry-picked the patch out and added stable tags on it
since Denis wanted to get it into 4.4 and above.

Dave.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

Am Donnerstag, den 05.05.2016, 10:37 +1000 schrieb Dave Airlie:

Quoted 7 lines · Philipp Zabel
Quoted 5 lines

Hi Dave,

here is the imx-ipuv3-crtc autoloading fix so you don't have to revert commit 304e6be652e2 ("gpu: ipu-v3: Assign of_node of child platform devices to corresponding ports").

Quoted 5 lines

I didn't pull this, but I cherry-picked the patch out and added stable tags on it
since Denis wanted to get it into 4.4 and above.

Dave.

Ok, thank you.

regards
Philipp

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to Dave Airlie

Am Donnerstag, den 05.05.2016, 10:37 +1000 schrieb Dave Airlie:

Quoted 10 lines · Philipp Zabel
Quoted 5 lines

Hi Dave,

here is the imx-ipuv3-crtc autoloading fix so you don't have to revert commit 304e6be652e2 ("gpu: ipu-v3: Assign of_node of child platform devices to corresponding ports").

I didn't pull this, but I cherry-picked the patch out and added stable tags on it
since Denis wanted to get it into 4.4 and above.

It turns out this patch breaks probing for the built-in case [1]. As a result, imx-drm probing is broken in v4.6. I have sent a patch [2] to fix the issue by matching the crtc components not against dev->of_node but against an of_node pointer stored in platform data.

[1] http://comments.gmane.org/gmane.linux.ports.arm.kernel/499839

    Message-ID: <[email protected]>
[2] https://patchwork.kernel.org/patch/9081661/
    Message-ID: <[email protected]>

Could we apply that or revert commit 407c9eba7897 ("drm/imx: Remove of_node assignment from ipuv3-crtc driver probe") for the time being?

Either way, applying this patch without doing either of the two will break imx-drm probing in v4.4 and v4.5 stable, too.

regards
Philipp

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

Am Dienstag, den 17.05.2016, 10:56 +0200 schrieb Philipp Zabel:

Quoted 22 lines

Am Donnerstag, den 05.05.2016, 10:37 +1000 schrieb Dave Airlie:

Quoted 10 lines · Philipp Zabel
Quoted 5 lines

Hi Dave,

here is the imx-ipuv3-crtc autoloading fix so you don't have to revert commit 304e6be652e2 ("gpu: ipu-v3: Assign of_node of child platform devices to corresponding ports").

I didn't pull this, but I cherry-picked the patch out and added stable tags on it
since Denis wanted to get it into 4.4 and above.

It turns out this patch breaks probing for the built-in case [1]. As a result, imx-drm probing is broken in v4.6. I have sent a patch [2] to fix the issue by matching the crtc components not against dev->of_node but against an of_node pointer stored in platform data.

[1] http://comments.gmane.org/gmane.linux.ports.arm.kernel/499839

    Message-ID: <[email protected]>
[2] https://patchwork.kernel.org/patch/9081661/
    Message-ID: <[email protected]>
Quoted 5 lines

Could we apply that or revert commit 407c9eba7897 ("drm/imx: Remove of_node assignment from ipuv3-crtc driver probe") for the time being?

Either way, applying this patch without doing either of the two will break imx-drm probing in v4.4 and v4.5 stable, too.

I stand corrected, v4.4.10 and v4.5.4 are already broken, too.

regards
Philipp
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel