public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Alexander Stein <alexander.stein@ew.tq-group.com>
To: "dmitry.baryshkov@linaro.org" <dmitry.baryshkov@linaro.org>,
	"andrzej.hajda@intel.com" <andrzej.hajda@intel.com>,
	"neil.armstrong@linaro.org" <neil.armstrong@linaro.org>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	"jonas@kwiboo.se" <jonas@kwiboo.se>,
	"jernej.skrabec@gmail.com" <jernej.skrabec@gmail.com>,
	"airlied@gmail.com" <airlied@gmail.com>,
	"daniel@ffwll.ch" <daniel@ffwll.ch>,
	"robh+dt@kernel.org" <robh+dt@kernel.org>,
	"krzysztof.kozlowski+dt@linaro.org"
	<krzysztof.kozlowski+dt@linaro.org>,
	"shawnguo@kernel.org" <shawnguo@kernel.org>,
	"s.hauer@pengutronix.de" <s.hauer@pengutronix.de>,
	"festevam@gmail.com" <festevam@gmail.com>,
	"vkoul@kernel.org" <vkoul@kernel.org>,
	"dri-devel@lists.freedesktop.org"
	<dri-devel@lists.freedesktop.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-phy@lists.infradead.org" <li nux-phy@lists.infradead.org>,
	"mripard@kernel.org" <mripard@kernel.org>,
	Sandor Yu <sandor.yu@nxp.com>
Cc: "kernel@pengutronix.de" <kernel@pengutronix.de>,
	dl-linux-imx <linux-imx@nxp.com>,
	Oliver Brown <oliver.brown@nxp.com>,
	"sam@ravnborg.org" <sam@ravnborg.org>
Subject: Re: [PATCH v20 0/8] Initial support Cadence MHDP8501(HDMI/DP) for i.MX8MQ
Date: Wed, 08 Jan 2025 09:25:13 +0100	[thread overview]
Message-ID: <3289670.5fSG56mABF@steina-w> (raw)
In-Reply-To: <PAXPR04MB9448B9928C1F7A64F32807F8F4122@PAXPR04MB9448.eurprd04.prod.outlook.com>

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/



  reply	other threads:[~2025-01-08  8:25 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-17  6:51 [PATCH v20 0/8] Initial support Cadence MHDP8501(HDMI/DP) for i.MX8MQ Sandor Yu
2024-12-17  6:51 ` [PATCH v20 1/9] soc: cadence: Create helper functions for Cadence MHDP Sandor Yu
2024-12-17 11:07   ` Dmitry Baryshkov
2024-12-25  7:56     ` [EXT] " Sandor Yu
2024-12-17  6:51 ` [PATCH v20 2/9] drm: bridge: cadence: Update mhdp8546 mailbox access functions Sandor Yu
2024-12-17 11:07   ` Dmitry Baryshkov
2024-12-17  6:51 ` [PATCH v20 3/9] phy: Add HDMI configuration options Sandor Yu
2024-12-17  6:51 ` [PATCH v20 4/9] dt-bindings: display: bridge: Add Cadence MHDP8501 Sandor Yu
2024-12-18  9:15   ` Krzysztof Kozlowski
2024-12-17  6:51 ` [PATCH v20 5/9] drm: bridge: Cadence: Add MHDP8501 DP/HDMI driver Sandor Yu
2024-12-17  8:06   ` Maxime Ripard
2024-12-25  7:56     ` [EXT] " Sandor Yu
2024-12-17 11:47   ` Dmitry Baryshkov
2024-12-25  7:57     ` [EXT] " Sandor Yu
2024-12-26 20:58       ` Dmitry Baryshkov
2024-12-30  8:05         ` Sandor Yu
2024-12-30 13:53           ` Dmitry Baryshkov
2024-12-17  6:51 ` [PATCH v20 6/9] dt-bindings: phy: Add Freescale iMX8MQ DP and HDMI PHY Sandor Yu
2024-12-17  6:51 ` [PATCH v20 7/9] phy: freescale: Add DisplayPort/HDMI Combo-PHY driver for i.MX8MQ Sandor Yu
2024-12-17  6:51 ` [PATCH v20 8/9] arm64: dts: imx8mq: Add DCSS + HDMI/DP display pipeline Sandor Yu
2024-12-17  6:51 ` [PATCH v20 9/9] arm64: dts: imx8mq: tqma8mq-mba8mx: Enable HDMI support Sandor Yu
2025-01-07  7:29 ` [PATCH v20 0/8] Initial support Cadence MHDP8501(HDMI/DP) for i.MX8MQ Alexander Stein
2025-01-07 14:42   ` [EXT] " Sandor Yu
2025-01-07 16:11     ` Alexander Stein
2025-01-08  0:31       ` Sandor Yu
2025-01-08  8:25         ` Alexander Stein [this message]
2025-06-07 13:54 ` Rudi Heitbaum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3289670.5fSG56mABF@steina-w \
    --to=alexander.stein@ew.tq-group.com \
    --cc=airlied@gmail.com \
    --cc=andrzej.hajda@intel.com \
    --cc=daniel@ffwll.ch \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.baryshkov@linaro.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=festevam@gmail.com \
    --cc=jernej.skrabec@gmail.com \
    --cc=jonas@kwiboo.se \
    --cc=kernel@pengutronix.de \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=oliver.brown@nxp.com \
    --cc=robh+dt@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=sam@ravnborg.org \
    --cc=shawnguo@kernel.org \
    --cc=vkoul@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox