linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Problem with gpu: ipu-v3: Fix imx-ipuv3-crtc module autoloading
@ 2016-06-22 17:43 Stanislav Meduna
  2016-06-23  8:12 ` Philipp Zabel
  0 siblings, 1 reply; 2+ messages in thread
From: Stanislav Meduna @ 2016-06-22 17:43 UTC (permalink / raw)
  To: Philipp Zabel, linux-kernel, Dennis Gilmore

Hi,

the c04e6e9 patch

gpu: ipu-v3: Fix imx-ipuv3-crtc module autoloading

broke display connected to a TQMa53 i.MX53 board. The lines

imx-drm display-subsystem: bound imx-ipuv3-crtc.0 (ops ipu_crtc_ops)
imx-drm display-subsystem: bound imx-ipuv3-crtc.1 (ops ipu_crtc_ops)

are not present anymore and the display shows random lines.

I am using the 4.4.12-rt19+ kernel with some local changes, but
the area of this patch is not touched by either.

I am not sure whether my device tree is at fault (I am not
an expert here nor did I created the file from scratch) or the patch
does not take some special case into account. In any case
reverting the patch solves the problem for me.

The DTS fragment is

	disp1: display@disp1 {
		compatible = "fsl,imx-parallel-display";
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_disp1_1>;

		interface-pix-fmt = "rgb24";
		/*
		 * enable this to support parallel display or DVI
		 * disable LVDS bridge and TVE in this case
		 */
		status = "okay";
		/*
		 * uncomment and adapt to your display to support parallel
		 * LCD display using video mode settings
		 */
		display-timings {
			tx14d11vm1cpd {
				clock-frequency = <5847953>;
				hactive = <320>;
				vactive = <240>;
				hfront-porch = <30>;
				hback-porch = <30>;
				hsync-len = <5>;
				vback-porch = <5>;
				vfront-porch = <6>;
				vsync-len = <2>;
				pixelclk-active = <1>;
				hsync-active = <0>;
				vsync-active = <0>;
				de-active = <1>;
			};
		};

		port {
			display1_in: endpoint {
				remote-endpoint = <&ipu_di1_disp1>;
			};
		};
	};


Thanks
-- 
                                              Stano

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

* Re: Problem with gpu: ipu-v3: Fix imx-ipuv3-crtc module autoloading
  2016-06-22 17:43 Problem with gpu: ipu-v3: Fix imx-ipuv3-crtc module autoloading Stanislav Meduna
@ 2016-06-23  8:12 ` Philipp Zabel
  0 siblings, 0 replies; 2+ messages in thread
From: Philipp Zabel @ 2016-06-23  8:12 UTC (permalink / raw)
  To: Stanislav Meduna; +Cc: linux-kernel, Dennis Gilmore

Hi Stanislav,

Am Mittwoch, den 22.06.2016, 19:43 +0200 schrieb Stanislav Meduna:
> Hi,
> 
> the c04e6e9 patch
> 
> gpu: ipu-v3: Fix imx-ipuv3-crtc module autoloading
> 
> broke display connected to a TQMa53 i.MX53 board. The lines
> 
> imx-drm display-subsystem: bound imx-ipuv3-crtc.0 (ops ipu_crtc_ops)
> imx-drm display-subsystem: bound imx-ipuv3-crtc.1 (ops ipu_crtc_ops)
> 
> are not present anymore and the display shows random lines.
> 
> I am using the 4.4.12-rt19+ kernel with some local changes, but
>
> the area of this patch is not touched by either.
> 
> I am not sure whether my device tree is at fault (I am not
> an expert here nor did I created the file from scratch) or the patch
> does not take some special case into account. In any case
> reverting the patch solves the problem for me.

It's not your fault. Please update to 4.4.13 or apply commit
310944d148e3 ("drm/imx: Match imx-ipuv3-crtc components using device
node in platform data"). That should fix this issue. See the patch
description for more details.

regards
Philipp

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

end of thread, other threads:[~2016-06-23  8:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-22 17:43 Problem with gpu: ipu-v3: Fix imx-ipuv3-crtc module autoloading Stanislav Meduna
2016-06-23  8:12 ` Philipp Zabel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).