dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] imx-drm module autoloading fix
@ 2016-05-03  8:48 Philipp Zabel
  2016-05-05  0:37 ` Dave Airlie
  0 siblings, 1 reply; 5+ messages in thread
From: Philipp Zabel @ 2016-05-03  8:48 UTC (permalink / raw)
  To: David Airlie; +Cc: kernel, dri-devel

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
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [GIT PULL] imx-drm module autoloading fix
  2016-05-03  8:48 [GIT PULL] imx-drm module autoloading fix Philipp Zabel
@ 2016-05-05  0:37 ` Dave Airlie
  2016-05-06 15:04   ` Philipp Zabel
  2016-05-17  8:56   ` Philipp Zabel
  0 siblings, 2 replies; 5+ messages in thread
From: Dave Airlie @ 2016-05-05  0:37 UTC (permalink / raw)
  To: Philipp Zabel; +Cc: dri-devel, Sascha Hauer

On 3 May 2016 at 18:48, Philipp Zabel <p.zabel@pengutronix.de> wrote:
> 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
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [GIT PULL] imx-drm module autoloading fix
  2016-05-05  0:37 ` Dave Airlie
@ 2016-05-06 15:04   ` Philipp Zabel
  2016-05-17  8:56   ` Philipp Zabel
  1 sibling, 0 replies; 5+ messages in thread
From: Philipp Zabel @ 2016-05-06 15:04 UTC (permalink / raw)
  To: Dave Airlie; +Cc: dri-devel, Sascha Hauer

Am Donnerstag, den 05.05.2016, 10:37 +1000 schrieb Dave Airlie:
> On 3 May 2016 at 18:48, Philipp Zabel <p.zabel@pengutronix.de> wrote:
> > 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.

Ok, thank you.

regards
Philipp

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [GIT PULL] imx-drm module autoloading fix
  2016-05-05  0:37 ` Dave Airlie
  2016-05-06 15:04   ` Philipp Zabel
@ 2016-05-17  8:56   ` Philipp Zabel
  2016-05-17 10:51     ` Philipp Zabel
  1 sibling, 1 reply; 5+ messages in thread
From: Philipp Zabel @ 2016-05-17  8:56 UTC (permalink / raw)
  To: Dave Airlie; +Cc: dri-devel, Sascha Hauer

Am Donnerstag, den 05.05.2016, 10:37 +1000 schrieb Dave Airlie:
> On 3 May 2016 at 18:48, Philipp Zabel <p.zabel@pengutronix.de> wrote:
> > 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: <20160513123336.6996dd89@ipc1.ka-ro>
[2] https://patchwork.kernel.org/patch/9081661/
    Message-ID: <1463062124-20256-1-git-send-email-p.zabel@pengutronix.de>

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
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [GIT PULL] imx-drm module autoloading fix
  2016-05-17  8:56   ` Philipp Zabel
@ 2016-05-17 10:51     ` Philipp Zabel
  0 siblings, 0 replies; 5+ messages in thread
From: Philipp Zabel @ 2016-05-17 10:51 UTC (permalink / raw)
  To: Dave Airlie; +Cc: dri-devel, Sascha Hauer

Am Dienstag, den 17.05.2016, 10:56 +0200 schrieb Philipp Zabel:
> Am Donnerstag, den 05.05.2016, 10:37 +1000 schrieb Dave Airlie:
> > On 3 May 2016 at 18:48, Philipp Zabel <p.zabel@pengutronix.de> wrote:
> > > 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: <20160513123336.6996dd89@ipc1.ka-ro>
> [2] https://patchwork.kernel.org/patch/9081661/
>     Message-ID: <1463062124-20256-1-git-send-email-p.zabel@pengutronix.de>
> 
> 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
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-05-17 10:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-03  8:48 [GIT PULL] imx-drm module autoloading fix Philipp Zabel
2016-05-05  0:37 ` Dave Airlie
2016-05-06 15:04   ` Philipp Zabel
2016-05-17  8:56   ` Philipp Zabel
2016-05-17 10:51     ` Philipp Zabel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox