cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to use the B-LCDAD-HDMI adapter (bridge chip ADV7533) instead of the default panel DSI on the STM32MP157a-ev1 board?

LOrci.1
Associate

Hi,

I tried to update the DTS to make use of the adapter but unfortunately without success. These are the change I made:

hdmi-out {
    compatible = "hdmi-connector";
    type = "a";
 
    port {
        hdmi_con: endpoint {
                remote-endpoint = <&adv7533_out>;
            };
        };
};
 
&dsi { 
 
    phy-dsi-supply = <&reg18>;
 
    #address-cells = <1>;
    #size-cells = <0>;
    status = "okay";
 
    ports {
        #address-cells = <1>;
        #size-cells = <0>;
 
        port@0 {
            reg = <0>;
            dsi_in: endpoint {
                remote-endpoint = <&ltdc_ep0_out>;	
            };
        };
 
        port@1 {
            reg = <1>;
            dsi_out: endpoint {
                remote-endpoint = <&adv7533_in>;
            };
        };
    };
};
 
&i2c2 {
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&i2c2_pins_a>;
    pinctrl-1 = <&i2c2_pins_sleep_a>;
    i2c-scl-rising-time-ns = <185>;
    i2c-scl-falling-time-ns = <20>;
    status = "okay";
    /delete-property/dmas;
    /delete-property/dma-names;
 
    hdmi-transmitter@3d {
        compatible = "adi,adv7533";
        reg = <0x3d>;  // (3d = 7A>>1)
        
        a2vdd-supply =  <&v1v8>;
        v3p3-supply = <&v3v3>;
        v1p2-supply =  <&v1v8>;
 
        avdd-supply = <&v1v8>;
        dvdd-supply = <&v1v8>;
        pvdd-supply = <&v1v8>;
        dvdd-3v-supply = <&v3v3>;
 
        adi,dsi-lanes = <2>;
        adi,disable-timing-generator = <1>;
 
        status = "okay";
 
        ports {
            #address-cells = <1>;
            #size-cells = <0>;
 
            port@0 {
                reg = <0>;
                adv7533_in: endpoint {
                    remote-endpoint = <&dsi_out>;
                };
            };
 
            port@1 {
                reg = <1>;
                adv7533_out: endpoint {
                    remote-endpoint = <&hdmi_con>;
                };
            };
        };
   };

thanks in advance for your help.

Luca.

25 REPLIES 25
AntonioST
ST Employee

I have just edited the script in my previous message.

The former script was dumping only the HS clock on the DSI output, not the pixel clock.

Sorry for the mistake.

Raggio
Associate III

Dear Antonio,

thank you very much for your reply and all the instructions. As soon as we can put our resource back on the HDMI video out feature we’ll give it a try and keep you updated (should be a week or two).

Best regards,

Davide

MBassi
Associate III

Dear Antonio,

Thank you for the detail descriptions of your procedure.

For the past few days I was testing your solution on our environment connecting the board to a DELL screen. While your patches works for OpenSTLinux 3.1.0 (kernel v5.10.61) as you've described above, when I imported the patches for OpenSTLinux 2.6.0 (kernel v4.19.94), we need to use this environment too for some applications, I don't get any images on my screen.

I tested with modetest -M stm and the monitor informations are read correctly by linux (I get the same output of kernel v5.10.61 patched) so I don't think it's a metter of patches, maybe there are others diffences beetween linux 4.19.94 and 5.10.61 concerning DSI to HDMI covertion using ADV7533 not covered by the patches, but I can't figure which ones. If you have some hints they will be of some help.

Regards

Marco

Hello
I'm trying to use B-LCDAD-HDMI adapter on kernel v6.1-stm32mp-r2
Many of above information are very useful but of course some are outdated
First strange thing is in ADV7533 driver.
In function adv7533_mode_fixup
https://github.com/STMicroelectronics/linux/blob/4c4175804a542f40c50d091cc694bb0b186728a0/drivers/gpu/drm/bridge/adv7511/adv7533.c#L123C6-L123C25
dsi lines are changed to 3 or 4.
But as I know in STM32MP157 we have only 2 lines.
I've commented it out and return true every time. I suppose this is not best solution, but I don't know what can be better now.

Finally after command
# modetest -M stm -s 32:800x600
I don't see test screen. Below is detailed log. I suppose important is last 10-20 lines.

 

# modetest -M stm
Encoders:
id crtc type possible crtcs possible clones
31 0 DSI 0x00000001 0x00000001

Connectors:
id encoder status name size (mm) modes encoders
32 0 connected HDMI-A-1 600x340 1 31
modes:
index name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot
#0 800x600 72.19 800 856 976 1040 600 637 643 666 50000 flags: phsync, pvsync; type: driver
props:
1 EDID:
flags: immutable blob
blobs:

value:
00ffffffffffff004a8b32bc01010101
091a0103803c22783eee91a3544c9926
0f5054bfef80d1c0d1e8d1fc95009040
8180814081c0201c56a050001630582c
250055502100001e000000fc0052544b
2046484420484452200a000000ff0064
656d6f7365742d310a203020000000fd
00324b545413010a202020202020017e
020332f24f04051013141f2021222748
494a4b4ce200d5e305c00023097f0783
01000067030c001000383ce606050162
6200201c56a050002830582c25005550
2100001e011d8018711c1620582c2500
55502100009e00000000000000000000
00000000000000000000000000000000
000000000000000000000000000000fb
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:
33 dithering:
flags: enum
enums: Off=0 On=1
value: 0

CRTCs:
id fb pos size
38 0 (0,0) (0x0)
#0 nan 0 0 0 0 0 0 0 0 0 flags: ; type:
props:
24 VRR_ENABLED:
flags: range
values: 0 1
value: 0
28 GAMMA_LUT:
flags: blob
blobs:

value:
29 GAMMA_LUT_SIZE:
flags: immutable range
values: 0 4294967295
value: 256

Planes:
id crtc fb CRTC x,y x,y gamma size possible crtcs
34 0 0 0,0 0,0 0 0x00000001
formats: AR24 XR24 RG24 RG16 AR15 XR15 AR12 XR12 C8
props:
8 type:
flags: immutable enum
enums: Overlay=0 Primary=1 Cursor=2
value: 1
30 IN_FORMATS:
flags: immutable blob
blobs:

value:
01000000000000000900000018000000
01000000400000004152323458523234
52473234524731364152313558523135
41523132585231324338202000000000
ff010000000000000000000000000000
0000000000000000
in_formats blob decoded:
AR24: LINEAR(0x0)
XR24: LINEAR(0x0)
RG24: LINEAR(0x0)
RG16: LINEAR(0x0)
AR15: LINEAR(0x0)
XR15: LINEAR(0x0)
AR12: LINEAR(0x0)
XR12: LINEAR(0x0)
C8: LINEAR(0x0)
36 alpha:
flags: range
values: 0 65535
value: 65535
37 zpos:
flags: immutable range
values: 0 0
value: 0
39 0 0 0,0 0,0 0 0x00000001
formats: AR24 RG24 RG16 AR15 AR12 C8
props:
8 type:
flags: immutable enum
enums: Overlay=0 Primary=1 Cursor=2
value: 0
30 IN_FORMATS:
flags: immutable blob
blobs:

value:
01000000000000000600000018000000
01000000300000004152323452473234
52473136415231354152313243382020
3f000000000000000000000000000000
0000000000000000
in_formats blob decoded:
AR24: LINEAR(0x0)
RG24: LINEAR(0x0)
RG16: LINEAR(0x0)
AR15: LINEAR(0x0)
AR12: LINEAR(0x0)
C8: LINEAR(0x0)
41 alpha:
flags: range
values: 0 65535
value: 65535
42 zpos:
flags: immutable range
values: 1 1
value: 1

Frame buffers:
id size pitch

# modetest -M stm -s 32:800x600
setting mode 800x600-72.19Hz on connectors 32, crtc 38

# dmesg
[ 221.921975] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:32:HDMI-A-1]
[ 222.039326] [drm:update_display_info] Supported Monitor Refresh rate range is 50 Hz - 75 Hz
[ 222.039397] [drm:drm_parse_cea_ext] CEA VCDB 0xd5
[ 222.039428] [drm:drm_parse_cea_ext] HDMI: DVI dual 0, max TMDS clock 300000 kHz
[ 222.039501] [drm:update_display_info] Supported Monitor Refresh rate range is 50 Hz - 75 Hz
[ 222.039537] [drm:drm_parse_cea_ext] CEA VCDB 0xd5
[ 222.039563] [drm:drm_parse_cea_ext] HDMI: DVI dual 0, max TMDS clock 300000 kHz
[ 222.039596] [drm:drm_edid_to_eld] ELD monitor RTK FHD HDR
[ 222.039626] [drm:drm_edid_to_eld] HDMI: latency present 0 0, video latency 0 0, audio latency 0 0
[ 222.039659] [drm:drm_edid_to_eld] ELD size 36, SAD count 1
[ 222.042828] [drm:ltdc_encoder_mode_valid] clk rate target 50000000, available 50000000
[ 222.042986] [drm:dw_mipi_dsi_stm_resume]
[ 222.043053] [drm:dw_mipi_dsi_clk_recalc_rate]
[ 222.043092] [drm:dw_mipi_dsi_stm_suspend]
[ 222.043339] [drm:ltdc_encoder_mode_valid] clk rate target 72000000, available 68181819
[ 222.043422] [drm:dw_mipi_dsi_stm_resume]
[ 222.043469] [drm:dw_mipi_dsi_clk_recalc_rate]
[ 222.043503] [drm:dw_mipi_dsi_stm_suspend]
[ 222.043579] [drm:ltdc_encoder_mode_valid] clk rate target 72000000, available 68181819
[ 222.043623] [drm:ltdc_encoder_mode_valid] clk rate target 88750000, available 83333334
[ 222.043659] [drm:ltdc_encoder_mode_valid] clk rate target 101000000, available 93750000
[ 222.043696] [drm:ltdc_encoder_mode_valid] clk rate target 108000000, available 107142858
[ 222.043732] [drm:ltdc_encoder_mode_valid] clk rate target 108000000, available 107142858
[ 222.043768] [drm:ltdc_encoder_mode_valid] clk rate target 74250000, available 68181819
[ 222.043803] [drm:ltdc_encoder_mode_valid] clk rate target 40000000, available 39473685
[ 222.043838] [drm:ltdc_encoder_mode_valid] clk rate target 36000000, available 35714286
[ 222.043873] [drm:ltdc_encoder_mode_valid] clk rate target 31500000, available 31250000
[ 222.043907] [drm:ltdc_encoder_mode_valid] clk rate target 31500000, available 31250000
[ 222.043942] [drm:ltdc_encoder_mode_valid] clk rate target 30240000, available 30000000
[ 222.043977] [drm:ltdc_encoder_mode_valid] clk rate target 25175000, available 25000000
[ 222.044011] [drm:ltdc_encoder_mode_valid] clk rate target 28320000, available 27777778
[ 222.044046] [drm:ltdc_encoder_mode_valid] clk rate target 135000000, available 125000000
[ 222.044082] [drm:ltdc_encoder_mode_valid] clk rate target 78750000, available 75000000
[ 222.044116] [drm:ltdc_encoder_mode_valid] clk rate target 75000000, available 75000000
[ 222.044172] [drm:dw_mipi_dsi_stm_resume]
[ 222.044215] [drm:dw_mipi_dsi_clk_recalc_rate]
[ 222.044247] [drm:dw_mipi_dsi_stm_suspend]
[ 222.044316] [drm:ltdc_encoder_mode_valid] clk rate target 65000000, available 62500000
[ 222.044356] [drm:ltdc_encoder_mode_valid] clk rate target 57284000, available 53571429
[ 222.044391] [drm:ltdc_encoder_mode_valid] clk rate target 49500000, available 46875000
[ 222.044426] [drm:ltdc_encoder_mode_valid] clk rate target 108000000, available 107142858
[ 222.044462] [drm:ltdc_encoder_mode_valid] clk rate target 74250000, available 68181819
[ 222.044498] [drm:ltdc_encoder_mode_valid] clk rate target 148500000, available 125000000
[ 222.044533] [drm:ltdc_encoder_mode_valid] clk rate target 74250000, available 68181819
[ 222.044568] [drm:ltdc_encoder_mode_valid] clk rate target 148500000, available 125000000
[ 222.044604] [drm:ltdc_encoder_mode_valid] clk rate target 74250000, available 68181819
[ 222.044639] [drm:ltdc_encoder_mode_valid] clk rate target 74250000, available 68181819
[ 222.044673] [drm:ltdc_encoder_mode_valid] clk rate target 74250000, available 68181819
[ 222.044708] [drm:ltdc_encoder_mode_valid] clk rate target 74250000, available 68181819
[ 222.044743] [drm:ltdc_encoder_mode_valid] clk rate target 74250000, available 68181819
[ 222.044777] [drm:ltdc_encoder_mode_valid] clk rate target 74250000, available 68181819
[ 222.044812] [drm:ltdc_encoder_mode_valid] clk rate target 148500000, available 125000000
[ 222.044847] [drm:ltdc_encoder_mode_valid] clk rate target 148500000, available 125000000
[ 222.044883] [drm:ltdc_encoder_mode_valid] clk rate target 74176000, available 68181819
[ 222.044918] [drm:ltdc_encoder_mode_valid] clk rate target 25200000, available 25000000
[ 222.044952] [drm:ltdc_encoder_mode_valid] clk rate target 148352000, available 125000000
[ 222.044988] [drm:ltdc_encoder_mode_valid] clk rate target 74176000, available 68181819
[ 222.045023] [drm:ltdc_encoder_mode_valid] clk rate target 74176000, available 68181819
[ 222.045058] [drm:ltdc_encoder_mode_valid] clk rate target 74176000, available 68181819
[ 222.045092] [drm:ltdc_encoder_mode_valid] clk rate target 74176000, available 68181819
[ 222.045127] [drm:ltdc_encoder_mode_valid] clk rate target 148352000, available 125000000
[ 222.045161] [drm:drm_mode_debug_printmodeline] Modeline "1366x768": 60 72000 1366 1454 1498 1526 768 770 775 790 0x48 0x5
[ 222.045204] [drm:drm_mode_prune_invalid] Not using 1366x768 mode: CLOCK_HIGH
[ 222.045232] [drm:drm_mode_debug_printmodeline] Modeline "1366x768": 58 72000 1366 1454 1498 1526 768 770 775 808 0x40 0x5
[ 222.045271] [drm:drm_mode_prune_invalid] Not using 1366x768 mode: CLOCK_RANGE
[ 222.045296] [drm:drm_mode_debug_printmodeline] Modeline "1920x1080i": 60 74250 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x15
[ 222.045334] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
[ 222.045359] [drm:drm_mode_debug_printmodeline] Modeline "1440x900": 60 88750 1440 1488 1520 1600 900 903 909 926 0x40 0x9
[ 222.045397] [drm:drm_mode_prune_invalid] Not using 1440x900 mode: CLOCK_RANGE
[ 222.045422] [drm:drm_mode_debug_printmodeline] Modeline "1400x1050": 60 101000 1400 1448 1480 1560 1050 1053 1057 1080 0x40 0x9
[ 222.045460] [drm:drm_mode_prune_invalid] Not using 1400x1050 mode: CLOCK_HIGH
[ 222.045485] [drm:drm_mode_debug_printmodeline] Modeline "1280x1024": 60 108000 1280 1328 1440 1688 1024 1025 1028 1066 0x40 0x5
[ 222.045523] [drm:drm_mode_prune_invalid] Not using 1280x1024 mode: CLOCK_HIGH
[ 222.045547] [drm:drm_mode_debug_printmodeline] Modeline "1280x960": 60 108000 1280 1376 1488 1800 960 961 964 1000 0x40 0x5
[ 222.045585] [drm:drm_mode_prune_invalid] Not using 1280x960 mode: CLOCK_HIGH
[ 222.045610] [drm:drm_mode_debug_printmodeline] Modeline "1280x720": 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x5
[ 222.045648] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: CLOCK_RANGE
[ 222.045672] [drm:drm_mode_debug_printmodeline] Modeline "800x600": 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5
[ 222.045710] [drm:drm_mode_prune_invalid] Not using 800x600 mode: CLOCK_RANGE
[ 222.045735] [drm:drm_mode_debug_printmodeline] Modeline "800x600": 56 36000 800 824 896 1024 600 601 603 625 0x40 0x5
[ 222.045773] [drm:drm_mode_prune_invalid] Not using 800x600 mode: CLOCK_RANGE
[ 222.045797] [drm:drm_mode_debug_printmodeline] Modeline "640x480": 75 31500 640 656 720 840 480 481 484 500 0x40 0xa
[ 222.045835] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_RANGE
[ 222.045860] [drm:drm_mode_debug_printmodeline] Modeline "640x480": 73 31500 640 664 704 832 480 489 492 520 0x40 0xa
[ 222.045898] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_RANGE
[ 222.045922] [drm:drm_mode_debug_printmodeline] Modeline "640x480": 67 30240 640 704 768 864 480 483 486 525 0x40 0xa
[ 222.045960] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_RANGE
[ 222.045984] [drm:drm_mode_debug_printmodeline] Modeline "640x480": 60 25175 640 656 752 800 480 490 492 525 0x40 0xa
[ 222.046022] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_RANGE
[ 222.046047] [drm:drm_mode_debug_printmodeline] Modeline "720x400": 70 28320 720 738 846 900 400 412 414 449 0x40 0x6
[ 222.046085] [drm:drm_mode_prune_invalid] Not using 720x400 mode: CLOCK_RANGE
[ 222.046109] [drm:drm_mode_debug_printmodeline] Modeline "1280x1024": 75 135000 1280 1296 1440 1688 1024 1025 1028 1066 0x40 0x5
[ 222.046147] [drm:drm_mode_prune_invalid] Not using 1280x1024 mode: CLOCK_HIGH
[ 222.046172] [drm:drm_mode_debug_printmodeline] Modeline "1024x768": 75 78750 1024 1040 1136 1312 768 769 772 800 0x40 0x5
[ 222.046210] [drm:drm_mode_prune_invalid] Not using 1024x768 mode: CLOCK_RANGE
[ 222.046235] [drm:drm_mode_debug_printmodeline] Modeline "1024x768": 70 75000 1024 1048 1184 1328 768 771 777 806 0x40 0xa
[ 222.046273] [drm:drm_mode_prune_invalid] Not using 1024x768 mode: CLOCK_HIGH
[ 222.046298] [drm:drm_mode_debug_printmodeline] Modeline "1024x768": 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
[ 222.046336] [drm:drm_mode_prune_invalid] Not using 1024x768 mode: CLOCK_RANGE
[ 222.046360] [drm:drm_mode_debug_printmodeline] Modeline "832x624": 75 57284 832 864 928 1152 624 625 628 667 0x40 0xa
[ 222.046399] [drm:drm_mode_prune_invalid] Not using 832x624 mode: CLOCK_RANGE
[ 222.046423] [drm:drm_mode_debug_printmodeline] Modeline "800x600": 75 49500 800 816 896 1056 600 601 604 625 0x40 0x5
[ 222.046461] [drm:drm_mode_prune_invalid] Not using 800x600 mode: CLOCK_RANGE
[ 222.046486] [drm:drm_mode_debug_printmodeline] Modeline "1152x864": 75 108000 1152 1216 1344 1600 864 865 868 900 0x40 0x5
[ 222.046524] [drm:drm_mode_prune_invalid] Not using 1152x864 mode: CLOCK_HIGH
[ 222.046549] [drm:drm_mode_debug_printmodeline] Modeline "1280x720": 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x5
[ 222.046587] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: CLOCK_RANGE
[ 222.046611] [drm:drm_mode_debug_printmodeline] Modeline "1920x1080i": 60 74250 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x15
[ 222.046650] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
[ 222.046674] [drm:drm_mode_debug_printmodeline] Modeline "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
[ 222.046713] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_HIGH
[ 222.046737] [drm:drm_mode_debug_printmodeline] Modeline "1280x720": 50 74250 1280 1720 1760 1980 720 725 730 750 0x40 0x5
[ 222.046775] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: CLOCK_RANGE
[ 222.046800] [drm:drm_mode_debug_printmodeline] Modeline "1920x1080i": 50 74250 1920 2448 2492 2640 1080 1084 1094 1125 0x40 0x15
[ 222.046838] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
[ 222.046863] [drm:drm_mode_debug_printmodeline] Modeline "1920x1080": 50 148500 1920 2448 2492 2640 1080 1084 1089 1125 0x40 0x5
[ 222.046901] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_HIGH
[ 222.046926] [drm:drm_mode_debug_printmodeline] Modeline "1920x1080": 24 74250 1920 2558 2602 2750 1080 1084 1089 1125 0x40 0x5
[ 222.046963] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_RANGE
[ 222.046988] [drm:drm_mode_debug_printmodeline] Modeline "1920x1080": 25 74250 1920 2448 2492 2640 1080 1084 1089 1125 0x40 0x5
[ 222.047026] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_RANGE
[ 222.047051] [drm:drm_mode_debug_printmodeline] Modeline "1920x1080": 30 74250 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
[ 222.047089] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_RANGE
[ 222.047114] [drm:drm_mode_debug_printmodeline] Modeline "1920x1080i": 50 72000 1920 1952 2120 2304 1080 1126 1136 1250 0x40 0x19
[ 222.047152] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
[ 222.047178] [drm:drm_mode_debug_printmodeline] Modeline "1920x1080": 24 74250 1920 2558 2602 2750 1080 1084 1089 1125 0x40 0x5
[ 222.047217] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_RANGE
[ 222.047242] [drm:drm_mode_debug_printmodeline] Modeline "1920x1080": 25 74250 1920 2448 2492 2640 1080 1084 1089 1125 0x40 0x5
[ 222.047281] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_RANGE
[ 222.047305] [drm:drm_mode_debug_printmodeline] Modeline "1920x1080": 30 74250 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
[ 222.047343] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_RANGE
[ 222.047367] [drm:drm_mode_debug_printmodeline] Modeline "1920x1080": 50 148500 1920 2448 2492 2640 1080 1084 1089 1125 0x40 0x5
[ 222.047405] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_HIGH
[ 222.047429] [drm:drm_mode_debug_printmodeline] Modeline "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
[ 222.047467] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_HIGH
[ 222.047491] [drm:drm_mode_debug_printmodeline] Modeline "1920x1080i": 60 74176 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x15
[ 222.047530] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: NO_INTERLACE
[ 222.047554] [drm:drm_mode_debug_printmodeline] Modeline "1280x720": 60 74176 1280 1390 1430 1650 720 725 730 750 0x40 0x5
[ 222.047592] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: CLOCK_RANGE
[ 222.047616] [drm:drm_mode_debug_printmodeline] Modeline "640x480": 60 25200 640 656 752 800 480 490 492 525 0x40 0xa
[ 222.047654] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_RANGE
[ 222.047678] [drm:drm_mode_debug_printmodeline] Modeline "1920x1080": 60 148352 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
[ 222.047715] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_HIGH
[ 222.047739] [drm:drm_mode_debug_printmodeline] Modeline "1920x1080": 24 74176 1920 2558 2602 2750 1080 1084 1089 1125 0x40 0x5
[ 222.047777] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_RANGE
[ 222.047801] [drm:drm_mode_debug_printmodeline] Modeline "1920x1080": 30 74176 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
[ 222.047839] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_RANGE
[ 222.047863] [drm:drm_mode_debug_printmodeline] Modeline "1920x1080": 24 74176 1920 2558 2602 2750 1080 1084 1089 1125 0x40 0x5
[ 222.047901] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_RANGE
[ 222.047925] [drm:drm_mode_debug_printmodeline] Modeline "1920x1080": 30 74176 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
[ 222.047963] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_RANGE
[ 222.047987] [drm:drm_mode_debug_printmodeline] Modeline "1920x1080": 60 148352 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
[ 222.048025] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: CLOCK_HIGH
[ 222.048052] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:32:HDMI-A-1] probed modes :
[ 222.048087] [drm:drm_mode_debug_printmodeline] Modeline "800x600": 72 50000 800 856 976 1040 600 637 643 666 0x40 0x5
[ 222.062680] stm32-display 5a001000.display-controller: [drm:drm_mode_addfb2] [FB:43]
[ 222.062922] [drm:drm_mode_setcrtc] [CRTC:38:crtc-0]
[ 222.062994] [drm:drm_mode_setcrtc] [CONNECTOR:32:HDMI-A-1]
[ 222.063122] [drm:ltdc_encoder_mode_valid] clk rate target 50000000, available 50000000
[ 222.063238] [drm:dw_mipi_dsi_stm_resume]
[ 222.063310] [drm:dw_mipi_dsi_clk_recalc_rate]
[ 222.063352] [drm:dw_mipi_dsi_stm_suspend]
[ 222.068368] [drm:ltdc_encoder_mode_fixup] requested clock 50000kHz, adjusted clock 50000kHz
[ 222.068428] [drm:ltdc_plane_atomic_check]
[ 222.068496] [drm:ltdc_crtc_mode_set_nofb]
[ 222.068532] [drm:drv_runtime_suspend]
[ 222.068559] [drm:ltdc_suspend]
[ 222.068598] [drm:drv_runtime_resume]
[ 222.068625] [drm:ltdc_resume]
[ 222.068650] [drm:ltdc_crtc_mode_set_nofb] CRTC:38 mode:800x600
[ 222.068673] [drm:ltdc_crtc_mode_set_nofb] Video mode: 800x600
[ 222.068691] [drm:ltdc_crtc_mode_set_nofb] hfp 56 hbp 64 hsl 120 vfp 37 vbp 23 vsl 6
[ 222.068736] [drm:dw_mipi_dsi_stm_resume]
[ 222.068819] [drm:dw_mipi_dsi_clk_recalc_rate]
[ 222.068895] [drm:dw_mipi_dsi_clk_round_rate]
[ 222.068930] [drm:dw_mipi_dsi_clk_round_rate]
[ 222.068963] [drm:dw_mipi_dsi_clk_set_rate]
[ 222.068994] [drm:dw_mipi_dsi_clk_recalc_rate]
[ 222.069024] [drm:dw_mipi_dsi_clk_enable]
[ 222.071056] [drm:dw_mipi_dsi_clk_disable]
[ 222.071087] [drm:dw_mipi_dsi_get_lane_mbps] pll_in 24000kHz pll_out 600000kHz lane_mbps 600MHz
[ 222.071136] [drm:dw_mipi_dsi_clk_enable]
[ 222.084039] [drm:dw_mipi_dsi_dphy_enable] failed to wait phy lock state
[ 222.131892] [drm:dw_mipi_dsi_phy_power_on]
[ 222.131969] [drm:ltdc_plane_atomic_update] plane:34 fb:43 src: 800x600+0+0 -> crtc: 800x600+0+0
[ 222.132028] [drm:ltdc_plane_atomic_update] fb: phys 0xda100000
[ 222.132076] [drm:ltdc_crtc_atomic_enable]
[ 222.161212] [drm:ltdc_crtc_enable_vblank]
[ 227.191822] [drm:ltdc_crtc_disable_vblank]
[ 228.058990] stm32-display 5a001000.display-controller: [drm:drm_mode_rmfb_work_fn] Removing [FB:43] from all active usage due to RMFB ioctl
[ 228.059080] stm32-display 5a001000.display-controller: [drm:atomic_remove_fb] Disabling [PLANE:34:plane-0] because [FB:43] is removed
[ 228.059151] [drm:ltdc_plane_atomic_check]
[ 228.059239] [drm:ltdc_plane_atomic_disable] CRTC:38 plane:34
[ 228.059273] [drm:ltdc_crtc_enable_vblank]

 

 

best regards

 

Pawel85
Associate II

Deleted

Pawel85
Associate II

Deleted