Firefly开源社区

RK3399_hdmi分辨率设置不能正确设置

18

积分

0

威望

0

贡献

技术小白

积分
18
发表于 2019-3-14 20:48:57     
各位大神,我在RK3399上调试 一块3840x720P的屏幕,遇到如下问题,能正确识别edid ,却不能正确设置分辨率。

[   52.749378] [drm:drm_helper_hpd_irq_event] [CONNECTOR:102:HDMI-A-1] status updated from disconnected to connected
[   52.749421] [drm:drm_helper_hpd_irq_event] [CONNECTOR:109:DP-1] status updated from disconnected to disconnected
[   52.749441] [drm:drm_sysfs_hotplug_event] generating hotplug event
[   52.749817] [drm:drm_ioctl] pid=246, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[   52.749844] [drm:drm_mode_getconnector] [CONNECTOR:102:?]
[   52.749868] [drm:drm_helper_probe_single_connector_modes_merge_bits] [CONNECTOR:102:HDMI-A-1]
[   52.974176] [drm:drm_detect_monitor_audio] Monitor has basic audio support
[   52.974241] [drm:drm_parse_hdmi_vsdb_video] HDMI: DVI dual 0, max TMDS clock 300000 kHz
[   52.974261] [drm:drm_parse_hdmi_deep_color_info] HDMI-A-1: HDMI sink does deep color 30.
[   52.974280] [drm:drm_parse_hdmi_deep_color_info] HDMI-A-1: HDMI sink does deep color 36.
[   52.974300] [drm:drm_parse_hdmi_deep_color_info] HDMI-A-1: Assigning HDMI sink color depth as 12 bpc.
[   52.974317] [drm:drm_parse_hdmi_deep_color_info] HDMI-A-1: HDMI sink does YCRCB444 in deep color.
[   52.974337] [drm:drm_parse_hdmi_forum_vsdb] HF-VSDB: max TMDS clock 600000 kHz
[   52.974903] [drm:drm_edid_to_eld] ELD monitor LUPUS
[   52.974931] [drm:drm_parse_hdmi_vsdb_audio] HDMI: latency present 0 0, video latency 8 1, audio latency 96 3
[   52.974951] [drm:drm_edid_to_eld] ELD size 28, SAD count 1

正确的识别到了显示器信息

[   52.991530] [drm:drm_helper_probe_single_connector_modes_merge_bits] [CONNECTOR:102:HDMI-A-1] probed modes :
[   52.991569] [drm:drm_mode_debug_printmodeline] Modeline 112:"3840x720" 60 211500 3840 4016 4104 4400 720 728 738 800 0x48 0x5  支持我这个分辨率
[   52.991602] [drm:drm_mode_debug_printmodeline] Modeline 146:"3840x2160" 60 594000 3840 4016 4104 4400 2160 2168 2178 2250 0x40 0x5
[   52.991633] [drm:drm_mode_debug_printmodeline] Modeline 164:"3840x2160" 60 593407 3840 4016 4104 4400 2160 2168 2178 2250 0x40 0x5
[   52.991664] [drm:drm_mode_debug_printmodeline] Modeline 145:"3840x2160" 50 594000 3840 4896 4984 5280 2160 2168 2178 2250 0x40 0x5
[   52.991695] [drm:drm_mode_debug_printmodeline] Modeline 142:"3840x2160" 30 297000 3840 4016 4104 4400 2160 2168 2178 2250 0x40 0x5
[   52.991726] [drm:drm_mode_debug_printmodeline] Modeline 162:"3840x2160" 30 296703 3840 4016 4104 4400 2160 2168 2178 2250 0x40 0x5
[   52.991758] [drm:drm_mode_debug_printmodeline] Modeline 143:"3840x2160" 25 297000 3840 4896 4984 5280 2160 2168 2178 2250 0x40 0x5
[   52.991789] [drm:drm_mode_debug_printmodeline] Modeline 144:"3840x2160" 24 297000 3840 5116 5204 5500 2160 2168 2178 2250 0x40 0x5
[   52.991819] [drm:drm_mode_debug_printmodeline] Modeline 163:"3840x2160" 24 296703 3840 5116 5204 5500 2160 2168 2178 2250 0x40 0x5
[   52.991850] [drm:drm_mode_debug_printmodeline] Modeline 117:"1920x1080" 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0xa
[   52.991881] [drm:drm_mode_debug_printmodeline] Modeline 140:"1920x1080" 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
[   52.991912] [drm:drm_mode_debug_printmodeline] Modeline 161:"1920x1080" 60 148352 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
[   52.991943] [drm:drm_mode_debug_printmodeline] Modeline 135:"1920x1080i" 60 74250 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x15
[   52.991974] [drm:drm_mode_debug_printmodeline] Modeline 158:"1920x1080i" 60 74176 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x15
[   52.992005] [drm:drm_mode_debug_printmodeline] Modeline 114:"1920x1080" 50 148500 1920 2448 2492 2640 1080 1084 1089 1125 0x40 0x5
[   52.992036] [drm:drm_mode_debug_printmodeline] Modeline 115:"1920x1080i" 50 74250 1920 2448 2492 2640 1080 1082 1087 1125 0x40 0x15
[   52.992067] [drm:drm_mode_debug_printmodeline] Modeline 136:"1920x1080i" 50 74250 1920 2448 2492 2640 1080 1084 1094 1125 0x40 0x15
[   52.992098] [drm:drm_mode_debug_printmodeline] Modeline 137:"1920x1080" 30 74250 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
[   52.992129] [drm:drm_mode_debug_printmodeline] Modeline 159:"1920x1080" 30 74176 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
[   52.992160] [drm:drm_mode_debug_printmodeline] Modeline 138:"1920x1080" 25 74250 1920 2448 2492 2640 1080 1084 1089 1125 0x40 0x5
[   52.992319] [drm:drm_mode_debug_printmodeline] Modeline 139:"1920x1080" 24 74250 1920 2558 2602 2750 1080 1084 1089 1125 0x40 0x5
[   52.992353] [drm:drm_mode_debug_printmodeline] Modeline 160:"1920x1080" 24 74176 1920 2558 2602 2750 1080 1084 1089 1125 0x40 0x5
[   52.992384] [drm:drm_mode_debug_printmodeline] Modeline 118:"1280x720" 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x5
[   52.992415] [drm:drm_mode_debug_printmodeline] Modeline 150:"1280x720" 60 74176 1280 1390 1430 1650 720 725 730 750 0x40 0x5
[   52.992446] [drm:drm_mode_debug_printmodeline] Modeline 116:"1280x720" 50 74250 1280 1720 1760 1980 720 725 730 750 0x40 0x5
[   52.992491] [drm:drm_mode_debug_printmodeline] Modeline 119:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
[   52.992522] [drm:drm_mode_debug_printmodeline] Modeline 120:"800x600" 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5
[   52.992553] [drm:drm_mode_debug_printmodeline] Modeline 131:"720x576" 50 27000 720 732 796 864 576 581 586 625 0x40 0xa
[   52.992585] [drm:drm_mode_debug_printmodeline] Modeline 129:"720x576i" 50 13500 720 732 795 864 576 580 586 625 0x40 0x101a
[   52.992624] [drm:drm_mode_debug_printmodeline] Modeline 155:"720x480" 60 27027 720 736 798 858 480 489 495 525 0x40 0xa
[   52.992662] [drm:drm_mode_debug_printmodeline] Modeline 127:"720x480" 60 27000 720 736 798 858 480 489 495 525 0x40 0xa
[   52.992700] [drm:drm_mode_debug_printmodeline] Modeline 153:"720x480i" 60 13514 720 739 801 858 480 488 494 525 0x40 0x101a
[   52.992737] [drm:drm_mode_debug_printmodeline] Modeline 125:"720x480i" 60 13500 720 739 801 858 480 488 494 525 0x40 0x101a
[   52.992774] [drm:drm_mode_debug_printmodeline] Modeline 151:"640x480" 60 25200 640 656 752 800 480 490 492 525 0x40 0xa
[   52.992811] [drm:drm_mode_debug_printmodeline] Modeline 122:"640x480" 60 25175 640 656 752 800 480 490 492 525 0x40 0xa
[   52.997681] [drm:drm_ioctl] pid=246, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[   52.997706] [drm:drm_mode_getconnector] [CONNECTOR:102:?]
[   52.997995] [drm:drm_ioctl] pid=246, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[   52.998006] [drm:drm_mode_getconnector] [CONNECTOR:109:?]
[   52.998017] [drm:drm_helper_probe_single_connector_modes_merge_bits] [CONNECTOR:109:DP-1]
[   52.998027] [drm:drm_helper_probe_single_connector_modes_merge_bits] [CONNECTOR:109:DP-1] disconnected
[   52.998048] [drm:drm_ioctl] pid=246, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCONNECTOR
[   52.998056] [drm:drm_mode_getconnector] [CONNECTOR:109:?]
[   53.004474] [drm:drm_ioctl] pid=206, dev=0xe200, auth=1, DRM_IOCTL_MODE_SETPROPERTY
[   53.004523] [drm:drm_ioctl] pid=206, dev=0xe200, auth=1, DRM_IOCTL_MODE_SETPROPERTY
[   53.004564] [drm:drm_ioctl] pid=206, dev=0xe200, auth=1, DRM_IOCTL_MODE_ATOMIC
[   53.004578] [drm:drm_atomic_state_init] Allocated atomic state ffffffc0dc049980
[   53.004594] [drm:drm_atomic_get_crtc_state] Added [CRTC:57] ffffffc0e5ba8000 state to ffffffc0dc049980
[   53.004612] [drm:drm_atomic_get_crtc_state] Added [CRTC:91] ffffffc0e5ba9000 state to ffffffc0dc049980
[   53.004626] [drm:drm_atomic_get_connector_state] Added [CONNECTOR:102] ffffffc0dc049c00 state to ffffffc0dc049980
[   53.004636] [drm:drm_atomic_set_crtc_for_connector] Link connector state ffffffc0dc049c00 to [NOCRTC]
[   53.004648] [drm:drm_atomic_get_connector_state] Added [CONNECTOR:109] ffffffc0dc049f80 state to ffffffc0dc049980
[   53.004656] [drm:drm_atomic_set_crtc_for_connector] Link connector state ffffffc0dc049f80 to [NOCRTC]
[   53.004665] [drm:drm_atomic_check_only] checking ffffffc0dc049980
[   53.004678] [drm:update_connector_routing] Updating routing for [CONNECTOR:102:HDMI-A-1]
[   53.004686] [drm:update_connector_routing] Disabling [CONNECTOR:102:HDMI-A-1]
[   53.004695] [drm:update_connector_routing] Updating routing for [CONNECTOR:109:DP-1]
[   53.004702] [drm:update_connector_routing] Disabling [CONNECTOR:109:DP-1]
[   53.004730] [drm:drm_atomic_commit] commiting ffffffc0dc049980
[   53.004758] [drm:drm_atomic_state_default_clear] Clearing atomic state ffffffc0dc049980
[   53.004772] [drm:drm_atomic_state_free] Freeing atomic state ffffffc0dc049980
[   53.004846] [drm:drm_ioctl] pid=206, dev=0xe200, auth=1, DRM_IOCTL_MODE_ATOMIC
[   53.004858] [drm:drm_atomic_state_init] Allocated atomic state ffffffc0dc049980
[   53.004870] [drm:drm_atomic_get_connector_state] Added [CONNECTOR:102] ffffffc0dc049580 state to ffffffc0dc049980
[   53.004880] [drm:drm_atomic_check_only] checking ffffffc0dc049980
[   53.004889] [drm:update_connector_routing] Updating routing for [CONNECTOR:102:HDMI-A-1]
[   53.004897] [drm:update_connector_routing] Disabling [CONNECTOR:102:HDMI-A-1]
[   53.004905] [drm:drm_atomic_commit] commiting ffffffc0dc049980
[   53.004917] [drm:drm_atomic_state_default_clear] Clearing atomic state ffffffc0dc049980
[   53.004925] [drm:drm_atomic_state_free] Freeing atomic state ffffffc0dc049980
[   53.005901] [drm:drm_ioctl] pid=206, dev=0xe280, auth=0, ROCKCHIP_GEM_CREATE
[   53.014330] [drm:rockchip_gem_get_pages] rockchip_gem_get_pages, 203, end = 2700, n_pages = 2700
[   53.015670] [drm:drm_ioctl] pid=247, dev=0xe200, auth=1, DRM_IOCTL_WAIT_VBLANK
[   53.015689] [drm:drm_vblank_enable] enabling vblank on crtc 0, ret: -1
[   53.015699] [drm:drm_wait_vblank] failed to acquire vblank counter, -1
[   53.015710] [drm:drm_ioctl] ret = -1
[   53.016780] [drm:drm_ioctl] pid=206, dev=0xe280, auth=0, DRM_IOCTL_PRIME_HANDLE_TO_FD
[   53.016825] [drm:drm_ioctl] pid=206, dev=0xe280, auth=0, ROCKCHIP_GEM_MAP_OFFSET
[   53.016838] [drm:rockchip_gem_dumb_map_offset] offset = 0x103600000
[   53.032335] [drm:drm_ioctl] pid=247, dev=0xe200, auth=1, DRM_IOCTL_WAIT_VBLANK
[   53.032363] [drm:drm_vblank_enable] enabling vblank on crtc 0, ret: -1
[   53.032373] [drm:drm_wait_vblank] failed to acquire vblank counter, -1
[   53.032382] [drm:drm_ioctl] ret = -1
[   53.040576] [drm:drm_ioctl] pid=206, dev=0xe200, auth=1, DRM_IOCTL_PRIME_FD_TO_HANDLE
[   53.040635] [drm:drm_ioctl] pid=206, dev=0xe200, auth=1, DRM_IOCTL_MODE_ADDFB2
[   53.040663] [drm:drm_mode_addfb2] [FB:113]
[   53.040677] [drm:drm_ioctl] pid=206, dev=0xe200, auth=1, DRM_IOCTL_GEM_CLOSE
[   53.040742] [drm:drm_ioctl] pid=206, dev=0xe200, auth=1, DRM_IOCTL_PRIME_FD_TO_HANDLE
[   53.040763] [drm:drm_ioctl] pid=206, dev=0xe200, auth=1, DRM_IOCTL_MODE_ADDFB2
[   53.040776] [drm:drm_mode_addfb2] [FB:121]
[   53.040789] [drm:drm_ioctl] pid=206, dev=0xe200, auth=1, DRM_IOCTL_GEM_CLOSE
[   53.041819] [drm:drm_ioctl] pid=206, dev=0xe200, auth=1, DRM_IOCTL_MODE_CREATEPROPBLOB
[   53.041855] [drm:drm_ioctl] pid=206, dev=0xe200, auth=1, DRM_IOCTL_MODE_SETPROPERTY
[   53.041914] [drm:drm_ioctl] pid=206, dev=0xe200, auth=1, DRM_IOCTL_MODE_ATOMIC
[   53.041931] [drm:drm_atomic_state_init] Allocated atomic state ffffffc0bde4c280
[   53.041953] [drm:drm_atomic_get_crtc_state] Added [CRTC:57] ffffffc0e9cd4000 state to ffffffc0bde4c280
[   53.041970] [drm:drm_property_reference_blob] ffffffc0dca35180: blob ID: 123 (3)
[   53.041980] [drm:drm_atomic_set_mode_prop_for_crtc] Set [MODE:1920x1080] for CRTC state ffffffc0e9cd4000   为什么给我设置成了1920x1080p
[   53.041990] [drm:drm_property_unreference_blob] ffffffc0dca35180: blob ID: 123 (4)
[   53.042000] [drm:drm_property_unreference_blob] ffffffc0dca35180: blob ID: 123 (3)

我的目的就是要让他支持3840x720 .哪怕写死也行。。。求大神解答  感激不尽

回复

使用道具 举报

20

积分

0

威望

0

贡献

技术小白

积分
20
发表于 2019-6-28 09:24:14     
同上呀,求大神解决
回复

使用道具 举报

*滑块验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表