Kernel 4.19-rc1 for testers


#41

I didn’t remember I see the dts-warnings when building these patches. If I have time I will deal with fbdev but at least the hdmi output is fine.

but imho wpa_supplicant is need for a wpa2-client connection, or is there another way? wpa-supplicant causes internal wifi-driver to crash

So, It seems okay for PCIe interface (7623 doesn’t have MSI). We didn’t modify driver recently. I guess this error is just a common progress for core layer.


(Frank W.) #42
[    1.007039] DEBUG: Passed mtk_smi_larb_get 113                                                                                                     
[    1.007044] DEBUG: Passed mtk_smi_larb_get 115                                                                                                     
[    1.007056] Unable to handle kernel NULL pointer dereference at virtual address 0000001c

./drivers/memory/mtk-smi.c

111 int mtk_smi_larb_get(struct device *larbdev)
112 {
113 printk(KERN_ALERT "DEBUG: Passed %s %d\n",__FUNCTION__,__LINE__);
114     struct mtk_smi_larb *larb = dev_get_drvdata(larbdev);
115 printk(KERN_ALERT "DEBUG: Passed %s %d\n",__FUNCTION__,__LINE__);
116     const struct mtk_smi_larb_gen *larb_gen = larb->larb_gen; //<<<<<<<<<<<<<<<< Crash here
117 printk(KERN_ALERT "DEBUG: Passed %s %d\n",__FUNCTION__,__LINE__);
118     struct mtk_smi *common = dev_get_drvdata(larb->smi_common_dev);

#43

tmp

we made a mistake…


(Frank W.) #44

but this fixes only the message…not the cause for crash

[    0.869266] mediatek-dpi 14014000.dpi: Found bridge node: /hdmi@14015000  

@Ryder.Lee dev_get_drvdata(larbdev); in mtk_smi_larb_get returns 0-pointer like the message in crash suggests…where is it set?

i tried to show infos about the larb-node

111 int mtk_smi_larb_get(struct device *larbdev)
112 {
113 printk(KERN_ALERT "DEBUG: Passed %s %d %s\n",__FUNCTION__,__LINE__,larbdev->of_node->name);
114     struct mtk_smi_larb *larb = dev_get_drvdata(larbdev);
115 printk(KERN_ALERT "DEBUG: Passed %s %d 0x%x\n",__FUNCTION__,__LINE__,(unsigned int)larb);
116     const struct mtk_smi_larb_gen *larb_gen = larb->larb_gen;

and i got “larb”

[    1.008513] DEBUG: Passed mtk_smi_larb_get 113 larb                          
[    1.008519] DEBUG: Passed mtk_smi_larb_get 115 0x0 

imho i should get name larb0, larb1 or larb2, am i right?

i guess the larb-get-function is called here:

./drivers/media/platform/mtk-mdp/mtk_mdp_comp.c:70:		err = mtk_smi_larb_get(comp->larb_dev);

which brings me back to the mtk_ddp_comp_init you’ve mentioned (setup comp->larb_dev), here leads to (same [imho non-existent] node):

[    0.839751] DEBUG: Passed mtk_ddp_comp_init 323 comp->larb_dev->of_node->name: larb

strange that this message is printed 3 times (imho for larb0-2) but without this index

[    0.807513] DEBUG: Passed mtk_drm_hdmi_probe 1716 hdmi->bridge->name: hdmi                                                                
[    0.815347] DEBUG: Passed mtk_ddp_comp_init 312 larb_node:larb                                                                            
[    0.821203] DEBUG: Passed mtk_ddp_comp_init 320                                                                                           
[    0.825789] DEBUG: Passed mtk_ddp_comp_init 323 comp->larb_dev->of_node->name: larb                                                       
[    0.833784] DEBUG: Passed mtk_ddp_comp_init 312 larb_node:larb                                                                            
[    0.839615] DEBUG: Passed mtk_ddp_comp_init 320                                                                                           
[    0.844201] DEBUG: Passed mtk_ddp_comp_init 323 comp->larb_dev->of_node->name: larb                                                       
[    0.851983] DEBUG: Passed mtk_ddp_comp_init 312 larb_node:larb                                                                            
[    0.857812] DEBUG: Passed mtk_ddp_comp_init 320                                                                                           
[    0.862397] DEBUG: Passed mtk_ddp_comp_init 323 comp->larb_dev->of_node->name: larb                                                       
[    0.870384] DEBUG: Passed mtk_dpi_probe 780 dev->of_node->name: dpi                                                                       
[    0.876627] mediatek-dpi 14014000.dpi: Found bridge node: /hdmi@14015000                          

also larb_node a bit above is only “larb” without index

diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c
index 8bd7d2aa22e8..5bd446bb7323 100644
--- a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c
+++ b/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c
@@ -309,7 +309,7 @@ int mtk_ddp_comp_init(struct device *dev, struct device_node *node,
                        "Missing mediadek,larb phandle in %pOF node\n", node);
                return -EINVAL;
        }
-       printk(KERN_ALERT "DEBUG: Passed %s %d \n",__FUNCTION__,__LINE__);
+       printk(KERN_ALERT "DEBUG: Passed %s %d larb_node:%s\n",__FUNCTION__,__LINE__,larb_node->name);
        larb_pdev = of_find_device_by_node(larb_node);
        if (!larb_pdev) {
                dev_warn(dev, "Waiting for larb device %pOF\n", larb_node);
@@ -320,7 +320,7 @@ int mtk_ddp_comp_init(struct device *dev, struct device_node *node,
        printk(KERN_ALERT "DEBUG: Passed %s %d \n",__FUNCTION__,__LINE__);
        comp->larb_dev = &larb_pdev->dev;
 
-       printk(KERN_ALERT "DEBUG: Passed %s %d &larb_pdev->dev: %x\n",__FUNCTION__,__LINE__,(unsigned int)&larb_pdev->dev);
+       printk(KERN_ALERT "DEBUG: Passed %s %d comp->larb_dev->of_node->name: %s\n",__FUNCTION__,__LINE__,comp->larb_dev->of_node->name);
        return 0;
 }

added the last printks to 4.19-rc, looks same (also only larb without index):

[    3.951983] DEBUG: Passed mtk_ddp_comp_init 312 larb_node:larb                                                                            
[    3.954341] random: crng init done                                                                                                        
[    3.959947] DEBUG: Passed mtk_ddp_comp_init 322 comp->larb_dev->of_node->name: larb                                                       
[    3.971334] DEBUG: Passed mtk_ddp_comp_init 312 larb_node:larb                                                                            
[    3.977185] DEBUG: Passed mtk_ddp_comp_init 322 comp->larb_dev->of_node->name: larb                                                       
[    3.984968] DEBUG: Passed mtk_ddp_comp_init 312 larb_node:larb                                                                            
[    3.990778] DEBUG: Passed mtk_ddp_comp_init 322 comp->larb_dev->of_node->name: larb                                                       
[    3.998796] mediatek-dpi 14014000.dpi: Found bridge node: /hdmi@14015000                                                                  
[    4.006742] mediatek-drm 14000000.dispsys: Adding component match for /ovl@14007000                                                       
[    4.014407] mediatek-drm 14000000.dispsys: Adding component match for /rdma@14008000                                                      
[    4.022197] mediatek-drm 14000000.dispsys: Adding component match for /color@1400b000                                                     
[    4.030078] mediatek-drm 14000000.dispsys: Adding component match for /rdma@14012000                                                      
[    4.037810] mediatek-drm 14000000.dispsys: Adding component match for /dpi@14014000                                                       
[    4.046684] mediatek-hdmi-phy 10209100.phy: Using default TX DRV impedance: 4.2k/36                                                       
[    4.055719] clk: failed to reparent hdmi_sel to hdmitx_dig_cts: -22                                                                       
[    4.062072] [drm] hdmi-audio-codec driver bound to HDMI

so it looks more a change in function dev_get_drvdata(), but this seems to be a kernel-wide function (/include/linux/device.h, only return dev->driver_data which can be set via dev_set_drvdata, which i did not found in drm/hdmi-code), so i suggest anything in larb-node is missing

mtk_smi_larb_get seems not changed…

111 int mtk_smi_larb_get(struct device *larbdev)
112 {
113     struct mtk_smi_larb *larb = dev_get_drvdata(larbdev);
114     const struct mtk_smi_larb_gen *larb_gen = larb->larb_gen;

also larb-nodes in dtsi seems same…in new patches hdmi0 and dpi0 are created after larbx…is this relevant?

this part of diff (old-new) looks also strange to me:

--- a/drivers/gpu/drm/mediatek/mtk_hdmi.c
+++ b/drivers/gpu/drm/mediatek/mtk_hdmi.c
@@ -247,7 +247,7 @@ static void mtk_hdmi_hw_make_reg_writable(struct mtk_hdmi *hdmi, bool enable)
 	else
 		regmap_update_bits(hdmi->sys_regmap,
 				   hdmi->sys_offset + HDMI_SYS_CFG20,
-				   HDMI_PSECUR_EN, enable ? 0 : HDMI_PSECUR_EN);
+				   0x80008005, enable ? 0x80000005 : 0x8000);
 
 	regmap_update_bits(hdmi->sys_regmap, hdmi->sys_offset + HDMI_SYS_CFG20,
 			   HDMI_PCLK_FREE_RUN, enable ? HDMI_PCLK_FREE_RUN : 0);

(Maciek Szelągowski) #45

Frank which your 4.19 branch is the latest?:

4.19-gmac

4.19-hdmi

4.19-hdmi_new

4.19-poweroff

4.19-rc

4.19-usb

4.19-wifi

Could you please also update your wiki:

http://www.fw-web.de/dokuwiki/doku.php?id=en:bpi-r2:kernel

regarding 4.14 and 4.19 kernels

Thanks for your support.


(Frank W.) #46

As my readme from mainbranch (4.14-main) says:

4.19-rc is the “main-branch” for 4.19…but till its released i did not update it…it is only to make features compatible with 4.19 and for testing


(Maciek Szelągowski) #47

Thanks for answer.

I’m still learning this area :wink:

I’m using your 4.14.71 kenel and so far working perfectly


(Frank W.) #48

@Ryder.Lee any idea on my logs?


(Frank W.) #49

i see new drm-patches…are these now compatible with fbdev?

https://patchwork.kernel.org/project/linux-mediatek/list/?series=25989

And

https://patchwork.kernel.org/project/linux-mediatek/list/?series=26061

tried these (first patches, second are only documentation) here (+clock-options, +dtsi, without fbdev):

but get only this:

[    0.775991] mediatek-drm 14000000.dispsys: Adding component match for /ovl@14007000
[    0.776151] random: crng init done
[    0.783660] mediatek-drm 14000000.dispsys: Adding component match for /rdma@14008000
[    0.794788] mediatek-drm 14000000.dispsys: Adding component match for /color@1400b000
[    0.802677] mediatek-drm 14000000.dispsys: Adding component match for /rdma@14012000
[    0.810394] mediatek-drm 14000000.dispsys: Adding component match for /dpi@14014000
[    0.819326] mediatek-hdmi-phy 10209100.phy: Using default TX DRV impedance: 4.2k/36
[    0.828319] clk: failed to reparent hdmi_sel to hdmitx_dig_cts: -22
[    0.834768] mediatek-drm-hdmi: probe of 14015000.hdmi failed with error -22

seems anything in clocks is wrong, i fixed the clk-error, but the probe-erros is still present and no xserver starts


#50

These are incomplete patches. We will add remains gradually.

But you could take:

https://patchwork.kernel.org/patch/10609007/

https://patchwork.kernel.org/patch/10588951/


(Frank W.) #51

second are device nodes which i have added already (is there any change in resend except sorting??).

first one applied, but still the same error (reverted my clock-patch)

[    1.057324] clk: failed to reparent hdmi_sel to hdmitx_dig_cts: -22          
[    1.063754] mediatek-drm-hdmi: probe of 14015000.hdmi failed with error -22

replaced dts(i)-nodes with these from resend-patch and got this compile-warnings:

arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dtb: Warning (reg_format): /dpi@14014000/ports/port@0:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dtb: Warning (reg_format): /dpi@14014000/ports/port@1:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dtb: Warning (pci_device_bus_num): Failed prerequisite 'reg_format'
arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dtb: Warning (simple_bus_reg): Failed prerequisite 'reg_format'
arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dtb: Warning (avoid_default_addr_size): /dpi@14014000/ports/port@0: Relying on default #address-cells value
arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dtb: Warning (avoid_default_addr_size): /dpi@14014000/ports/port@0: Relying on default #size-cells value
arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dtb: Warning (avoid_default_addr_size): /dpi@14014000/ports/port@1: Relying on default #address-cells value
arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dtb: Warning (avoid_default_addr_size): /dpi@14014000/ports/port@1: Relying on default #size-cells value

[    0.000000] Linux version 4.19.0-rc1-bpi-r2-hdmiv5 (frank@frank-N56VZ) (gcc 8
[    1.007988] mediatek-drm 14000000.dispsys: Adding component match for /ovl@10
[    1.015633] mediatek-drm 14000000.dispsys: Adding component match for /rdma@0
[    1.026777] mediatek-drm 14000000.dispsys: Adding component match for /color0
[    1.034651] mediatek-drm 14000000.dispsys: Adding component match for /rdma@0
[    1.042375] mediatek-drm 14000000.dispsys: Adding component match for /dpi@10
[    1.051661] mediatek-hdmi-phy 10209100.phy: Using default TX DRV impedance: 6
[    1.060954] [drm] hdmi-audio-codec driver bound to HDMI
[    2.046974] mediatek-dpi 14014000.dpi: Found bridge node: /hdmi@14015000
[    2.053933] mediatek-drm 14000000.dispsys: bound 14007000.ovl (ops mtk_disp_)
[    2.062517] mediatek-drm 14000000.dispsys: bound 14008000.rdma (ops mtk_disp)
[    2.071237] mediatek-drm 14000000.dispsys: bound 1400b000.color (ops mtk_dis)
[    2.080147] mediatek-drm 14000000.dispsys: bound 14012000.rdma (ops mtk_disp)
[    2.088901] mediatek-drm 14000000.dispsys: bound 14014000.dpi (ops mtk_dpi_c)
[    2.097133] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.115173] [drm] No driver support for vblank timestamp query.
[    2.121452] [drm] Initialized mediatek 1.0.0 20150513 for 14000000.dispsys o0

on TV i get “unsupported mode” ;(

root@bpi-r2-ubuntu:~# startx &
[1] 565
root@bpi-r2-ubuntu:~# 

X.Org X Server 1.19.6
Release Date: 2017-12-20
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.0-119-generic armv7l Ubuntu
Current Operating System: Linux bpi-r2-ubuntu 4.19.0-rc1-bpi-r2-hdmiv5 #158 SMP Sat Oct 6 10:04:54 CEST 2018 armv7l
Kernel command line: vmalloc=496M debug=7 initcall_debug=0 video=1920x1080 drm.debug=0x7 console=ttyS0,115200 root=/dev/mmcblk0p2 rw r
ootwait ip=192.168.0.11:192.168.0.10:192.168.0.10:255.255.255.0::wan::192.168.0.10:8.8.8.8
Build Date: 13 April 2018  08:09:42PM
xorg-server 2:1.19.6-1ubuntu4 (For technical support please see http://www.ubuntu.com/support) 
Current version of pixman: 0.34.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Oct  6 11:33:11 2018
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
gbm: failed to open any driver (search paths /usr/lib/arm-linux-gnueabihf/dri:${ORIGIN}/dri:/usr/lib/dri)
gbm: Last dlopen error: /usr/lib/dri/mediatek_dri.so: cannot open shared object file: No such file or directory
failed to load driver: mediatek
EGL_MESA_drm_image required.

#52

[ 1.057324] clk: failed to reparent hdmi_sel to hdmitx_dig_cts: -22
[ 1.063754] mediatek-drm-hdmi: probe of 14015000.hdmi failed with error -22

I didn’t see this error. Besides, you could add this missing change, and we will sent it soon.


(Frank W.) #53

still “unsupported mode”, but no fail-message in dmesg

DMESG
dmesg | grep 'hdmi\|drm'
[    0.000000] Linux version 4.19.0-rc1-bpi-r2-hdmiv5 (frank@frank-N56VZ) (gcc version 7.3.0 (Ubuntu/Linaro 7.3.0-27ubuntu1~18.08
[    0.000000] Kernel command line: vmalloc=496M debug=7 initcall_debug=0 video=1920x1080 drm.debug=0x7 console=ttyS0,115200 ram8
[    1.054068] [drm:drm_core_init] Initialized
[    1.064535] mediatek-drm 14000000.dispsys: Adding component match for /ovl@14007000
[    1.072369] mediatek-drm 14000000.dispsys: Adding component match for /rdma@14008000
[    1.080148] mediatek-drm 14000000.dispsys: Adding component match for /color@1400b000
[    1.088016] mediatek-drm 14000000.dispsys: Adding component match for /rdma@14012000
[    1.095734] mediatek-drm 14000000.dispsys: Adding component match for /dpi@14014000
[    1.105000] mediatek-hdmi-phy 10209100.phy: Using default TX DRV impedance: 4.2k/36
[    1.114392] [drm] hdmi-audio-codec driver bound to HDMI
[    2.316583] mediatek-dpi 14014000.dpi: Found bridge node: /hdmi@14015000
[    2.323521] mediatek-drm 14000000.dispsys: bound 14007000.ovl (ops mtk_disp_ovl_component_ops)
[    2.332111] mediatek-drm 14000000.dispsys: bound 14008000.rdma (ops mtk_disp_rdma_component_ops)
[    2.340832] mediatek-drm 14000000.dispsys: bound 1400b000.color (ops mtk_disp_color_component_ops)
[    2.349742] mediatek-drm 14000000.dispsys: bound 14012000.rdma (ops mtk_disp_rdma_component_ops)
[    2.358503] [drm:drm_connector_init] cmdline mode for connector HDMI-A-1 1920x1080@60Hz
[    2.366466] mediatek-drm 14000000.dispsys: bound 14014000.dpi (ops mtk_dpi_component_ops)
[    2.374679] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.381256] [drm] No driver support for vblank timestamp query.
[    2.387141] [drm:drm_minor_register] 
[    2.390771] [drm:drm_minor_register] 
[    2.394704] [drm:drm_minor_register] new minor registered 0
[    2.400363] [drm:drm_sysfs_connector_add] adding "HDMI-A-1" to sysfs                                                          
[    2.406689] [drm:drm_sysfs_hotplug_event] generating hotplug event                                                            
[    2.412869] [drm] Initialized mediatek 1.0.0 20150513 for 14000000.dispsys on minor 0                                         
[  147.260972] [drm:drm_stub_open]                                                                                               
[  147.261006] [drm:drm_open] pid = 731, minor = 0                                                                               
[  147.261032] [drm:drm_open]                                                                                                    
[  147.261119] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_SET_VERSION                                                
[  147.261276] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_GET_UNIQUE                                                 
[  147.261345] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_GET_UNIQUE                                                 
[  147.261401] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_VERSION                                                    
[  147.261432] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_VERSION                                                    
[  147.261491] [drm:drm_release] open_count = 1                                                                                  
[  147.261512] [drm:drm_file_free.part.0] pid = 731, device = 0xe200, open_count = 1                                             
[  147.261550] [drm:drm_lastclose]                                                                                               
[  147.261582] [drm:drm_lastclose] driver lastclose completed                                                                    
[  147.355559] [drm:drm_stub_open]                                                                                               
[  147.355592] [drm:drm_open] pid = 731, minor = 0                                                                               
[  147.355618] [drm:drm_open]                                                                                                    
[  147.355689] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETRESOURCES                                          
[  147.355735] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETRESOURCES                                          
[  147.355822] [drm:drm_release] open_count = 1                                                                                  
[  147.355843] [drm:drm_file_free.part.0] pid = 731, device = 0xe200, open_count = 1                                             
[  147.355877] [drm:drm_lastclose]                                                                                               
[  147.355891] [drm:drm_lastclose] driver lastclose completed                                                                    
[  147.356477] [drm:drm_stub_open]                                                                                               
[  147.356503] [drm:drm_open] pid = 731, minor = 0                                                                               
[  147.356524] [drm:drm_open]                                                                                                    
[  147.356556] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETRESOURCES                                          
[  147.356594] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETRESOURCES                                          
[  147.356646] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_GET_CAP                                                    
[  147.356672] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETRESOURCES                                          
[  147.356704] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETRESOURCES                                          
[  147.356769] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_CREATE_DUMB                                           
[  147.356900] [drm:mtk_drm_gem_create] cookie = e35eac38 dma_addr = 0x00000000 size = 16384                                     
[  147.356952] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_ADDFB                                                 
[  147.357007] [drm:drm_mode_addfb2] [FB:40]                                                                                     
[  147.357041] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_RMFB                                                  
[  147.357064] [drm:drm_mode_object_put.part.0] OBJ ID: 40 (2)                                                                   
[  147.357080] [drm:drm_mode_object_put.part.0] OBJ ID: 40 (1)                                                                   
[  147.357110] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_DESTROY_DUMB                                          
[  147.357976] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_GET_CAP                                                    
[  147.358003] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_GET_CAP                                                    
[  147.435608] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_VERSION                                                    
[  147.435627] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_VERSION                                                    
[  148.853492] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_GET_CAP                                                    
[  148.933829] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_GEM_FLINK                                                  
[  148.933853] [drm:drm_ioctl] pid=731, ret = -2                                                                                 
[  148.946216] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_GET_CAP                                                    
[  148.946356] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_VERSION                                                    
[  148.946381] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_VERSION                                                    
[  148.946407] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_GET_CAP                                                    
[  148.946426] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_GET_CAP                                                    
[  148.946467] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETRESOURCES                                          
[  148.946497] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETRESOURCES                                          
[  148.946534] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCONNECTOR                                          
[  148.946560] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:29:HDMI-A-1]                                             
[  148.946583] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:29:HDMI-A-1] status updated from unknown to connected    
[  148.946697] [drm:drm_sysfs_hotplug_event] generating hotplug event                                                            
[  148.975403] [drm:drm_detect_monitor_audio] Monitor has basic audio support                                                    
[  148.975417] [drm:drm_add_display_info] non_desktop set to 0                                                                   
[  148.975427] [drm:drm_add_display_info] HDMI: DVI dual 0, max TMDS clock 225000 kHz                                            
[  148.975432] [drm:drm_add_display_info] HDMI-A-1: HDMI sink does deep color 30.                                                
[  148.975437] [drm:drm_add_display_info] HDMI-A-1: HDMI sink does deep color 36.                                                
[  148.975443] [drm:drm_add_display_info] HDMI-A-1: Assigning HDMI sink color depth as 12 bpc.                                   
[  148.975447] [drm:drm_add_display_info] HDMI-A-1: HDMI sink does YCRCB444 in deep color.                                       
[  148.975469] [drm:drm_add_edid_modes] ELD monitor SAMSUNG                                                                      
[  148.975478] [drm:drm_add_edid_modes] HDMI: latency present 0 0, video latency 0 0, audio latency 0 0                          
[  148.975483] [drm:drm_add_edid_modes] ELD size 32, SAD count 1                                                                 
[  148.975489] [drm:drm_add_display_info] non_desktop set to 0                                                                   
[  148.975495] [drm:drm_add_display_info] HDMI: DVI dual 0, max TMDS clock 225000 kHz                                            
[  148.975499] [drm:drm_add_display_info] HDMI-A-1: HDMI sink does deep color 30.                                                
[  148.975503] [drm:drm_add_display_info] HDMI-A-1: HDMI sink does deep color 36.                                                
[  148.975508] [drm:drm_add_display_info] HDMI-A-1: Assigning HDMI sink color depth as 12 bpc.                                   
[  148.975512] [drm:drm_add_display_info] HDMI-A-1: HDMI sink does YCRCB444 in deep color.                                       
[  148.976889] [drm:drm_mode_debug_printmodeline] Modeline 58:"640x480" 0 25175 640 656 752 800 480 490 492 525 0x40 0xa         
[  148.976898] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_LOW                                                    
[  148.976909] [drm:drm_mode_debug_printmodeline] Modeline 82:"640x480" 60 25200 640 656 752 800 480 490 492 525 0x40 0xa        
[  148.976915] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_LOW                                                    
[  148.976941] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:29:HDMI-A-1] probed modes :                              
[  148.976952] [drm:drm_mode_debug_printmodeline] Modeline 41:"1920x1080" 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x485
[  148.976962] [drm:drm_mode_debug_printmodeline] Modeline 68:"1920x1080" 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x405
[  148.976971] [drm:drm_mode_debug_printmodeline] Modeline 79:"1920x1080" 60 148352 1920 2008 2052 2200 1080 1084 1089 1125 0x405
[  148.976981] [drm:drm_mode_debug_printmodeline] Modeline 45:"1920x1080i" 60 74250 1920 2008 2052 2200 1080 1084 1094 1125 0x405
[  148.976991] [drm:drm_mode_debug_printmodeline] Modeline 72:"1920x1080i" 60 74250 1920 2008 2052 2200 1080 1084 1094 1125 0x405
[  148.977000] [drm:drm_mode_debug_printmodeline] Modeline 81:"1920x1080i" 60 74176 1920 2008 2052 2200 1080 1084 1094 1125 0x405
[  148.977010] [drm:drm_mode_debug_printmodeline] Modeline 69:"1920x1080" 50 148500 1920 2448 2492 2640 1080 1084 1089 1125 0x405
[  148.977019] [drm:drm_mode_debug_printmodeline] Modeline 46:"1920x1080i" 50 74250 1920 2448 2492 2640 1080 1084 1094 1125 0x405
[  148.977029] [drm:drm_mode_debug_printmodeline] Modeline 73:"1920x1080i" 50 74250 1920 2448 2492 2640 1080 1084 1094 1125 0x405
[  148.977038] [drm:drm_mode_debug_printmodeline] Modeline 78:"1920x1080" 30 74250 1920 2008 2052 2200 1080 1084 1089 1125 0x40 5
[  148.977048] [drm:drm_mode_debug_printmodeline] Modeline 88:"1920x1080" 30 74176 1920 2008 2052 2200 1080 1084 1089 1125 0x40 5
[  148.977057] [drm:drm_mode_debug_printmodeline] Modeline 77:"1920x1080" 25 74250 1920 2448 2492 2640 1080 1084 1089 1125 0x40 5
[  148.977067] [drm:drm_mode_debug_printmodeline] Modeline 76:"1920x1080" 24 74250 1920 2558 2602 2750 1080 1084 1089 1125 0x40 5
[  148.977076] [drm:drm_mode_debug_printmodeline] Modeline 87:"1920x1080" 24 74176 1920 2558 2602 2750 1080 1084 1089 1125 0x40 5
[  148.977085] [drm:drm_mode_debug_printmodeline] Modeline 53:"1680x1050" 60 119000 1680 1728 1760 1840 1050 1053 1059 1080 0x409
[  148.977095] [drm:drm_mode_debug_printmodeline] Modeline 60:"1280x1024" 75 135000 1280 1296 1440 1688 1024 1025 1028 1066 0x405
[  148.977104] [drm:drm_mode_debug_printmodeline] Modeline 50:"1280x1024" 60 108000 1280 1328 1440 1688 1024 1025 1028 1066 0x405
[  148.977114] [drm:drm_mode_debug_printmodeline] Modeline 52:"1440x900" 75 136750 1440 1536 1688 1936 900 903 909 942 0x40 0x6  
[  148.977123] [drm:drm_mode_debug_printmodeline] Modeline 51:"1440x900" 60 88750 1440 1488 1520 1600 900 903 909 926 0x40 0x9   
[  148.977133] [drm:drm_mode_debug_printmodeline] Modeline 49:"1280x960" 60 108000 1280 1376 1488 1800 960 961 964 1000 0x40 0x5 
[  148.977143] [drm:drm_mode_debug_printmodeline] Modeline 42:"1360x768" 60 85500 1360 1424 1536 1792 768 771 777 795 0x40 0x5   
[  148.977152] [drm:drm_mode_debug_printmodeline] Modeline 48:"1280x800" 60 71000 1280 1328 1360 1440 800 803 809 823 0x40 0x9   
[  148.977162] [drm:drm_mode_debug_printmodeline] Modeline 47:"1152x864" 75 108000 1152 1216 1344 1600 864 865 868 900 0x40 0x5  
[  148.977171] [drm:drm_mode_debug_printmodeline] Modeline 43:"1280x720" 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x5   
[  148.977181] [drm:drm_mode_debug_printmodeline] Modeline 70:"1280x720" 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x5   
[  148.977191] [drm:drm_mode_debug_printmodeline] Modeline 80:"1280x720" 60 74176 1280 1390 1430 1650 720 725 730 750 0x40 0x5   
[  148.977200] [drm:drm_mode_debug_printmodeline] Modeline 44:"1280x720" 50 74250 1280 1720 1760 1980 720 725 730 750 0x40 0x5   
[  148.977209] [drm:drm_mode_debug_printmodeline] Modeline 71:"1280x720" 50 74250 1280 1720 1760 1980 720 725 730 750 0x40 0x5   
[  148.977219] [drm:drm_mode_debug_printmodeline] Modeline 61:"1024x768" 75 78750 1024 1040 1136 1312 768 769 772 800 0x40 0x5   
[  148.977228] [drm:drm_mode_debug_printmodeline] Modeline 62:"1024x768" 70 75000 1024 1048 1184 1328 768 771 777 806 0x40 0xa   
[  148.977238] [drm:drm_mode_debug_printmodeline] Modeline 63:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa   
[  148.977247] [drm:drm_mode_debug_printmodeline] Modeline 64:"832x624" 75 57284 832 864 928 1152 624 625 628 667 0x40 0xa       
[  148.977257] [drm:drm_mode_debug_printmodeline] Modeline 65:"800x600" 75 49500 800 816 896 1056 600 601 604 625 0x40 0x5       
[  148.977266] [drm:drm_mode_debug_printmodeline] Modeline 66:"800x600" 72 50000 800 856 976 1040 600 637 643 666 0x40 0x5       
[  148.977275] [drm:drm_mode_debug_printmodeline] Modeline 54:"800x600" 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5       
[  148.977285] [drm:drm_mode_debug_printmodeline] Modeline 75:"720x576" 50 27000 720 732 796 864 576 581 586 625 0x40 0xa        
[  148.977294] [drm:drm_mode_debug_printmodeline] Modeline 86:"720x480" 60 27027 720 736 798 858 480 489 495 525 0x40 0xa        
[  148.977304] [drm:drm_mode_debug_printmodeline] Modeline 74:"720x480" 60 27000 720 736 798 858 480 489 495 525 0x40 0xa        
[  148.977313] [drm:drm_mode_debug_printmodeline] Modeline 55:"640x480" 75 31500 640 656 720 840 480 481 484 500 0x40 0xa        
[  148.977322] [drm:drm_mode_debug_printmodeline] Modeline 56:"640x480" 73 31500 640 664 704 832 480 489 492 520 0x40 0xa        
[  148.977331] [drm:drm_mode_debug_printmodeline] Modeline 57:"640x480" 67 30240 640 704 768 864 480 483 486 525 0x40 0xa        
[  148.977341] [drm:drm_mode_debug_printmodeline] Modeline 59:"720x400" 70 28320 720 738 846 900 400 412 414 449 0x40 0x6        
[  148.977379] [drm:drm_mode_object_put.part.0] OBJ ID: 29 (2)                                                                   
[  148.977451] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCONNECTOR                                          
[  148.977510] [drm:drm_mode_object_put.part.0] OBJ ID: 29 (2)                                                                   
[  148.977559] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  148.977570] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  148.977613] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  148.977624] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  148.977638] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  148.977648] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  148.977659] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  148.977668] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  148.977704] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETENCODER                                            
[  148.977907] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  148.977919] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  148.977930] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  148.977941] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  148.977986] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCRTC                                               
[  148.978005] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_CURSOR                                                
[  148.978071] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCRTC                                               
[  148.978083] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_CURSOR                                                
[  148.978134] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCONNECTOR                                          
[  148.978146] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:29:HDMI-A-1]                                             
[  149.007132] [drm:drm_detect_monitor_audio] Monitor has basic audio support                                                    
[  149.007151] [drm:drm_add_display_info] non_desktop set to 0                                                                   
[  149.007165] [drm:drm_add_display_info] HDMI: DVI dual 0, max TMDS clock 225000 kHz                                            
[  149.007173] [drm:drm_add_display_info] HDMI-A-1: HDMI sink does deep color 30.                                                
[  149.007181] [drm:drm_add_display_info] HDMI-A-1: HDMI sink does deep color 36.                                                
[  149.007189] [drm:drm_add_display_info] HDMI-A-1: Assigning HDMI sink color depth as 12 bpc.                                   
[  149.007197] [drm:drm_add_display_info] HDMI-A-1: HDMI sink does YCRCB444 in deep color.                                       
[  149.007224] [drm:drm_mode_object_put.part.0] OBJ ID: 40 (1)                                                                   
[  149.007245] [drm:drm_add_edid_modes] ELD monitor SAMSUNG                                                                      
[  149.007258] [drm:drm_add_edid_modes] HDMI: latency present 0 0, video latency 0 0, audio latency 0 0                          
[  149.007266] [drm:drm_add_edid_modes] ELD size 32, SAD count 1                                                                 
[  149.007276] [drm:drm_add_display_info] non_desktop set to 0                                                                   
[  149.007286] [drm:drm_add_display_info] HDMI: DVI dual 0, max TMDS clock 225000 kHz                                            
[  149.007293] [drm:drm_add_display_info] HDMI-A-1: HDMI sink does deep color 30.                                                
[  149.007300] [drm:drm_add_display_info] HDMI-A-1: HDMI sink does deep color 36.                                                
[  149.007307] [drm:drm_add_display_info] HDMI-A-1: Assigning HDMI sink color depth as 12 bpc.                                   
[  149.007315] [drm:drm_add_display_info] HDMI-A-1: HDMI sink does YCRCB444 in deep color.                                       
[  149.009602] [drm:drm_mode_debug_printmodeline] Modeline 100:"640x480" 0 25175 640 656 752 800 480 490 492 525 0x40 0xa        
[  149.009615] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_LOW                                                    
[  149.009633] [drm:drm_mode_debug_printmodeline] Modeline 124:"640x480" 60 25200 640 656 752 800 480 490 492 525 0x40 0xa       
[  149.009643] [drm:drm_mode_prune_invalid] Not using 640x480 mode: CLOCK_LOW                                                    
[  149.009680] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:29:HDMI-A-1] probed modes :                              
[  149.009699] [drm:drm_mode_debug_printmodeline] Modeline 41:"1920x1080" 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x485
[  149.009715] [drm:drm_mode_debug_printmodeline] Modeline 68:"1920x1080" 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x405
[  149.009731] [drm:drm_mode_debug_printmodeline] Modeline 79:"1920x1080" 60 148352 1920 2008 2052 2200 1080 1084 1089 1125 0x405
[  149.009748] [drm:drm_mode_debug_printmodeline] Modeline 45:"1920x1080i" 60 74250 1920 2008 2052 2200 1080 1084 1094 1125 0x405
[  149.009764] [drm:drm_mode_debug_printmodeline] Modeline 72:"1920x1080i" 60 74250 1920 2008 2052 2200 1080 1084 1094 1125 0x405
[  149.009781] [drm:drm_mode_debug_printmodeline] Modeline 81:"1920x1080i" 60 74176 1920 2008 2052 2200 1080 1084 1094 1125 0x405
[  149.009797] [drm:drm_mode_debug_printmodeline] Modeline 69:"1920x1080" 50 148500 1920 2448 2492 2640 1080 1084 1089 1125 0x405
[  149.009813] [drm:drm_mode_debug_printmodeline] Modeline 46:"1920x1080i" 50 74250 1920 2448 2492 2640 1080 1084 1094 1125 0x405
[  149.009830] [drm:drm_mode_debug_printmodeline] Modeline 73:"1920x1080i" 50 74250 1920 2448 2492 2640 1080 1084 1094 1125 0x405
[  149.009846] [drm:drm_mode_debug_printmodeline] Modeline 78:"1920x1080" 30 74250 1920 2008 2052 2200 1080 1084 1089 1125 0x40 5
[  149.009862] [drm:drm_mode_debug_printmodeline] Modeline 88:"1920x1080" 30 74176 1920 2008 2052 2200 1080 1084 1089 1125 0x40 5
[  149.009878] [drm:drm_mode_debug_printmodeline] Modeline 77:"1920x1080" 25 74250 1920 2448 2492 2640 1080 1084 1089 1125 0x40 5
[  149.009895] [drm:drm_mode_debug_printmodeline] Modeline 76:"1920x1080" 24 74250 1920 2558 2602 2750 1080 1084 1089 1125 0x40 5
[  149.009911] [drm:drm_mode_debug_printmodeline] Modeline 87:"1920x1080" 24 74176 1920 2558 2602 2750 1080 1084 1089 1125 0x40 5
[  149.009928] [drm:drm_mode_debug_printmodeline] Modeline 53:"1680x1050" 60 119000 1680 1728 1760 1840 1050 1053 1059 1080 0x409
[  149.009944] [drm:drm_mode_debug_printmodeline] Modeline 60:"1280x1024" 75 135000 1280 1296 1440 1688 1024 1025 1028 1066 0x405
[  149.009961] [drm:drm_mode_debug_printmodeline] Modeline 50:"1280x1024" 60 108000 1280 1328 1440 1688 1024 1025 1028 1066 0x405
[  149.009977] [drm:drm_mode_debug_printmodeline] Modeline 52:"1440x900" 75 136750 1440 1536 1688 1936 900 903 909 942 0x40 0x6  
[  149.009993] [drm:drm_mode_debug_printmodeline] Modeline 51:"1440x900" 60 88750 1440 1488 1520 1600 900 903 909 926 0x40 0x9   
[  149.010010] [drm:drm_mode_debug_printmodeline] Modeline 49:"1280x960" 60 108000 1280 1376 1488 1800 960 961 964 1000 0x40 0x5 
[  149.010026] [drm:drm_mode_debug_printmodeline] Modeline 42:"1360x768" 60 85500 1360 1424 1536 1792 768 771 777 795 0x40 0x5   
[  149.010042] [drm:drm_mode_debug_printmodeline] Modeline 48:"1280x800" 60 71000 1280 1328 1360 1440 800 803 809 823 0x40 0x9   
[  149.010059] [drm:drm_mode_debug_printmodeline] Modeline 47:"1152x864" 75 108000 1152 1216 1344 1600 864 865 868 900 0x40 0x5  
[  149.010075] [drm:drm_mode_debug_printmodeline] Modeline 43:"1280x720" 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x5   
[  149.010092] [drm:drm_mode_debug_printmodeline] Modeline 70:"1280x720" 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x5   
[  149.010108] [drm:drm_mode_debug_printmodeline] Modeline 80:"1280x720" 60 74176 1280 1390 1430 1650 720 725 730 750 0x40 0x5   
[  149.010124] [drm:drm_mode_debug_printmodeline] Modeline 44:"1280x720" 50 74250 1280 1720 1760 1980 720 725 730 750 0x40 0x5   
[  149.010141] [drm:drm_mode_debug_printmodeline] Modeline 71:"1280x720" 50 74250 1280 1720 1760 1980 720 725 730 750 0x40 0x5   
[  149.010157] [drm:drm_mode_debug_printmodeline] Modeline 61:"1024x768" 75 78750 1024 1040 1136 1312 768 769 772 800 0x40 0x5   
[  149.010173] [drm:drm_mode_debug_printmodeline] Modeline 62:"1024x768" 70 75000 1024 1048 1184 1328 768 771 777 806 0x40 0xa   
[  149.010189] [drm:drm_mode_debug_printmodeline] Modeline 63:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa   
[  149.010206] [drm:drm_mode_debug_printmodeline] Modeline 64:"832x624" 75 57284 832 864 928 1152 624 625 628 667 0x40 0xa       
[  149.010222] [drm:drm_mode_debug_printmodeline] Modeline 65:"800x600" 75 49500 800 816 896 1056 600 601 604 625 0x40 0x5       
[  149.010238] [drm:drm_mode_debug_printmodeline] Modeline 66:"800x600" 72 50000 800 856 976 1040 600 637 643 666 0x40 0x5       
[  149.010254] [drm:drm_mode_debug_printmodeline] Modeline 54:"800x600" 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5       
[  149.010270] [drm:drm_mode_debug_printmodeline] Modeline 75:"720x576" 50 27000 720 732 796 864 576 581 586 625 0x40 0xa        
[  149.010286] [drm:drm_mode_debug_printmodeline] Modeline 86:"720x480" 60 27027 720 736 798 858 480 489 495 525 0x40 0xa        
[  149.010302] [drm:drm_mode_debug_printmodeline] Modeline 74:"720x480" 60 27000 720 736 798 858 480 489 495 525 0x40 0xa        
[  149.010318] [drm:drm_mode_debug_printmodeline] Modeline 55:"640x480" 75 31500 640 656 720 840 480 481 484 500 0x40 0xa        
[  149.010334] [drm:drm_mode_debug_printmodeline] Modeline 56:"640x480" 73 31500 640 664 704 832 480 489 492 520 0x40 0xa        
[  149.010350] [drm:drm_mode_debug_printmodeline] Modeline 57:"640x480" 67 30240 640 704 768 864 480 483 486 525 0x40 0xa        
[  149.010366] [drm:drm_mode_debug_printmodeline] Modeline 59:"720x400" 70 28320 720 738 846 900 400 412 414 449 0x40 0x6        
[  149.010425] [drm:drm_mode_object_put.part.0] OBJ ID: 29 (2)                                                                   
[  149.010467] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETCONNECTOR                                          
[  149.010560] [drm:drm_mode_object_put.part.0] OBJ ID: 29 (2)                                                                   
[  149.010603] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  149.010619] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  149.010661] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPBLOB                                           
[  149.010672] [drm:drm_mode_object_put.part.0] OBJ ID: 58 (2)                                                                   
[  149.010688] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPBLOB                                           
[  149.010699] [drm:drm_mode_object_put.part.0] OBJ ID: 58 (2)                                                                   
[  149.010719] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  149.010737] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  149.010760] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  149.010775] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  149.010796] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  149.010809] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  149.018444] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  149.018473] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  149.018497] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  149.018514] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  149.018541] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  149.018558] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  149.018580] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  149.018595] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  149.018766] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  149.018781] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  149.018799] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  149.018816] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  149.018840] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  149.018856] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  149.018885] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  149.018900] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  149.031679] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_SET_MASTER                                                 
[  149.031702] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_CREATE_DUMB                                           
[  149.035865] [drm:mtk_drm_gem_create] cookie = 4b3b1cab dma_addr = 0x00000000 size = 8294400                                   
[  149.035893] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_CREATE_DUMB                                           
[  149.035935] [drm:mtk_drm_gem_create] cookie = 2c508867 dma_addr = 0x007ec000 size = 16384                                     
[  149.035952] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_CREATE_DUMB                                           
[  149.035989] [drm:mtk_drm_gem_create] cookie = 2e8d7062 dma_addr = 0x007f0000 size = 16384                                     
[  149.047621] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  149.047650] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  149.047676] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  149.047699] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  149.047728] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  149.047749] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  149.047774] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  149.047791] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_GETPROPERTY                                           
[  149.047893] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_SETPROPERTY                                           
[  149.047933] [drm:drm_mode_object_get] OBJ ID: 29 (2)                                                                          
[  149.047989] [drm:drm_mode_object_put.part.0] OBJ ID: 29 (3)                                                                   
[  149.048004] [drm:drm_mode_object_put.part.0] OBJ ID: 29 (2)                                                                   
[  149.048036] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_SETPROPERTY                                           
[  149.048055] [drm:drm_mode_object_put.part.0] OBJ ID: 29 (2)                                                                   
[  149.048066] [drm:drm_ioctl] pid=731, ret = -22                                                                                
[  149.096998] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_MAP_DUMB                                              
[  149.097077] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_MAP_DUMB                                              
[  149.097100] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_MAP_DUMB                                              
[  149.098520] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_DIRTYFB                                               
[  149.098531] [drm:drm_ioctl] pid=731, ret = -2                                                                                 
[  150.188081] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_SETPROPERTY                                           
[  150.188116] [drm:drm_mode_object_put.part.0] OBJ ID: 29 (2)                                                                   
[  150.192074] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_DIRTYFB                                               
[  150.192093] [drm:drm_ioctl] pid=731, ret = -2                                                                                 
[  150.192137] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_SETGAMMA                                              
[  150.192146] [drm:drm_ioctl] pid=731, ret = -22                                                                                
[  150.192156] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_ADDFB                                                 
[  150.192187] [drm:drm_mode_addfb2] [FB:40]                                                                                     
[  150.192203] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_SETCRTC                                               
[  150.192213] [drm:drm_mode_setcrtc] [CRTC:34:crtc-0]                                                                           
[  150.192241] [drm:drm_mode_setcrtc] [CONNECTOR:29:HDMI-A-1]                                                                    
[  150.192267] [drm:drm_mode_object_get] OBJ ID: 40 (2)                                                                          
[  150.192283] [drm:drm_mode_object_get] OBJ ID: 29 (2)                                                                          
[  150.192288] [drm:drm_mode_object_get] OBJ ID: 29 (3)                                                                          
[  150.192340] [drm:drm_calc_timestamping_constants] crtc 34: hwmode: htotal 2200, vtotal 1125, vdisplay 1080                    
[  150.192347] [drm:drm_calc_timestamping_constants] crtc 34: clock 148500 kHz framedur 16666666 linedur 14814                   
[  150.192362] [drm:mtk_drm_crtc_atomic_enable] mtk_drm_crtc_atomic_enable 34                                                    
[  150.192422] [drm:mtk_drm_crtc_atomic_enable] mtk_crtc_ddp_hw_init                                                             
[  150.192435] [drm:mtk_drm_crtc_atomic_enable] mtk_crtc_ddp_clk_enable                                                          
[  150.192445] [drm:mtk_drm_crtc_atomic_enable] mediatek_ddp_ddp_path_setup                                                      
[  150.205738] [drm:drm_vblank_enable] enabling vblank on crtc 0, ret: 0                                                         
[  150.255446] [drm:drm_mode_object_put.part.0] OBJ ID: 29 (4)                                                                   
[  150.255505] [drm:drm_mode_object_put.part.0] OBJ ID: 40 (3)                                                                   
[  150.255536] [drm:drm_mode_object_put.part.0] OBJ ID: 29 (3)                                                                   
[  150.255671] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_SETPROPERTY                                           
[  150.255749] [drm:drm_mode_object_get] OBJ ID: 82 (1)                                                                          
[  150.255801] [drm:drm_mode_object_get] OBJ ID: 29 (4)                                                                          
[  150.255831] [drm:drm_mode_object_get] OBJ ID: 29 (5)                                                                          
[  150.255953] [drm:drm_calc_timestamping_constants] crtc 34: hwmode: htotal 2200, vtotal 1125, vdisplay 1080                    
[  150.255996] [drm:drm_calc_timestamping_constants] crtc 34: clock 148500 kHz framedur 16666666 linedur 14814                   
[  150.288666] [drm:drm_mode_object_put.part.0] OBJ ID: 29 (5)                                                                   
[  150.288680] [drm:drm_mode_object_put.part.0] OBJ ID: 29 (4)                                                                   
[  150.288689] [drm:drm_mode_object_put.part.0] OBJ ID: 82 (2)                                                                   
[  150.288702] [drm:drm_mode_object_put.part.0] OBJ ID: 29 (3)                                                                   
[  150.288732] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_SETCRTC                                               
[  150.288749] [drm:drm_mode_setcrtc] [CRTC:39:crtc-1]                                                                           
[  151.856184] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_CURSOR2                                               
[  151.856255] [drm:drm_mode_object_get] OBJ ID: 82 (1)                                                                          
[  151.856263] [drm:drm_mode_object_get] OBJ ID: 67 (1)                                                                          
[  151.856309] [drm:drm_calc_timestamping_constants] crtc 34: hwmode: htotal 2200, vtotal 1125, vdisplay 1080                    
[  151.856318] [drm:drm_calc_timestamping_constants] crtc 34: clock 148500 kHz framedur 16666666 linedur 14814                   
[  151.856342] [drm:drm_mode_object_put.part.0] OBJ ID: 82 (2)                                                                   
[  151.856353] [drm:drm_mode_object_put.part.0] OBJ ID: 67 (2)                                                                   
[  151.856369] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_CURSOR                                                
[  151.856390] [drm:drm_mode_object_get] OBJ ID: 67 (1)                                                                          
[  151.856398] [drm:drm_mode_object_get] OBJ ID: 82 (1)                                                                          
[  151.856405] [drm:drm_mode_object_put.part.0] OBJ ID: 67 (2)                                                                   
[  151.856420] [drm:drm_calc_timestamping_constants] crtc 34: hwmode: htotal 2200, vtotal 1125, vdisplay 1080                    
[  151.856428] [drm:drm_calc_timestamping_constants] crtc 34: clock 148500 kHz framedur 16666666 linedur 14814                   
[  151.856440] [drm:drm_mode_object_put.part.0] OBJ ID: 82 (2)                                                                   
[  151.856447] [drm:drm_mode_object_put.part.0] OBJ ID: 67 (1)                                                                   
[  151.856902] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_CURSOR                                                
[  151.856928] [drm:drm_ioctl] pid=731, dev=0xe200, auth=1, DRM_IOCTL_MODE_CURSOR2                                               
[  151.856951] [drm:drm_mode_object_get] OBJ ID: 82 (1)                                                                          
[  151.856957] [drm:drm_mode_object_get] OBJ ID: 67 (1)                                                                          
[  151.856976] [drm:drm_calc_timestamping_constants] crtc 34: hwmode: htotal 2200, vtotal 1125, vdisplay 1080                    
[  151.856984] [drm:drm_calc_timestamping_constants] crtc 34: clock 148500 kHz framedur 16666666 linedur 14814                   
[  151.856995] [drm:drm_mode_object_put.part.0] OBJ ID: 82 (2)                                                                   
[  151.857003] [drm:drm_mode_object_put.part.0] OBJ ID: 67 (2)                                                                   
[  155.351317] [drm:vblank_disable_fn] disabling vblank on crtc 0

#54

Try to plug out the cable and then connect it again.


(Frank W.) #55

unsupported mode again, as expected because i see the purple screen from preloader

but i get an error after x-server was started a while…

[   41.389115] mediatek-hdmi-ddc 11013000.i2c: i2c ack err!                     
[   41.394578] mediatek-hdmi-ddc 11013000.i2c: ddc failed!

dts-nodes from series above (your resend) are compatible with the new drm-patches? then i try to include the other 4 again


#56

drm.txt (17.2 KB)

Everything looks okay with the latest patches. But there’s a known issue - we need to plug out the cable and then connect it. We will fix it soon.


(Frank W.) #57

then i remove the branch and wait for fix including necessary patches (dts,…)


#58

You can still see the hdmi output (at least) on your R2.


(Frank W.) #59

currently i have no output but maybe the dts-node are changed…only updated nodes from your resend patch after adding nodes from my other branch

i try to make a clean branch with these patches based on

and your additional patch

still “unsupported mode”, no mediatek-hdmi-ddc, no other fail-message

if i kill xinit i get endless repeating

mtk-iommu-v1 10205000.mmsys_iommu: fault type=0x5 iova=0x731000 pa=0x0 larb=0 port=1

drm.log (31,4 KB)

but you’ve said, that these patches are incomplete…so i just wait


#60

but you’ve said, that these patches are incomplete…so i just wait

Though we have some patches in the queue, we still could use drm/hdmi normally.

i try to make a clean branch with these patches based on

https://patchwork.kernel.org/project/linux-mediatek/list/?series=15283 1 https://patchwork.kernel.org/patch/10588951/ 1 https://patchwork.kernel.org/project/linux-mediatek/list/?series=25989 2

I tested kernel 4.19 with these patches (and it works), so I assumed you should get a successful result.