Re:Re: [PATCH 0/6] Add support for RK3588 DisplayPort Controller

From: Andy Yan
Date: Thu Mar 06 2025 - 19:50:39 EST



Hi Piotr,
在 2025-03-06 22:28:08,"Piotr Oniszczuk" <piotr.oniszczuk@xxxxxxxxx> 写道:
>
>
>> Wiadomość napisana przez Piotr Oniszczuk <piotr.oniszczuk@xxxxxxxxx> w dniu 6 mar 2025, o godz. 15:08:
>>
>>
>>
>>> Wiadomość napisana przez Andy Yan <andyshrk@xxxxxxx> w dniu 6 mar 2025, o godz. 13:15:
>>>
>>> Hi Piotr,
>>>
>>>
>>>
>>> Then when you DP cable plugin, you can run command as bellow to see if the driver detects the HPD:
>>>
>>> # cat /sys/class/drm/card0-DP-1/status
>>> connected
>>> #
>>>
>>
>>
>> Andy,
>> Thx!
>>
>> With above changes i’m getting „connected”.
>> Also it looks crtc gets reasonable mode: https://gist.github.com/warpme/d6220e3cc502086a4c95f05bd9f9cf0c
>>
>> Still black screen however…
>>
>
>some additional data point: /sys/kernel/debug/dri/1/vop2/summary
>
>
>working hdmi:
>
>Video Port1: ACTIVE
> Connector: HDMI-A-1
> bus_format[0]: Unknown
> output_mode[f] color_space[0]
> Display mode: 1920x1080p60
> clk[148500] real_clk[148500] type[48] flag[5]
> H: 1920 2008 2052 2200
> V: 1080 1084 1089 1125
> Cluster0-win0: ACTIVE
> win_id: 0
> format: XR24 little-endian (0x34325258) glb_alpha[0xff]
> rotate: xmirror: 0 ymirror: 0 rotate_90: 0 rotate_270: 0
> zpos: 0
> src: pos[0, 0] rect[1920 x 1080]
> dst: pos[0, 0] rect[1920 x 1080]
> buf[0]: addr: 0x00000000017e1000 pitch: 7680 offset: 0
>Video Port2: DISABLED
>
>
>
>
>non-working DP:
>
>Video Port1: DISABLED
>Video Port2: ACTIVE
> Connector: DP-1
> bus_format[100a]: RGB888_1X24
> output_mode[f] color_space[0]
> Display mode: 1920x1080p60
> clk[148500] real_clk[148500] type[48] flag[5]
> H: 1920 2008 2052 2200
> V: 1080 1084 1089 1125
> Cluster1-win0: ACTIVE
> win_id: 1
> format: XR24 little-endian (0x34325258) glb_alpha[0xff]
> rotate: xmirror: 0 ymirror: 0 rotate_90: 0 rotate_270: 0
> zpos: 0
> src: pos[0, 0] rect[1920 x 1080]
> dst: pos[0, 0] rect[1920 x 1080]
> buf[0]: addr: 0x00000000007ed000 pitch: 7680 offset: 0

>

All dump information currently appears to be correct, so I'm temporarily unsure why
there is no display on the monitor.
Maybe try some plug and unplug for the DP cable, or try another cable or monitor?

It seems that this board uses a DP to HDMI converter? Does this transmitter need a driver?

I won't be at my computer over the next two or three days, so any further replies to your email
might have to wait until next week.