cancel
Showing results for 
Search instead for 
Did you mean: 

modetest test my hdmi

guansonghuang
Associate II

hello

  my board usb stm32mp135faf7 cpu. and the display part change to hdmi (refer to stm32mp157c-dk discovery kit,sii9022). as demesg bellow.but I down know how to display a picture on my TV screen(to test the hdmi can worky)

log:

# echo 6 > /sys/module/drm/parameters/debug
#
#
# dmesg
[ 868.768386] stm32-display 5a001000.display-controller: [drm:check_connector_changed] [CONNECTOR:32:HDMI-A-1] status updated from disconnected to connected
[ 868.768467] stm32-display 5a001000.display-controller: [drm:check_connector_changed] [CONNECTOR:32:HDMI-A-1] Changed epoch counter 6 => 7
[ 868.768509] stm32-display 5a001000.display-controller: [drm:drm_sysfs_connector_hotplug_event] [CONNECTOR:32:HDMI-A-1] generating connector hotplug event
[ 868.768665] stm32-display 5a001000.display-controller: [drm:drm_fb_helper_hotplug_event]
[ 868.768700] [drm:drm_client_modeset_probe]
[ 868.768732] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:32:HDMI-A-1]
[ 868.785066] [drm:update_display_info] Supported Monitor Refresh rate range is 0 Hz - 0 Hz
[ 868.785143] [drm:drm_parse_cea_ext] HDMI: DVI dual 0, max TMDS clock 0 kHz
[ 868.785203] [drm:update_display_info] Supported Monitor Refresh rate range is 0 Hz - 0 Hz
[ 868.785235] [drm:drm_parse_cea_ext] HDMI: DVI dual 0, max TMDS clock 0 kHz
[ 868.785284] [drm:update_display_info] Supported Monitor Refresh rate range is 0 Hz - 0 Hz
[ 868.785313] [drm:drm_parse_cea_ext] HDMI: DVI dual 0, max TMDS clock 0 kHz
[ 868.785340] [drm:drm_edid_to_eld] ELD monitor DELL P2722H
[ 868.785365] [drm:drm_edid_to_eld] HDMI: latency present 0 0, video latency 0 0, audio latency 0 0
[ 868.785394] [drm:drm_edid_to_eld] ELD size 32, SAD count 0
[ 868.787032] [drm:ltdc_crtc_mode_valid] clk rate target 27000000, available 27272727
[ 868.787127] [drm:ltdc_crtc_mode_valid] clk rate target 40000000, available 40000000
[ 868.787298] [drm:ltdc_crtc_mode_valid] clk rate target 31500000, available 31578947
[ 868.787357] [drm:ltdc_crtc_mode_valid] clk rate target 25175000, available 25000000
[ 868.787411] [drm:ltdc_crtc_mode_valid] clk rate target 28320000, available 28571429
[ 868.787464] [drm:ltdc_crtc_mode_valid] clk rate target 49500000, available 50000000
[ 868.787516] [drm:ltdc_crtc_mode_valid] clk rate target 27000000, available 27272727
[ 868.787568] [drm:ltdc_crtc_mode_valid] clk rate target 27000000, available 27272727
[ 868.787618] [drm:ltdc_crtc_mode_valid] clk rate target 25175000, available 25000000
[ 868.787671] [drm:ltdc_crtc_mode_valid] clk rate target 27000000, available 27272727
[ 868.787723] [drm:ltdc_crtc_mode_valid] clk rate target 27027000, available 27272727
[ 868.787774] [drm:ltdc_crtc_mode_valid] clk rate target 25200000, available 25000000
[ 868.787826] [drm:ltdc_crtc_mode_valid] clk rate target 27027000, available 27272727
[ 868.787858] [drm:drm_mode_debug_printmodeline] Modeline "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x48 0x5
[ 868.787907] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: VIRTUAL_X
[ 868.787940] [drm:drm_mode_debug_printmodeline] Modeline "1920x1080i": 60 74250 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x15
[ 868.787984] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: VIRTUAL_X
[ 868.788014] [drm:drm_mode_debug_printmodeline] Modeline "1280x720": 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x5
[ 868.788057] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: VIRTUAL_X
[ 868.788088] [drm:drm_mode_debug_printmodeline] Modeline "720x480": 60 27000 720 736 798 858 480 489 495 525 0x40 0xa
[ 868.788131] [drm:drm_mode_prune_invalid] Not using 720x480 mode: CLOCK_RANGE
[ 868.788161] [drm:drm_mode_debug_printmodeline] Modeline "1152x864": 75 108000 1152 1216 1344 1600 864 865 868 900 0x40 0x5
[ 868.788205] [drm:drm_mode_prune_invalid] Not using 1152x864 mode: VIRTUAL_X
[ 868.788235] [drm:drm_mode_debug_printmodeline] Modeline "1280x1024": 60 108000 1280 1328 1440 1688 1024 1025 1028 1066 0x40 0x5
[ 868.788278] [drm:drm_mode_prune_invalid] Not using 1280x1024 mode: VIRTUAL_X
[ 868.788314] [drm:drm_mode_debug_printmodeline] Modeline "1600x900": 60 108000 1600 1624 1704 1800 900 901 904 1000 0x40 0x5
[ 868.788358] [drm:drm_mode_prune_invalid] Not using 1600x900 mode: VIRTUAL_X
[ 868.788387] [drm:drm_mode_debug_printmodeline] Modeline "640x480": 75 31500 640 656 720 840 480 481 484 500 0x40 0xa
[ 868.788430] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_RANGE
[ 868.788459] [drm:drm_mode_debug_printmodeline] Modeline "640x480": 60 25175 640 656 752 800 480 490 492 525 0x40 0xa
[ 868.788502] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_RANGE
[ 868.788531] [drm:drm_mode_debug_printmodeline] Modeline "720x400": 70 28320 720 738 846 900 400 412 414 449 0x40 0x6
[ 868.788574] [drm:drm_mode_prune_invalid] Not using 720x400 mode: CLOCK_RANGE
[ 868.788602] [drm:drm_mode_debug_printmodeline] Modeline "1280x1024": 75 135000 1280 1296 1440 1688 1024 1025 1028 1066 0x40 0x5
[ 868.788645] [drm:drm_mode_prune_invalid] Not using 1280x1024 mode: VIRTUAL_X
[ 868.788674] [drm:drm_mode_debug_printmodeline] Modeline "1024x768": 75 78750 1024 1040 1136 1312 768 769 772 800 0x40 0x5
[ 868.788718] [drm:drm_mode_prune_invalid] Not using 1024x768 mode: VIRTUAL_X
[ 868.788747] [drm:drm_mode_debug_printmodeline] Modeline "1024x768": 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
[ 868.788790] [drm:drm_mode_prune_invalid] Not using 1024x768 mode: VIRTUAL_X
[ 868.788819] [drm:drm_mode_debug_printmodeline] Modeline "800x600": 75 49500 800 816 896 1056 600 601 604 625 0x40 0x5
[ 868.788862] [drm:drm_mode_prune_invalid] Not using 800x600 mode: CLOCK_RANGE
[ 868.788890] [drm:drm_mode_debug_printmodeline] Modeline "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
[ 868.788933] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: VIRTUAL_X
[ 868.788962] [drm:drm_mode_debug_printmodeline] Modeline "1920x1080i": 60 74250 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x15
[ 868.789004] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: VIRTUAL_X
[ 868.789033] [drm:drm_mode_debug_printmodeline] Modeline "1280x720": 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x5
[ 868.789076] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: VIRTUAL_X
[ 868.789106] [drm:drm_mode_debug_printmodeline] Modeline "720x480": 60 27000 720 736 798 858 480 489 495 525 0x40 0xa
[ 868.789148] [drm:drm_mode_prune_invalid] Not using 720x480 mode: CLOCK_RANGE
[ 868.789177] [drm:drm_mode_debug_printmodeline] Modeline "720x480": 60 27000 720 736 798 858 480 489 495 525 0x40 0xa
[ 868.789219] [drm:drm_mode_prune_invalid] Not using 720x480 mode: CLOCK_RANGE
[ 868.789248] [drm:drm_mode_debug_printmodeline] Modeline "640x480": 60 25175 640 656 752 800 480 490 492 525 0x40 0xa
[ 868.789290] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_RANGE
[ 868.789319] [drm:drm_mode_debug_printmodeline] Modeline "1920x1080i": 50 74250 1920 2448 2492 2640 1080 1084 1094 1125 0x40 0x15
[ 868.789362] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: VIRTUAL_X
[ 868.789391] [drm:drm_mode_debug_printmodeline] Modeline "1920x1080": 50 148500 1920 2448 2492 2640 1080 1084 1089 1125 0x40 0x5
[ 868.789433] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: VIRTUAL_X
[ 868.789462] [drm:drm_mode_debug_printmodeline] Modeline "720x576": 50 27000 720 732 796 864 576 581 586 625 0x40 0xa
[ 868.789505] [drm:drm_mode_prune_invalid] Not using 720x576 mode: CLOCK_RANGE
[ 868.789533] [drm:drm_mode_debug_printmodeline] Modeline "1280x720": 50 74250 1280 1720 1760 1980 720 725 730 750 0x40 0x5
[ 868.789576] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: VIRTUAL_X
[ 868.789605] [drm:drm_mode_debug_printmodeline] Modeline "1920x1080": 60 148352 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
[ 868.789648] [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: VIRTUAL_X
[ 868.789677] [drm:drm_mode_debug_printmodeline] Modeline "1920x1080i": 60 74176 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x15
[ 868.789720] [drm:drm_mode_prune_invalid] Not using 1920x1080i mode: VIRTUAL_X
[ 868.789749] [drm:drm_mode_debug_printmodeline] Modeline "1280x720": 60 74176 1280 1390 1430 1650 720 725 730 750 0x40 0x5
[ 868.789792] [drm:drm_mode_prune_invalid] Not using 1280x720 mode: VIRTUAL_X
[ 868.789821] [drm:drm_mode_debug_printmodeline] Modeline "720x480": 60 27027 720 736 798 858 480 489 495 525 0x40 0xa
[ 868.789864] [drm:drm_mode_prune_invalid] Not using 720x480 mode: CLOCK_RANGE
[ 868.789892] [drm:drm_mode_debug_printmodeline] Modeline "640x480": 60 25200 640 656 752 800 480 490 492 525 0x40 0xa
[ 868.789935] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_RANGE
[ 868.789964] [drm:drm_mode_debug_printmodeline] Modeline "720x480": 60 27027 720 736 798 858 480 489 495 525 0x40 0xa
[ 868.790007] [drm:drm_mode_prune_invalid] Not using 720x480 mode: CLOCK_RANGE
[ 868.790038] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:32:HDMI-A-1] probed modes :
[ 868.790067] [drm:drm_mode_debug_printmodeline] Modeline "800x600": 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5
[ 868.790112] [drm:drm_client_modeset_probe] connector 32 enabled? yes
[ 868.790148] [drm:drm_client_firmware_config.constprop.0] Not using firmware configuration
[ 868.790177] [drm:drm_client_target_preferred] looking for cmdline mode on connector 32
[ 868.790203] [drm:drm_client_target_preferred] looking for preferred mode on connector 32 0
[ 868.790226] [drm:drm_client_target_preferred] found mode 800x600
[ 868.790247] [drm:drm_client_modeset_probe] picking CRTCs for 800x600 config
[ 868.790277] [drm:drm_client_modeset_probe] desired mode 800x600 set on crtc 41 (0,0)
[ 868.790447] [drm:ltdc_crtc_mode_valid] clk rate target 40000000, available 40000000
[ 868.790538] [drm:ltdc_crtc_mode_fixup] requested clock 40000kHz, adjusted clock 40000kHz
[ 868.790581] [drm:ltdc_plane_atomic_check]
[ 868.790605] [drm:ltdc_plane_atomic_check]
[ 868.790694] [drm:drv_runtime_resume]
[ 868.790723] [drm:ltdc_resume]
[ 868.790806] [drm:ltdc_crtc_mode_set_nofb] CRTC:41 mode:800x600
[ 868.790844] [drm:ltdc_crtc_mode_set_nofb] Video mode: 800x600
[ 868.790870] [drm:ltdc_crtc_mode_set_nofb] hfp 40 hbp 88 hsl 128 vfp 1 vbp 23 vsl 4
[ 868.791037] [drm:ltdc_encoder_mode_set]
[ 868.792227] [drm:ltdc_plane_atomic_update] plane:34 fb:49 (800x600)@(0,0) -> (800x600)@(0,0)
[ 868.792317] [drm:ltdc_plane_atomic_update] fb: phys 0xd9100000
[ 868.792369] [drm:ltdc_crtc_atomic_enable]
[ 868.792421] [drm:ltdc_encoder_enable]
[ 868.792928] [drm:ltdc_crtc_enable_vblank]
[ 868.809196] stm32-display 5a001000.display-controller: [drm:drm_client_dev_hotplug] fbdev: ret=0

1 REPLY 1
guansonghuang
Associate II

can anyone help me?