[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <3289670.5fSG56mABF@steina-w>
Date: Wed, 08 Jan 2025 09:25:13 +0100
From: Alexander Stein <alexander.stein@...tq-group.com>
To: "dmitry.baryshkov@...aro.org" <dmitry.baryshkov@...aro.org>,
"andrzej.hajda@...el.com" <andrzej.hajda@...el.com>,
"neil.armstrong@...aro.org" <neil.armstrong@...aro.org>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>,
"jonas@...boo.se" <jonas@...boo.se>,
"jernej.skrabec@...il.com" <jernej.skrabec@...il.com>,
"airlied@...il.com" <airlied@...il.com>,
"daniel@...ll.ch" <daniel@...ll.ch>,
"robh+dt@...nel.org" <robh+dt@...nel.org>,
"krzysztof.kozlowski+dt@...aro.org" <krzysztof.kozlowski+dt@...aro.org>,
"shawnguo@...nel.org" <shawnguo@...nel.org>,
"s.hauer@...gutronix.de" <s.hauer@...gutronix.de>,
"festevam@...il.com" <festevam@...il.com>,
"vkoul@...nel.org" <vkoul@...nel.org>,
"dri-devel@...ts.freedesktop.org" <dri-devel@...ts.freedesktop.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org" <linux-arm-kernel@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-phy@...ts.infradead.org" <"li nux-phy"@lists.infradead.org>,
"mripard@...nel.org" <mripard@...nel.org>,
Sandor Yu <sandor.yu@....com>
Cc: "kernel@...gutronix.de" <kernel@...gutronix.de>, dl-linux-imx <linux-imx@....com>, Oliver Brown <oliver.brown@....com>, "sam@...nborg.org" <sam@...nborg.org>
Subject: Re: [PATCH v20 0/8] Initial support Cadence MHDP8501(HDMI/DP) for i.MX8MQ
Hi,
Am Mittwoch, 8. Januar 2025, 01:31:11 CET schrieb Sandor Yu:
> > Hi,
> >
> > Am Dienstag, 7. Januar 2025, 15:42:56 CET schrieb Sandor Yu:
> > > Hi Alexander
> > >
> > > It may cause by the first preferred mode in EDID is not supported by driver.
> > > Please use modetest or other user application to change the video mode to
> > CTA standard modes.
> > > Such as148.5MHz 1080p60 or 594MHz 3840x2160p60.
> >
> > No, the EDID does not affect the issue. I resurrected series v14 and HDMI
> > does work without any issues at 1920x1080.
> > If I can find a time slot maybe I can check which series version regresses.
> >
>
> Could you please list the all video modes by modetest when device bootup?
This is the output of modeset command after directly bootup:
> trying to open device 'imx-dcss'...done
> Encoders:
> id crtc type possible crtcs possible clones
> 32 40 none 0x00000001 0x00000001
>
> Connectors:
> id encoder status name size (mm) modes
> encoders 33 32 connected HDMI-A-1 510x290 8
> 32>
> modes:
> index name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot
>
> #0 1920x1080 60.00 1920 2008 2052 2200 1080 1084 1089 1125 148500 flags:
> phsync, pvsync; type: preferred, driver #1 1920x1080 50.00 1920 2448 2492
> 2640 1080 1084 1089 1125 148500 flags: phsync, pvsync; type: driver #2
> 1280x720 60.00 1280 1390 1430 1650 720 725 730 750 74250 flags: phsync,
> pvsync; type: driver #3 1280x720 50.00 1280 1720 1760 1980 720 725 730
> 750 74250 flags: phsync, pvsync; type: driver #4 1440x576 50.00 1440 1464
> 1592 1728 576 581 586 625 54000 flags: nhsync, nvsync; type: driver #5
> 1440x480 59.94 1440 1472 1596 1716 480 489 495 525 54000 flags: nhsync,
> nvsync; type: driver #6 720x576 50.00 720 732 796 864 576 581 586 625
> 27000 flags: nhsync, nvsync; type: driver #7 720x480 59.94 720 736 798
> 858 480 489 495 525 27000 flags: nhsync, nvsync; type: driver>
> props:
> 1 EDID:
> flags: immutable blob
> blobs:
>
> value:
> 00ffffffffffff000469a2231f870200
> 0d1a010380331d782ae295a2554f9f26
> 115054b7ef00d1c0b300950081808140
> 81c0714f0101023a801871382d40582c
> 4500fd1e1100001e000000ff0047334c
> 4d54463136353636330a000000fd0032
> 4b185311000a202020202020000000fc
> 00415355532050423233380a20200194
> 020322714f0102031112130414050e0f
> 1d1e1f90230917078301000065030c00
> 10008c0ad08a20e02d10103e9600fd1e
> 11000018011d007251d01e206e285500
> fd1e1100001e011d00bc52d01e20b828
> 5540fd1e1100001e8c0ad09020403120
> 0c405500fd1e11000018000000000000
> 00000000000000000000000000000069
>
> 2 DPMS:
> flags: enum
> enums: On=0 Standby=1 Suspend=2 Off=3
> value: 0
>
> 5 link-status:
> flags: enum
> enums: Good=0 Bad=1
> value: 0
>
> 6 non-desktop:
> flags: immutable range
> values: 0 1
> value: 0
>
> 4 TILE:
> flags: immutable blob
> blobs:
>
> value:
> 34 max bpc:
> flags: range
> values: 8 8
> value: 8
>
> CRTCs:
> id fb pos size
> 40 43 (0,0) (1920x1080)
>
> #0 1920x1080 60.00 1920 2008 2052 2200 1080 1084 1089 1125 148500 flags:
> phsync, pvsync; type: preferred, driver>
> props:
> 24 VRR_ENABLED:
> flags: range
> values: 0 1
> value: 0
>
> Planes:
> id crtc fb CRTC x,y x,y gamma size possible
> crtcs 35 40 43 0,0 0,0 0
> 0x00000001>
> formats: AR24 XR24 AB24 XB24 RA24 RX24 BA24 BX24 XR30 XB30 RX30 BX30 AR30
> AB30 RA30 BA30>
> props:
> 8 type:
> flags: immutable enum
> enums: Overlay=0 Primary=1 Cursor=2
> value: 1
>
> 30 IN_FORMATS:
> flags: immutable blob
> blobs:
>
> value:
> 01000000000000001000000018000000
> 03000000580000004152323458523234
> 41423234584232345241323452583234
> 42413234425832345852333058423330
> 52583330425833304152333041423330
> 52413330424133300310000000000000
> 00000000000000000100000000000006
> 03100000000000000000000000000000
> 0200000000000006ffff000000000000
> 00000000000000000000000000000000
>
> in_formats blob decoded:
> AR24: VIVANTE_TILED(0x600000000000001)
> VIVANTE_SUPER_TILED(0x600000000000002) LINEAR(0x0)
> XR24: VIVANTE_TILED(0x600000000000001)
> VIVANTE_SUPER_TILED(0x600000000000002) LINEAR(0x0)
> AB24: LINEAR(0x0)
> XB24: LINEAR(0x0)
> RA24: LINEAR(0x0)
> RX24: LINEAR(0x0)
> BA24: LINEAR(0x0)
> BX24: LINEAR(0x0)
> XR30: LINEAR(0x0)
> XB30: LINEAR(0x0)
> RX30: LINEAR(0x0)
> BX30: LINEAR(0x0)
> AR30: VIVANTE_TILED(0x600000000000001)
> VIVANTE_SUPER_TILED(0x600000000000002) LINEAR(0x0)
> AB30: LINEAR(0x0)
> RA30: LINEAR(0x0)
> BA30: LINEAR(0x0)
>
> 37 zpos:
> flags: immutable range
> values: 0 0
> value: 0
>
> 38 SCALING_FILTER:
> flags: enum
> enums: Default=0 Nearest Neighbor=1
> value: 0
>
> 39 rotation:
> flags: bitmask
> values: rotate-0=0x1 rotate-90=0x2 rotate-180=0x4
> rotate-270=0x8 reflect-x=0x10 reflect-y=0x20 value: 1
>
> Frame buffers:
> id size pitch
The listed modes don't change over the series versions. The only
significant difference is that since v16 there is a "max bpc" property
Also since series v16 the HDMI screen stays blank, as in no signal.
I tried all from v14 to v20, v14 and v15 work, the others don't.
Best regards,
Alexander
> Sandor
>
> > Best regards,
> > Alexander
> >
> > >
> > > >
> > > > Hi Sandor,
> > > >
> > > > thanks for the updates.
> > > >
> > > > Am Dienstag, 17. Dezember 2024, 07:51:42 CET schrieb Sandor Yu:
> > > > > The patch set initial support Cadence MHDP8501(HDMI/DP) DRM bridge
> > > > > driver and Cadence HDP-TX PHY(HDMI/DP) driver for Freescale
> > i.MX8MQ.
> > > > >
> > > > > The patch set compose of DRM bridge drivers and PHY driver.
> > > > >
> > > > > Both of them need by patch #1 and #3 to pass build.
> > > > >
> > > > > DRM bridges driver patches:
> > > > > #1: soc: cadence: Create helper functions for Cadence MHDP
> > > > > #2: drm: bridge: cadence: Update mhdp8546 mailbox access
> > functions
> > > > > #3: phy: Add HDMI configuration options
> > > > > #4: dt-bindings: display: bridge: Add Cadence MHDP8501
> > > > > #5: drm: bridge: Cadence: Add MHDP8501 DP/HDMI driver
> > > > >
> > > > > PHY driver patches:
> > > > > #1: soc: cadence: Create helper functions for Cadence MHDP
> > > > > #3: phy: Add HDMI configuration options
> > > > > #6: dt-bindings: phy: Add Freescale iMX8MQ DP and HDMI PHY
> > > > > #7: phy: freescale: Add DisplayPort/HDMI Combo-PHY driver for
> > > > > i.MX8MQ
> > > > >
> > > > > i.MX8M/TQMa8Mx DT patches:
> > > > > #8: Add DT nodes for DCSS/HDMI pipeline
> > > > > #9: Enable HDMI for TQMa8Mx/MBa8Mx
> > > > >
> > > >
> > > > I gave this version a new try but unfortunately the display stays black.
> > > > Although the display pipeline is intialized and even wayland starts.
> > > > Do you have any idea where to start looking?
> > > >
> > > > Best regards,
> > > > Alexander
> > > > --
> > > > TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
> > > > Amtsgericht München, HRB 105018
> > > > Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
> > > >
> > http://www/
> > > > .tq%2F&data=05%7C02%7Csandor.yu%40nxp.com%7C23ba3321d4d5480
> > 4b98f08dd
> > > >
> > 2f35f3db%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C63871863
> > 095591
> > > >
> > 6087%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIw
> > LjAuMDA
> > > >
> > wMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%
> > 7C&s
> > > >
> > data=4Ip3wEX207cu0EreOtf11F%2BS%2ByNzAcI2C2iPjjlQzVg%3D&reserved=
> > 0
> > > >
> > -group.com%2F&data=05%7C02%7CSandor.yu%40nxp.com%7C734ea27ba98
> > > >
> > 140b7483e08dd2eed1276%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%
> > > >
> > 7C0%7C638718317967624410%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU
> > > >
> > 1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIs
> > > >
> > IldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=1HdQdbye9p5AHoT7JCF3Md%
> > > > 2FB9k9tyN%2FW25YKCEngvWM%3D&reserved=0
> > > >
> > >
> > >
> > >
> >
> >
> > --
> > TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
> > Amtsgericht München, HRB 105018
> > Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
> > http://www.tq/
> > -group.com%2F&data=05%7C02%7Csandor.yu%40nxp.com%7C23ba3321d4d
> > 54804b98f08dd2f35f3db%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C
> > 0%7C638718630955952151%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1h
> > cGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIld
> > UIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=n3QmrbJru4JcdZvEM%2FxJp4rVf
> > Vmifjoxpq0o9Wxzh2Y%3D&reserved=0
> >
>
>
>
--
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/
Powered by blists - more mailing lists