TK1 Kernel stops booting if UHD monitor is conected to HDMI

Hi everyone

System environment: We are using the TK1 on a proprietary board. The HDMI output port connects directly to the TK1. The kernel was built using Linux4Tegra R21.3.

Problem: If we connect monitors with a resolution up to 1080p60, the kernel boots normally. However, if we connect a UHD monitor (2160p60), the kernel stops booting after about 4s without any error message (see following kernel output). We have tested an UHD monitor of Samsung (UE40HU6900S) and the HDMI tester of Quantum Data (780B). However, we experienced the same problem in both cases.

Starting kernel ...                                                                                                                                                                 

[    0.000000] Booting Linux on physical CPU 0x0                                                                                                                                    
[    0.000000] Initializing cgroup subsys cpu                                                                                                                                       
[    0.000000] Initializing cgroup subsys cpuacct                                                                                                                                   
[    0.000000] Linux version 3.10.40-g4518463-dirty (weii@weii-PC) (gcc version 4.8.2 (Ubuntu/Linaro 4.8.2-16ubuntu4) ) #0 SMP PREEMPT Thu Apr 23 10:03:00 CEST 2015                
[    0.000000] CPU: ARMv7 Processor [413fc0f3] revision 3 (ARMv7), cr=10c5387d                                                                                                      
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache                                                                                                      
[    0.000000] Machine: InES-TK1, model: InES-TK1, serial: 0                                                                                                                        
[    0.000000] Tegra reserved memory:                                                                                                                                               
[    0.000000] LP0:                    00000000 - 00000000                                                                                                                          
[    0.000000] Bootloader framebuffer: 00000000 - 00000000                                                                                                                          
[    0.000000] Bootloader framebuffer2: 00000000 - 00000000                                                                                                                         
[    0.000000] Framebuffer:            fa500000 - fb6fffff                                                                                                                          
[    0.000000] 2nd Framebuffer:        fb700000 - ffefffff                                                                                                                          
[    0.000000] Carveout:               00000000 - 00000000                                                                                                                          
[    0.000000] Vpr:                    00000000 - 00000000                                                                                                                          
[    0.000000] Tsec:                   00000000 - 00000000                                                                                                                          
[    0.000000] cma: CMA: reserved 16 MiB at ae800000                                                                                                                                
[    0.000000] Memory policy: ECC disabled, Data cache writealloc                                                                                                                   
[    0.000000] DTS File Name: arch/arm/boot/dts/tegra124-ines-tk1.dts                                                                                                               
[    0.000000] Tegra12: CPU Speedo value 2272, Soc Speedo value 2242, Gpu Speedo value 2086                                                                                         
[    0.000000] Tegra12: CPU Speedo ID 5, Soc Speedo ID 0, Gpu Speedo ID 1                                                                                                           
[    0.000000] Tegra12: CPU Process ID 0,Soc Process ID 1,Gpu Process ID 0                                                                                                          
[    0.000000] Tegra Revision: A01 SKU: 0x87 CPU Process: 0 Core Process: 1                                                                                                         
[    0.000000] tegra: PLLP fixed rate: 408000000                                                                                                                                    
[    0.000000] tegra_clk_shared_bus_user_init: c2bus client se left ON                                                                                                              
[    0.000000] tegra_clk_shared_bus_user_init: c4bus client vi left ON                                                                                                              
[    0.000000] Lowering cpu_lp maximum rate from 1350000000 to 1044000000                                                                                                           
[    0.000000] Lowering sbus maximum rate from 420000000 to 372000000                                                                                                               
[    0.000000] Lowering vic03 maximum rate from 900000000 to 756000000                                                                                                              
[    0.000000] Lowering tsec maximum rate from 900000000 to 756000000                                                                                                               
[    0.000000] Lowering msenc maximum rate from 600000000 to 480000000                                                                                                              
[    0.000000] Lowering se maximum rate from 600000000 to 480000000                                                                                                                 
[    0.000000] Lowering vde maximum rate from 600000000 to 480000000                                                                                                                
[    0.000000] Lowering host1x maximum rate from 500000000 to 408000000                                                                                                             
[    0.000000] Lowering vi maximum rate from 700000000 to 600000000                                                                                                                 
[    0.000000] Lowering isp maximum rate from 700000000 to 600000000                                                                                                                
[    0.000000] Lowering c4bus maximum rate from 700000000 to 600000000                                                                                                              
[    0.000000] Lowering pll_c maximum rate from 1400000000 to 1066000000                                                                                                            
[    0.000000] Lowering pll_c2 maximum rate from 1200000000 to 1066000000                                                                                                           
[    0.000000] Lowering pll_c3 maximum rate from 1200000000 to 1066000000                                                                                                           
[    0.000000] Lowering hdmi maximum rate from 594000000 to 297000000                                                                                                               
[    0.000000] Lowering sdmmc1 maximum rate from 208000000 to 204000000                                                                                                             
[    0.000000] Lowering sdmmc3 maximum rate from 208000000 to 204000000                                                                                                             
[    0.000000] Lowering gbus maximum rate from 1032000000 to 852000000                                                                                                              
[    0.000000] Lowering cpu_g maximum rate from 3000000000 to 2218500000                                                                                                            
[    0.000000] tegra dvfs: VDD_CPU nominal 1260mV, scaling enabled                                                                                                                  
[    0.000000] tegra dvfs: VDD_CORE nominal 1150mV, scaling enabled                                                                                                                 
[    0.000000] tegra dvfs: VDD_GPU nominal 1200mV, scaling enabled                                                                                                                  
[    0.000000] Switching to timer-based delay loop                                                                                                                                  
[    0.000000] tegra_powergate_init: DONE                                                                                                                                           
[    0.000000] tegra12_plle_clk_enable: pll_e is already enabled                                                                                                                    
[    0.000000] PERCPU: Embedded 9 pages/cpu @c1e29000 s15360 r8192 d13312 u36864                                                                                                    
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 499472                                                                                          
[    0.000000] Kernel command line: console=ttyS0,115200N8 earlyprintk ipconfdelay=10 root=/dev/nfs nfsroot=160.85.232.185:/srv/nfs/root,v3 rw rootwait ip=dhcp                     
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)                                                                                                                 
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)                                                                                                     
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)                                                                                                       
[    0.000000] Memory: 1957MB = 1957MB total                                                                                                                                        
[    0.000000] Memory: 1955612k/1955612k available, 140516k reserved, 1225728K highmem                                                                                              
[    0.000000] Virtual kernel memory layout:                                                                                                                                        
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)                                                                                                                    
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)                                                                                                                    
[    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)                                                                                                                    
[    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)                                                                                                                    
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)                                                                                                                    
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)                                                                                                                    
[    0.000000]       .text : 0xc0008000 - 0xc0af6550   (11194 kB)                                                                                                                   
[    0.000000]       .init : 0xc0af7000 - 0xc0b76c00   ( 511 kB)                                                                                                                    
[    0.000000]       .data : 0xc0b78000 - 0xc0cd1b30   (1383 kB)                                                                                                                    
[    0.000000]        .bss : 0xc0cd1b30 - 0xc0d5c90c   ( 556 kB)                                                                                                                    
[    0.000000] Preemptible hierarchical RCU implementation.                                                                                                                         
[    0.000000] NR_IRQS:960                                                                                                                                                          
[    0.000000] the number of interrupt controllers found is 5                                                                                                                       
[    0.000000] Architected local timer running at 12.00MHz (phys).                                                                                                                  
[    0.000000] sched_clock: 56 bits at 12MHz, resolution 83ns, wraps every 2863311536128ns                                                                                          
[    0.000000] Ignoring duplicate/late registration of read_current_timer delay                                                                                                     
[    0.000000] Console: colour dummy device 80x30                                                                                                                                   
[    0.000348] Calibrating delay loop (skipped), value calculated using timer frequency.. lpj=12000                                                                                 
[    0.000364] pid_max: default: 32768 minimum: 301                                                                                                                                 
[    0.000626] Mount-cache hash table entries: 512                                                                                                                                  
[    0.018491] Initializing cgroup subsys debug                                                                                                                                     
[    0.018507] Initializing cgroup subsys freezer                                                                                                                                   
[    0.018564] CPU: Testing write buffer coherency: ok                                                                                                                              
[    0.018601] ftrace: allocating 30297 entries in 60 pages                                                                                                                         
[    0.057495] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000                                                                                                                     
[    0.057526] Setting up static identity map for 0xc07e5e30 - 0xc07e5ed4                                                                                                           
[    0.061511] ftrace: Allocated trace_printk buffers                                                                                                                               
[    0.069133] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001                                                                                                                     
[    0.072135] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002                                                                                                                     
[    0.075183] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003                                                                                                                     
[    0.075367] Brought up 4 CPUs                                                                                                                                                    
[    0.075405] SMP: Total of 4 processors activated.                                                                                                                                
[    0.075413] CPU: All CPU(s) started in SVC mode.                                                                                                                                 
[    0.076425] devtmpfs: initialized                                                                                                                                                
[    0.084044] pinctrl core: initialized pinctrl subsystem                                                                                                                          
[    0.084378] regulator-dummy: no parameters                                                                                                                                       
[    0.085101] NET: Registered protocol family 16                                                                                                                                   
[    0.086862] DMA: preallocated 256 KiB pool for atomic coherent allocations                                                                                                       
[    0.088101] tegra_smmu tegra_smmu: Loaded Tegra IOMMU driver                                                                                                                     
[    0.088907] cpuidle: using governor ladder                                                                                                                                       
[    0.088917] cpuidle: using governor menu                                                                                                                                         
[    0.099866] tegra124-pinctrl 70000868.pinmux: lookup the user state drive not found                                                                                              
[    0.099880] tegra124-pinctrl 70000868.pinmux: lookup the user state unused not found                                                                                             
[    0.100545] gpiochip_add: registered GPIOs 0 to 255 on device: tegra-gpio                                                                                                        
[    0.106518] Wake16 for irq=34                                                                                                                                                    
[    0.111983] platform tegradc.0: IOVA linear map 0xfa500000(1200000)                                                                                                              
[    0.114924] platform tegradc.0: IOVA linear map 0xfb700000(4800000)                                                                                                              
[    0.117418] Wake39 for irq=52                                                                                                                                                    
[    0.120578] PMC DT attribute suspend_mode=2, board value=3                                                                                                                       
[    0.120633] tegra_init_suspend: Suspend mode LP0 requested, no lp0_vec provided by bootlader -- disabling LP0                                                                    
[    0.121053] Clear bootloader IO dpd settings                                                                                                                                     
[    0.121065] tegra_meerkat_edp_init: CPU regulator 15000 mA                                                                                                                       
[    0.404050] tegra_meerkat_edp_init: GPU regulator 8000 mA                                                                                                                        
[    0.404073] swapper/0 isomgr_init(): iso emc max clk=1200000KHz                                                                                                                  
[    0.404082] swapper/0 isomgr_init(): max_iso_bw=9600000KB[    0.404361] nct72 registered                                                                                         
[    0.404455] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.                                                                                          
[    0.404464] hw-breakpoint: maximum watchpoint size is 8 bytes.                                                                                                                   
[    0.404755] mc-err: Started MC error interface!                                                                                                                                  
[    0.414178] bio: create slab <bio-0> at 0                                                                                                                                        
[    0.415940] +VDD_MUX: 5000 mV                                                                                                                                                    
[    0.416011] reg-fixed-voltage 0.regulator: Failed to find supply vin                                                                                                             
[    0.416110] reg-fixed-voltage 0.regulator: Failed to register regulator: -517                                                                                                    
[    0.416130] platform 0.regulator: Driver reg-fixed-voltage requests probe deferral                                                                                               
[    0.416288] +5V_SYS: 5000 mV                                                                                                                                                     
[    0.416329] reg-fixed-voltage 1.regulator: Failed to find supply vin                                                                                                             
[    0.416416] reg-fixed-voltage 1.regulator: Failed to register regulator: -517                                                                                                    
[    0.416436] platform 1.regulator: Driver reg-fixed-voltage requests probe deferral                                                                                               
[    0.416590] +3V3_SYS: 3300 mV                                                                                                                                                    
[    0.416632] reg-fixed-voltage 2.regulator: Failed to find supply vin                                                                                                             
[    0.416716] reg-fixed-voltage 2.regulator: Failed to register regulator: -517                                                                                                    
[    0.416734] platform 2.regulator: Driver reg-fixed-voltage requests probe deferral                                                                                               
[    0.416831] platform 3.regulator: Driver reg-fixed-voltage requests probe deferral                                                                                               
[    0.417001] +3V3_AVDD_HDMI_AP_GATED: 3300 mV                                                                                                                                     
[    0.417042] reg-fixed-voltage 4.regulator: Failed to find supply vin                                                                                                             
[    0.417126] reg-fixed-voltage 4.regulator: Failed to register regulator: -517                                                                                                    
[    0.417145] platform 4.regulator: Driver reg-fixed-voltage requests probe deferral                                                                                               
[    0.417240] platform 5.regulator: Driver reg-fixed-voltage requests probe deferral                                                                                               
[    0.417420] +1V05_RUN_AVDD_HDMI_PLL_AP_GATED: 1050 mV                                                                                                                            
[    0.417459] reg-fixed-voltage 6.regulator: Failed to find supply vin                                                                                                             
[    0.417552] reg-fixed-voltage 6.regulator: Failed to register regulator: -517                                                                                                    
[    0.417570] platform 6.regulator: Driver reg-fixed-voltage requests probe deferral                                                                                               
[    0.417723] +VDD_5V: 5000 mV                                                                                                                                                     
[    0.417940] +VDD_3V3: 3300 mV                                                                                                                                                    
[    0.418200] +USB3.0_VCC: 5000 mV                                                                                                                                                 
[    0.418245] reg-fixed-voltage 66.regulator: Failed to find supply vin                                                                                                            
[    0.418336] reg-fixed-voltage 66.regulator: Failed to register regulator: -517                                                                                                   
[    0.418354] platform 66.regulator: Driver reg-fixed-voltage requests probe deferral                                                                                              
[    0.418505] avdd_dsi_csi: 1200 mV                                                                                                                                                
[    0.418543] reg-fixed-voltage 67.regulator: Failed to find supply vin                                                                                                            
[    0.418627] reg-fixed-voltage 67.regulator: Failed to register regulator: -517                                                                                                   
[    0.418646] platform 67.regulator: Driver reg-fixed-voltage requests probe deferral                                                                                              
[    0.419830] vgaarb: loaded                                                                                                                                                       
[    0.420458] SCSI subsystem initialized                                                                                                                                           
[    0.420826] usbcore: registered new interface driver usbfs                                                                                                                       
[    0.420894] usbcore: registered new interface driver hub                                                                                                                         
[    0.420995] usbcore: registered new device driver usb                                                                                                                            
[    0.424626] gpiochip_add: registered GPIOs 1008 to 1023 on device: pca6416a                                                                                                      
[    0.424637] pca6416a 1-0020: successfully probed                                                                                                                                 
[    0.425894] Wake18 for irq=118                                                                                                                                                   
[    0.427797] as3722 0-0040: AS3722 ID: ID1:ID2:ID3 = 0x0c:0x01:0x15                                                                                                               
[    0.427809] as3722 0-0040: Final OTP version 1V21                                                                                                                                
[    0.429921] Wake18 for irq=118                                                                                                                                                   
[    0.441375] gpiochip_add: registered GPIOs 1000 to 1007 on device: as3722-gpio                                                                                                   
[    0.441561] as3722-regulator as3722-regulator.0: Consumer cpu does not have device name                                                                                          
[    0.441598] as3722-regulator as3722-regulator.0: Consumer core does not have device name                                                                                         
[    0.441701] as3722-regulator as3722-regulator.0: Consumer gpu does not have device name                                                                                          
[    0.441715] as3722-regulator as3722-regulator.0: Consumer gpu_simon does not have device name                                                                                    
[    0.443574] +VDD_CPU_AP: 650 <--> 1300 mV at 800 mV 3500 mA                                                                                                                      
[    0.446710] +VDD_CORE: 700 <--> 1350 mV at 1100 mV 3500 mA                                                                                                                       
[    0.448786] +1V35_LP0(sd2): at 1350 mV                                                                                                                                           
[    0.448847] as3722-regulator as3722-regulator.0: Failed to find supply vsup-sd2                                                                                                  
[    0.448943] as3722-regulator as3722-regulator.0: regulator 2 register failed -517                                                                                                
[    0.449211] platform as3722-regulator.0: Driver as3722-regulator requests probe deferral                                                                                         
[    0.450123] Linux video capture interface: v2.00                                                                                                                                 
[    0.451462] Advanced Linux Sound Architecture Driver Initialized.                                                                                                                
[    0.457492] as3722-adc-extcon as3722-adc-extcon.2: USB-Host is disconnected                                                                                                      
[    0.461286] platform power_detect.6: Driver tegra-power-detect requests probe deferral                                                                                           
[    0.461502] Switching to clocksource arch_sys_counter                                                                                                                            
[    0.482830] nvmap_heap_init: nvmap_heap_init: created heap block cache                                                                                                           
[    0.482973] nvmap_page_pool_init: Total MB RAM: 1925                                                                                                                             
[    0.482983] nvmap_page_pool_init: nvmap page pool size: 61600 pages (240 MB)                                                                                                     
[    0.574177] nvmap_page_pool_init: highmem=25600, pool_size=61600,totalram=492999, freeram=464483, totalhigh=306432, freehigh=280762                                              
[    0.574912]  iram: dma coherent mem declare 0x40001000,258048                                                                                                                    
[    0.575729] misc nvmap: created heap iram base 0x40001000 size (252KiB)                                                                                                          
[    0.575875] nvmap:inner cache maint threshold=2097152                                                                                                                            
[    0.585380] NET: Registered protocol family 2                                                                                                                                    
[    0.586080] TCP established hash table entries: 8192 (order: 4, 65536 bytes)                                                                                                     
[    0.586266] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)                                                                                                            
[    0.586443] TCP: Hash tables configured (established 8192 bind 8192)                                                                                                             
[    0.586488] TCP: reno registered                                                                                                                                                 
[    0.586501] UDP hash table entries: 512 (order: 2, 16384 bytes)                                                                                                                  
[    0.586542] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)                                                                                                             
[    0.586869] NET: Registered protocol family 1                                                                                                                                    
[    0.587266] RPC: Registered named UNIX socket transport module.                                                                                                                  
[    0.587276] RPC: Registered udp transport module.                                                                                                                                
[    0.587283] RPC: Registered tcp transport module.                                                                                                                                
[    0.587291] RPC: Registered tcp NFSv4.1 backchannel transport module.                                                                                                            
[    0.587444] platform tegra-fuse: Driver tegra-fuse requests probe deferral                                                                                                       
[    0.592676] host1x host1x: initialized                                                                                                                                           
[    0.593205] hw perfevents: enabled with ARMv7 Cortex-A15 PMU driver, 7 counters available                                                                                        
[    0.593845] tegra_throttle : init passed                                                                                                                                         
[    0.593931] Tegra cpuquiet initialized: disabled                                                                                                                                 
[    0.594055] cpu-tegra: init EDP limit: 2218 MHz                                                                                                                                  
[    0.595633] bounce pool size: 64 pages                                                                                                                                           
[    0.597001] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).                                                                                                             
[    0.597267] NTFS driver 2.1.30 [Flags: R/O].                                                                                                                                     
[    0.597384] fuse init (API version 7.22)                                                                                                                                         
[    0.597611] msgmni has been set to 1457                                                                                                                                          
[    0.598950] io scheduler noop registered (default)                                                                                                                               
[    0.800205] PCIE: port 0: link down, retrying                                                                                                                                    
[    1.000235] PCIE: port 0: link down, retrying                                                                                                                                    
[    1.200264] PCIE: port 0: link down, retrying                                                                                                                                    
[    1.200272] PCIE: port 0: link down, ignoring                                                                                                                                    
[    1.216419] PCI host bridge to bus 0000:00                                                                                                                                       
[    1.216434] pci_bus 0000:00: root bus resource [mem 0x32100000-0x3fffffff]                                                                                                       
[    1.216448] pci_bus 0000:00: root bus resource [mem 0x12100000-0x320fffff pref]                                                                                                  
[    1.216460] pci_bus 0000:00: root bus resource [io  0x1000-0xffff]                                                                                                               
[    1.216473] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]                                                                                           
[    1.216866] PCI: bus0: Fast back to back transfers disabled                                                                                                                      
[    1.216879] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring                                                                                          
[    1.242599] PCI: bus1: Fast back to back transfers disabled                                                                                                                      
[    1.242614] pci 0000:01:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring                                                                                          
[    1.244187] PCI: bus2: Fast back to back transfers disabled                                                                                                                      
[    1.244201] pci 0000:02:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring                                                                                          
[    1.244221] pci 0000:02:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring                                                                                          
[    1.244241] pci 0000:02:03.0: bridge configuration invalid ([bus 00-00]), reconfiguring                                                                                          
[    1.246613] PCI: bus3: Fast back to back transfers disabled                                                                                                                      
[    1.248615] PCI: bus4: Fast back to back transfers disabled                                                                                                                      
[    1.248834] PCI: bus5: Fast back to back transfers enabled                                                                                                                       
[    1.249191] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt                                                                                                      
[    1.249204] pci 0000:01:00.0: Signaling PME through PCIe PME interrupt                                                                                                           
[    1.249213] pci 0000:02:01.0: Signaling PME through PCIe PME interrupt                                                                                                           
[    1.249222] pci 0000:03:00.0: Signaling PME through PCIe PME interrupt                                                                                                           
[    1.249230] pci 0000:02:02.0: Signaling PME through PCIe PME interrupt                                                                                                           
[    1.249239] pci 0000:04:00.0: Signaling PME through PCIe PME interrupt                                                                                                           
[    1.249248] pci 0000:02:03.0: Signaling PME through PCIe PME interrupt                                                                                                           
[    1.250594] pcieport 0000:00:00.0: BAR 8: assigned [mem 0x32400000-0x33bfffff]                                                                                                   
[    1.250609] pcieport 0000:00:00.0: BAR 7: assigned [io  0x1000-0x2fff]                                                                                                           
[    1.250625] pcieport 0000:01:00.0: BAR 8: assigned [mem 0x32400000-0x33bfffff]                                                                                                   
[    1.250637] pcieport 0000:01:00.0: BAR 7: assigned [io  0x1000-0x2fff]                                                                                                           
[    1.250653] pcieport 0000:02:01.0: BAR 8: assigned [mem 0x32400000-0x32ffffff]                                                                                                   
[    1.250665] pcieport 0000:02:02.0: BAR 8: assigned [mem 0x33000000-0x33bfffff]                                                                                                   
[    1.250677] pcieport 0000:02:01.0: BAR 7: assigned [io  0x1000-0x1fff]                                                                                                           
[    1.250689] pcieport 0000:02:02.0: BAR 7: assigned [io  0x2000-0x2fff]                                                                                                           
[    1.250703] pci 0000:03:00.0: BAR 0: assigned [mem 0x32800000-0x32ffffff]                                                                                                        
[    1.250722] pci 0000:03:00.0: BAR 3: assigned [mem 0x32400000-0x32403fff]                                                                                                        
[    1.250740] pci 0000:03:00.0: BAR 2: assigned [io  0x1000-0x101f]                                                                                                                
[    1.250757] pcieport 0000:02:01.0: PCI bridge to [bus 03]                                                                                                                        
[    1.250770] pcieport 0000:02:01.0:   bridge window [io  0x1000-0x1fff]                                                                                                           
[    1.250785] pcieport 0000:02:01.0:   bridge window [mem 0x32400000-0x32ffffff]                                                                                                   
[    1.250810] pci 0000:04:00.0: BAR 0: assigned [mem 0x33000000-0x337fffff]                                                                                                        
[    1.250829] pci 0000:04:00.0: BAR 3: assigned [mem 0x33800000-0x33803fff]                                                                                                        
[    1.250846] pci 0000:04:00.0: BAR 2: assigned [io  0x2000-0x201f]                                                                                                                
[    1.250863] pcieport 0000:02:02.0: PCI bridge to [bus 04]                                                                                                                        
[    1.250876] pcieport 0000:02:02.0:   bridge window [io  0x2000-0x2fff]                                                                                                           
[    1.250891] pcieport 0000:02:02.0:   bridge window [mem 0x33000000-0x33bfffff]                                                                                                   
[    1.250911] pcieport 0000:02:03.0: PCI bridge to [bus 05]                                                                                                                        
[    1.250937] pcieport 0000:01:00.0: PCI bridge to [bus 02-05]                                                                                                                     
[    1.250950] pcieport 0000:01:00.0:   bridge window [io  0x1000-0x2fff]                                                                                                           
[    1.250965] pcieport 0000:01:00.0:   bridge window [mem 0x32400000-0x33bfffff]                                                                                                   
[    1.250985] pcieport 0000:00:00.0: PCI bridge to [bus 01-05]                                                                                                                     
[    1.250996] pcieport 0000:00:00.0:   bridge window [io  0x1000-0x2fff]                                                                                                           
[    1.251009] pcieport 0000:00:00.0:   bridge window [mem 0x32400000-0x33bfffff]                                                                                                   
[    1.253402] tsec tsec: initialized                                                                                                                                               
[    1.254846] isp isp.0: initialized                                                                                                                                               
[    1.255810] isp isp.1: initialized                                                                                                                                               
[    1.257308] falcon vic03.0: initialized                                                                                                                                          
[    1.258461] falcon msenc: initialized                                                                                                                                            
[    1.259108] hdmi: couldn't get regulator avdd_hdmi                                                                                                                               
[    1.259123] tegradc tegradc.0: Failed to parse DT node: -517                                                                                                                     
[    1.259143] platform tegradc.0: Driver tegradc requests probe deferral                                                                                                           
[    1.262222] tegra-apbdma tegra-apbdma: Tegra20 APB DMA driver register 32 channels                                                                                               
[    1.262794] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled                                                                                                             
[    1.264245] serial8250.3: ttyS0 at MMIO 0x70006300 (irq = 122) is a Tegra                                                                                                        
[    2.886180] console [ttyS0] enabled                                                                                                                                              
[    2.891819]  (null): coherent DMA mask is unset                                                                                                                                  
[    2.896369] gk20a gk20a.0: failed to allocate secure buffer -12                                                                                                                  
[    2.905588] loop: module loaded                                                                                                                                                  
[    2.908937] i2c 4-004c: Driver nct1008_nct72 requests probe deferral                                                                                                             
[    2.915763] tegra_profiler: Branch: Dev                                                                                                                                          
[    2.919618] tegra_profiler: Version: 1.88                                                                                                                                        
[    2.923662] tegra_profiler: Samples version: 31                                                                                                                                  
[    2.928199] tegra_profiler: IO version: 16                                                                                                                                       
[    2.932301] armv7_pmu: arch: Cortex A15, type: 4, ver: 0                                                                                                                         
[    2.937647] tegra_profiler: power_clk: init                                                                                                                                      
[    2.941980] tegra_profiler: auth: init                                                                                                                                           
[    2.946039] GPS: mt3332_gps_mod_init: platform_driver_register ret = 0                                                                                                           
[    2.953743] tun: Universal TUN/TAP device driver, 1.6                                                                                                                            
[    2.958804] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>                                                                                                               
[    2.965241] usbcore: registered new interface driver asix                                                                                                                        
[    2.970721] usbcore: registered new interface driver ax88179_178a                                                                                                                
[    2.976863] usbcore: registered new interface driver cdc_ether                                                                                                                   
[    2.982756] usbcore: registered new interface driver smsc95xx                                                                                                                    
[    2.988542] usbcore: registered new interface driver cdc_subset                                                                                                                  
[    2.994567] usbcore: registered new interface driver cdc_ncm                                                                                                                     
[    3.000247] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver                                                                                                           
[    3.006967] tegra USB phy - inst[-1] platform info:                                                                                                                              
[    3.011852] port_otg: no                                                                                                                                                         
[    3.014418] has_hostpc: yes                                                                                                                                                      
[    3.017221] phy_interface: USB_PHY_INTF_UTMI                                                                                                                                     
[    3.021494] op_mode: TEGRA_USB_OPMODE_HOST                                                                                                                                       
[    3.025595] qc2_voltage: 0                                                                                                                                                       
[    3.028307] vbus_gpio: -1                                                                                                                                                        
[    3.030933] hot_plug: disabled                                                                                                                                                   
[    3.034015] remote_wakeup: enabled                                                                                                                                               
[    3.037459] tegra-ehci tegra-ehci.0: failed to open USB phy (-517)                                                                                                               
[    3.043661] platform tegra-ehci.0: Driver tegra-ehci requests probe deferral                                                                                                     
[    3.050771] ehci-pci: EHCI PCI platform driver                                                                                                                                   
[    3.055567] usbcore: registered new interface driver usb-storage                                                                                                                 
[    3.061664] usbcore: registered new interface driver usbserial                                                                                                                   
[    3.067538] usbcore: registered new interface driver option                                                                                                                      
[    3.073149] usbserial: USB Serial support registered for GSM modem (1-port)                                                                                                      
[    3.080170] usbcore: registered new interface driver pl2303                                                                                                                      
[    3.085774] usbserial: USB Serial support registered for pl2303                                                                                                                  
[    3.091698] Nvidia Tegra High-Speed USB Device Controller driver (Apr 30, 2012)                                                                                                  
[    3.104811] as3722-rtc as3722-rtc.1: rtc core: registered as3722 as rtc0                                                                                                         
[    3.111525] as3722-rtc as3722-rtc.1: RTC interrupt 449                                                                                                                           
[    3.122214] i2c /dev entries driver                                                                                                                                              
[    3.126762] virtual_init                                                                                                                                                         
[    3.130910] nvavp nvavp: allocated IOVA at 8ff00000 for AVP os                                                                                                                   
[    3.137368] ar0832_init: ++                                                                                                                                                      
[    3.140468] i2c-core: driver [max77387] using legacy suspend method                                                                                                              
[    3.146742] i2c-core: driver [max77387] using legacy resume method                                                                                                               
[    3.152963] i2c-core: driver [as364x] using legacy suspend method                                                                                                                
[    3.159059] i2c-core: driver [as364x] using legacy resume method                                                                                                                 
[    3.165207] [IMX135] sensor driver loading                                                                                                                                       
[    3.169349] [IMX179] sensor driver loading                                                                                                                                       
[    3.173490] [imx132] sensor driver loading                                                                                                                                       
[    3.177639] [AR0330] sensor driver loading                                                                                                                                       
[    3.181781] [ar0261] sensor driver loading                                                                                                                                       
[    3.186083] usbcore: registered new interface driver uvcvideo                                                                                                                    
[    3.191834] USB Video Class driver (1.1.1)                                                                                                                                       
[    3.196673] zram: Created 1 device(s) ...                                                                                                                                        
[    3.201518] sdhci: Secure Digital Host Controller Interface driver                                                                                                               
[    3.207732] sdhci: Copyright(c) Pierre Ossman                                                                                                                                    
[    3.212097] sdhci-pltfm: SDHCI platform and OF driver helper                                                                                                                     
[    3.223591] platform sdhci-tegra.3: Driver sdhci-tegra requests probe deferral                                                                                                   
[    3.233832] tegra-se tegra12-se: tegra_se_probe: complete                                                                                                                        
[    3.241615] usbcore: registered new interface driver usbhid                                                                                                                      
[    3.247194] usbhid: USB HID core driver                                                                                                                                          
[    3.251418] tegra-hier-ictlr 60004800.hier-ictlr: probed                                                                                                                         
[    3.257328] usbcore: registered new interface driver snd-usb-audio                                                                                                               
[    3.263974] MAX98090 driver built on Apr 30 2015 at 10:38:38                                                                                                                     
[    3.271590] oprofile: using timer interrupt.                                                                                                                                     
[    3.275949] GACT probability NOT on                                                                                                                                              
[    3.279453] Mirror/redirect action on                                                                                                                                            
[    3.283122] u32 classifier                                                                                                                                                       
[    3.285835]     Actions configured                                                                                                                                               
[    3.289244] Netfilter messages via NETLINK v0.30.                                                                                                                                
[    3.294038] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)                                                                                                                
[    3.300539] NF_TPROXY: Transparent proxy support initialized, version 4.1.0                                                                                                      
[    3.307508] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.                                                                                                                   
[    3.313644] xt_time: kernel timezone is -0000                                                                                                                                    
[    3.318301] ip_tables: (C) 2000-2006 Netfilter Core Team                                                                                                                         
[    3.323754] arp_tables: (C) 2002 David S. Miller                                                                                                                                 
[    3.328415] TCP: cubic registered

Afaik, TK1 supports only HDMI 1.4 and that’s up to 2160p30. 2160p60 is HDMI 2.0 (at least for normal RGB modes).

It shouldn’t get stuck though, just automatically choose a HDMI 1.4 compatible mode.

Have you tested how Jetson TK1 behaves with the same TV?

What if you disconnect the HDMI cable, boot up and only then connect the cable?

Hi kulve

Sorry for my late response. I think the TV is not the problem, because it supports 2160p60 as well a 2160p30.

On the Jetson board we experience the same problem since we updated the software from L4T version 19.3 to L4T version 21.3. Before we did not have this problem.

The problem is as follows. If the HDMI cable is connected, the kernel output stops after about 2 seconds and is unresponsive:

...
[    1.509533] tegradc tegradc.0: DSI: HS clock rate is 464500
[    1.510883] p,wuxga-10-1 panel dt support not available
[    1.790728] tegradc tegradc.0: nominal-pclk:154700000 parent:154500000 div:1.0 pclk:154500000 153153000~168623000
[    1.878982] tegradc tegradc.0: DSI pad calibration done
[    1.886132] tegradc tegradc.0: probed
[    1.886614] tegradc tegradc.0: fb registered
[    1.886639] tegradc tegradc.0: nominal-pclk:154679000 parent:463500000 div:3.0 pclk:154500000 153132210~168600110
[    1.892493] gpio wake4 for gpio=111
[    1.892708] tegra_dc_hdmi_irq: start
[    1.892742] tegra_dc_hdmi_irq: end
[    1.892780] hdmi_state_machine_worker (tid edb8fac0): state 7 (Takeover from bootloader), hpd 1, pending_hpd_evt 1
[    1.892861] hdmi_state_machine_set_state_l: switching from state 7 (Takeover from bootloader) to state 1 (Check Plug)
[    1.918625] Reserved SVD code 97
[    1.918648] Reserved SVD code 93
[    1.918666] Reserved SVD code 94
[    1.918682] Reserved SVD code 95
[    1.918699] Reserved SVD code 96
[    1.918715] Reserved SVD code 101
[    1.918731] Reserved SVD code 102
[    1.918747] Reserved SVD code 98
[    1.918762] Reserved SVD code 99
[    1.918779] Reserved SVD code 100
[    1.920559] tegradc tegradc.1: nominal-pclk:25200000 parent:252000000 div:10.0 pclk:25200000 24948000~27468000
[    1.921883] tegradc tegradc.1: probed
[    1.926453] Console: switching to colour frame buffer device 80x30
[    1.930707] tegradc tegradc.1: fb registered
[    1.932017] hdmi_state_machine_worker (tid edb8f5c0): state 1 (Check Plug), hpd 1, pending_hpd_evt 1
[    1.934609] hdmi_state_machine_set_state_l: switching from state 1 (Check Plug) to state 0 (Reset)
[    1.938093] tegra-apbdma tegra-apbdma: Tegra20 APB DMA driver register 32 channels
[    1.941793] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.944506] serial8250.0: ttyS0 at MMIO 0x70006300 (irq = 122) is a Tegra
[    1.976846] hdmi_state_machine_worker (tid edb8f5c0): state 0 (Reset), hpd 1, pending_hpd_evt 0
[    1.976851] hdmi_disable_l: audio_switch 0
[    1.976854] hdmi_disable_l: hpd_switch 0
[    1.976857] HDMI from connected to disconnected
[    1.979182] hdmi_state_machine_set_state_l: switching from state 0 (Reset) to state 1 (Check Plug)
[    1.995828] hdmi_state_machine_worker (tid edb8f5c0): state 1 (Check Plug), hpd 1, pending_hpd_evt 0
[    1.995834] hdmi_state_machine_set_state_l: switching from state 1 (Check Plug) to state 2 (Check EDID)
[    2.054838] hdmi_state_machine_worker (tid edb8f5c0): state 2 (Check EDID), hpd 1, pending_hpd_evt 0
[    2.080861] Reserved SVD code 97
[    2.080866] Reserved SVD code 93
[    2.080869] Reserved SVD code 94
[    2.080871] Reserved SVD code 95
[    2.080873] Reserved SVD code 96
[    2.080876] Reserved SVD code 101
[    2.080879] Reserved SVD code 102
[    2.080882] Reserved SVD code 98
[    2.080884] Reserved SVD code 99
[    2.080886] Reserved SVD code 100
[    2.080912] panel size 89 by 50

If we boot with the HDMI cable unplugged, everything is normal until we connect the HDMI cable. The system does not crash but produces the following messages, saying that the pixel clock is out of range. Note that the system tries to set the pixel clock to 594 MHz:

[ 1412.613202] tegra_dc_hdmi_irq: start
[ 1412.613857] tegra_dc_hdmi_irq: end
[ 1412.614240] hdmi_state_machine_worker (tid eb790580): state 4 (Enabled), hpd 0, pending_hpd_evt 1
[ 1412.614391] hdmi_state_machine_set_state_l: switching from state 4 (Enabled) to state 5 (Wait for HPD reassert)
[ 1414.116837] hdmi_state_machine_worker (tid eb790580): state 5 (Wait for HPD reassert), hpd 0, pending_hpd_evt 0
[ 1414.117060] hdmi_state_machine_set_state_l: switching from state 5 (Wait for HPD reassert) to state 0 (Reset)
[ 1414.117291] hdmi_state_machine_worker (tid eb790580): state 0 (Reset), hpd 0, pending_hpd_evt 0
[ 1414.127252] hdmi_disable_l: audio_switch 0
[ 1414.128180] hdmi_disable_l: hpd_switch 0
[ 1414.128333] hdmi_state_machine_set_state_l: switching from state 0 (Reset) to state 1 (Check Plug)
[ 1414.139285] hdmi_state_machine_worker (tid eb790580): state 1 (Check Plug), hpd 0, pending_hpd_evt 0
[ 1414.139308] hdmi_disable_l: audio_switch 0
[ 1414.139314] hdmi_disable_l: hpd_switch 0
[ 1414.139323] hdmi_state_machine_set_state_l: switching from state 1 (Check Plug) to state 3 (Disabled)
[ 1414.479277] tegra_dc_hdmi_irq: start
[ 1414.480120] tegra_dc_hdmi_irq: end
[ 1414.487908] hdmi_state_machine_worker (tid eb790580): state 3 (Disabled), hpd 1, pending_hpd_evt 1
[ 1414.488105] hdmi_state_machine_set_state_l: switching from state 3 (Disabled) to state 0 (Reset)
[ 1414.528578] hdmi_state_machine_worker (tid eb790580): state 0 (Reset), hpd 1, pending_hpd_evt 0
[ 1414.529102] hdmi_disable_l: audio_switch 0
[ 1414.529228] hdmi_disable_l: hpd_switch 0
[ 1414.529366] hdmi_state_machine_set_state_l: switching from state 0 (Reset) to state 1 (Check Plug)
[ 1414.539064] hdmi_state_machine_worker (tid eb790580): state 1 (Check Plug), hpd 1, pending_hpd_evt 0
[ 1414.539261] hdmi_state_machine_set_state_l: switching from state 1 (Check Plug) to state 2 (Check EDID)
[ 1414.599577] hdmi_state_machine_worker (tid eb790580): state 2 (Check EDID), hpd 1, pending_hpd_evt 0
[ 1414.629105] Reserved SVD code 97
[ 1414.629272] Reserved SVD code 93
[ 1414.629380] Reserved SVD code 94
[ 1414.629479] Reserved SVD code 95
[ 1414.631425] Reserved SVD code 96
[ 1414.631869] Reserved SVD code 101
[ 1414.631964] Reserved SVD code 102
[ 1414.632046] Reserved SVD code 98
[ 1414.632130] Reserved SVD code 99
[ 1414.632211] Reserved SVD code 100
[ 1414.632881] panel size 89 by 50
[ 1414.664006] handle_check_edid_l: audio_switch 1
[ 1414.670312] Display connected, hpd_switch 1
[ 1414.670358] hdmi_state_machine_set_state_l: switching from state 2 (Check EDID) to state 4 (Enabled)
[ 1414.670432] hdmi_state_machine_worker (tid eb790580): state 4 (Enabled), hpd 1, pending_hpd_evt 0
[ 1414.671115] pll_dyn_ramp_find_cfg: Failed to set pll_d2 out-of-table rate 0
[ 1414.691176] tegra_dvfs: rate 594177000 too high for dvfs on disp2
[ 1414.692915] Division by zero in kernel.
[ 1414.692947] CPU: 0 PID: 1342 Comm: kworker/0:0 Tainted: G        W    3.10.40-gc017b03 #1
[ 1414.692990] Workqueue: events hdmi_state_machine_worker
[ 1414.693039] [<c00168e0>] (unwind_backtrace+0x0/0x140) from [<c0013234>] (show_stack+0x18/0x1c)
[ 1414.693063] [<c0013234>] (show_stack+0x18/0x1c) from [<c02b2330>] (Ldiv0+0x8/0x10)
[ 1414.693084] [<c02b2330>] (Ldiv0+0x8/0x10) from [<c034f8e4>] (tegra_dc_program_mode+0x5dc/0x1530)
[ 1414.693102] [<c034f8e4>] (tegra_dc_program_mode+0x5dc/0x1530) from [<c034928c>] (tegra_dc_init+0x580/0xc58)
[ 1414.693117] [<c034928c>] (tegra_dc_init+0x580/0xc58) from [<c0349ab4>] (_tegra_dc_controller_enable+0x150/0xf3c)
[ 1414.693129] [<c0349ab4>] (_tegra_dc_controller_enable+0x150/0xf3c) from [<c034a904>] (_tegra_dc_enable+0x64/0xa0)
[ 1414.693140] [<c034a904>] (_tegra_dc_enable+0x64/0xa0) from [<c034ac10>] (tegra_dc_enable+0xd0/0xf0)
[ 1414.693153] [<c034ac10>] (tegra_dc_enable+0xd0/0xf0) from [<c0362580>] (handle_enable_l+0x3c/0x6c)
[ 1414.693169] [<c0362580>] (handle_enable_l+0x3c/0x6c) from [<c03624e0>] (hdmi_state_machine_worker+0x110/0x174)
[ 1414.693188] [<c03624e0>] (hdmi_state_machine_worker+0x110/0x174) from [<c0088948>] (process_one_work+0x138/0x414)
[ 1414.693205] [<c0088948>] (process_one_work+0x138/0x414) from [<c0089928>] (worker_thread+0xfc/0x320)
[ 1414.693220] [<c0089928>] (worker_thread+0xfc/0x320) from [<c00901ac>] (kthread+0xc8/0xd4)
[ 1414.693239] [<c00901ac>] (kthread+0xc8/0xd4) from [<c000f218>] (ret_from_fork+0x14/0x20)
[ 1414.693264] tegradc tegradc.1: nominal-pclk:594177000 parent:100000000 div:0.0 pclk:0 588235230~647652930
[ 1414.693275] tegradc tegradc.1: pclk out of range!
[ 1414.699054] tegradc tegradc.1: tegra_dc_init: tegra_dc_program_mode failed
[ 1414.699316] tegradc tegradc.1: _tegra_dc_controller_enable: tegra_dc_init failed

Best regards

If you wait to connect the monitor, so you still have access to test things, what happens with this command?

get-edid | parse-edid

I can think of two possibilities…either the information for the monitor is not correctly parsed and leads to using invalid values, or else the values are valid but out of range somewhere. If the values are simply out of range it would be reasonable to have it fail without crashing the system…feeding corrupt data into a kernel driver would be high on the list of something causing an actual crash. Fixing a crash would not necessarily make the monitor work, but at least you would be able to test without bringing everything down.

NOTE: You’ll probably have more people see this if you move it to the “embedded” forum.

Hi

We tracked down the cause of the kernel crash to the monitor update function (tegra_fb_update_monspecs) of the framebuffer (drivers/video/tegra/fb.c), which uses the first monitor specification from the EDID to set the display controller mode. Unfortunately, the first specification has a resolution of 2160p60, which means that the pixel clock is 594 MHz. However, the TK1 only supports 297 MHz which finally causes the crash.

The following patch looks for the best mode, which means that a mode with the same resolution and the highest available pixel clock is chosen, rathen than picking the first one.

diff --git a/drivers/video/tegra/fb.c b/drivers/video/tegra/fb.c
index 72435db..46e6f46 100644
--- a/drivers/video/tegra/fb.c
+++ b/drivers/video/tegra/fb.c
@@ -571,6 +571,7 @@ void tegra_fb_update_monspecs(struct tegra_fb_info *fb_info,
 	int i;
 #ifdef CONFIG_FRAMEBUFFER_CONSOLE
 	struct tegra_dc_mode dcmode;
+	struct fb_videomode *bestMode;
 #endif /* CONFIG_FRAMEBUFFER_CONSOLE */
 
 	mutex_lock(&fb_info->info->lock);
@@ -619,23 +620,32 @@ void tegra_fb_update_monspecs(struct tegra_fb_info *fb_info,
 	/* Restoring to state running. */
 	fb_info->info->state =  FBINFO_STATE_RUNNING;
 #ifdef CONFIG_FRAMEBUFFER_CONSOLE
+	// WORKAROUND: If pixclock of specs->modedb[0] is not supported, the kernel stops. 
+	// Therefore, we look here for the best mode (same size, highest supported pixclock)
+	fb_videomode_to_var(&fb_info->info->var, &specs->modedb[0]);
+	bestMode = fb_find_best_mode(&fb_info->info->var, &fb_info->info->modelist);
+	if(bestMode == NULL)
+	{
+		// Error, no matching mode found
+		return;
+	}
 	console_lock();
 	fb_notifier_call_chain(FB_EVENT_NEW_MODELIST, &event);
-	dcmode.pclk          = specs->modedb[0].pixclock;
+	dcmode.pclk          = bestMode->pixclock;
 	dcmode.pclk          = PICOS2KHZ(dcmode.pclk);
 	dcmode.pclk         *= 1000;
 	dcmode.h_ref_to_sync = 1;
 	dcmode.v_ref_to_sync = 1;
-	dcmode.h_sync_width  = specs->modedb[0].hsync_len;
-	dcmode.v_sync_width  = specs->modedb[0].vsync_len;
-	dcmode.h_back_porch  = specs->modedb[0].left_margin;
-	dcmode.v_back_porch  = specs->modedb[0].upper_margin;
-	dcmode.h_active      = specs->modedb[0].xres;
-	dcmode.v_active      = specs->modedb[0].yres;
-	dcmode.h_front_porch = specs->modedb[0].right_margin;
-	dcmode.v_front_porch = specs->modedb[0].lower_margin;
+	dcmode.h_sync_width  = bestMode->hsync_len;
+	dcmode.v_sync_width  = bestMode->vsync_len;
+	dcmode.h_back_porch  = bestMode->left_margin;
+	dcmode.v_back_porch  = bestMode->upper_margin;
+	dcmode.h_active      = bestMode->xres;
+	dcmode.v_active      = bestMode->yres;
+	dcmode.h_front_porch = bestMode->right_margin;
+	dcmode.v_front_porch = bestMode->lower_margin;
 	tegra_dc_set_mode(fb_info->win.dc, &dcmode);
-	fb_videomode_to_var(&fb_info->info->var, &specs->modedb[0]);
+	fb_videomode_to_var(&fb_info->info->var, bestMode);
 	fb_notifier_call_chain(FB_EVENT_MODE_CHANGE_ALL, &event);
 	console_unlock();
 #else

NOTE: This patch has only been tested on our proprietary hardware but not on the jetson board.

Regards

Would you be willing to forward this patch and the note of the issue (possibly just link your last response) to here?
linux-tegra-bugs@nvidia.com

This could be very useful as people start using more of the UHD monitors. I’m sure more people will plug in their Jetson (not just custom hardware) and get the same problem.

Hi

I just reported the bug.

Thank you for your support.

Best regards