Closed nE0sIghT closed 4 years ago
Mail from Vaisakh Murali:
Hi,
The issue still isn't resolved but I've got a commit in my repo which I haven't tried yet. You can find that
https://github.com/mvaisakh/msm-4.9/commits/display-trial
Report to me, if this worked for you. Glad to help.
On Tue, 31 Mar, 2020, 12:55 pm Yuri Konotopov, ykonotopov@gnome.org wrote:
Hello. I found your gist [1] googling my issue [2] with work-in-progress 4.9 kernel for Xiaomi mido [3]. Looks like you working with very same issue in same kernel for another phone. Did you success with it already? [1] https://gist.github.com/mvaisakh/97c0b1619ac38292a97b6c85e3d7ee58 [2] https://github.com/nE0sIghT/android_kernel_xiaomi_msm8953/issues/1 [3] https://github.com/nE0sIghT/android_kernel_xiaomi_msm8953/commits/lineage-16.0-mido-4.9 -- Best regards, Yuri Konotopov
mdss diff between 3.18 and 4.9
--- no-timestamps3-mds 2020-03-31 14:10:42.217906026 +0400
+++ clean/no-timestamps-mds 2020-03-31 14:10:34.904429125 +0400
@@ -1,12 +1,13 @@
-Kernel command line: sched_enable_hmp=1 sched_enable_power_aware=1 androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 androidboot.bootdevice=7824900.sdhci earlycon=msm_hsl_uart,0x78af000 buildvariant=eng androidboot.emmc=true androidboot.verifiedbootstate=orange androidboot.veritymode=enforcing androidboot.keymaster=1 androidboot.serialno=33c7ce410704 androidboot.boot_reason= androidboot.secureboot=1 gpt androidboot.baseband=msm mdss_mdp.panel=1:dsi:0:qcom,mdss_dsi_nt35532_fhd_video:1:none:cfg:single_dsi
-gdsc_mdss: no parameters
+Kernel command line: core_ctl_disable_cpumask=0-7 kpti=0 androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 androidboot.bootdevice=7824900.sdhci earlycon=msm_hsl_uart,0x78af000 firmware_class.path=/vendor/firmware_mnt/image androidboot.usbconfigfs=true androidboot.selinux=permissive buildvariant=eng androidboot.emmc=true androidboot.verifiedbootstate=orange androidboot.veritymode=enforcing androidboot.keymaster=1 androidboot.serialno=33c7ce410704 androidboot.boot_reason= androidboot.secureboot=1 androidboot.baseband=msm mdss_mdp.panel=1:dsi:0:qcom,mdss_dsi_nt35532_fhd_video:1:none:cfg:single_dsi
mdss_pll_probe: MDSS pll label = MDSS DSI 0 PLL
mdss_pll_util_parse_dt_supply: : error reading ulp load. rc=-22
mdss_pll_probe: MDSS pll label = MDSS DSI 1 PLL
mdss_pll_util_parse_dt_supply: : error reading ulp load. rc=-22
gcc-mdss-8953 1800000.qcom,gcc-mdss: Registered GCC MDSS clocks.
-mdss_mdp_probe+0x228/0x1124->msm_dss_ioremap_byname: 'vbif_nrt_phys' msm_dss_get_res_byname failed
+msm_mdss_get_res_byname: 'vbif_nrt_phys' resource not found
+mdss_mdp_probe+0x25c/0x36d0->msm_mdss_ioremap_byname: 'vbif_nrt_phys' msm_mdss_get_res_byname failed
mdss_mdp_irq_clk_register: unable to get clk: lut_clk
+mdss_mdp_irq_clk_register: unable to get clk: mnoc_clk
mdss_mdp_pipe_addr_setup: type:0 ftchid:-1 xinid:0 num:0 rect:0 ndx:0x1 prio:0
mdss_mdp_pipe_addr_setup: type:1 ftchid:-1 xinid:1 num:3 rect:0 ndx:0x8 prio:1
mdss_mdp_pipe_addr_setup: type:1 ftchid:-1 xinid:5 num:4 rect:0 ndx:0x10 prio:2
@@ -14,6 +15,9 @@
mdss_mdp_pipe_addr_setup: type:3 ftchid:-1 xinid:7 num:10 rect:0 ndx:0x400 prio:0
mdss_mdp_parse_dt_handler: Error from prop qcom,mdss-pipe-sw-reset-off : u32 array read
mdss_mdp_parse_dt_handler: Error from prop qcom,mdss-ib-factor-overlap : u32 array read
+mdss_mdp_parse_dt_handler: Error from prop qcom,mdss-bus-througput-factor : u32 array read
+iommu: Adding device 1a00000.qcom,mdss_mdp:qcom,smmu_mdp_unsec_cb to group 1
+iommu: Adding device 1a00000.qcom,mdss_mdp:qcom,smmu_mdp_sec_cb to group 2
mdss_mdp_probe: mdss version = 0x10100000, bootloader display is on, num 1, intf_sel=0x00000100
mdss_smmu_util_parse_dt_clock: clocks are not defined
mdss_smmu_util_parse_dt_clock: clocks are not defined
@@ -21,16 +25,17 @@
mdss_dsi_get_dt_vreg_data: error reading ulp load. rc=-22
mdss_dsi_get_dt_vreg_data: error reading ulp load. rc=-22
mdss_dsi_ctrl_probe: DSI Ctrl name = MDSS DSI CTRL->0
+mdss_dsi_pinctrl_init: failed to get pinctrl
+mdss_dsi_ctrl_probe: failed to get pin resources
mdss_dsi_find_panel_of_node: cmdline:0:qcom,mdss_dsi_nt35532_fhd_video:1:none:cfg:single_dsi panel_name:qcom,mdss_dsi_nt35532_fhd_video
mdss_dsi_panel_init: Panel Name = nt35532 fhd video mode dsi panel
-mdss_dsi_panel_timing_from_dt: found new timing "qcom,mdss_dsi_nt35532_fhd_video" (ffffffc07eee7208)
+mdss_dsi_panel_timing_from_dt: found new timing "qcom,mdss_dsi_nt35532_fhd_video" (ffffffc0138a7c00)
mdss_dsi_parse_dcs_cmds: failed, key=qcom,mdss-dsi-post-panel-on-command
mdss_dsi_parse_dcs_cmds: failed, key=qcom,mdss-dsi-timing-switch-command
mdss_dsi_panel_get_dsc_cfg_np: cannot find dsc config node:
mdss_dsi_parse_dcs_cmds: failed, key=qcom,mdss-dsi-idle-on-command
mdss_dsi_parse_dcs_cmds: failed, key=qcom,mdss-dsi-idle-off-command
mdss_dsi_parse_panel_features: ulps feature disabled
-mdss_dsi_parse_panel_features: ulps during suspend feature disabled
mdss_dsi_parse_dms_config: dynamic switch feature enabled: 0
mdss_dsi_parse_dcs_cmds: failed, key=qcom,mdss-dsi-lp-mode-on
mdss_dsi_parse_dcs_cmds: failed, key=qcom,mdss-dsi-lp-mode-off
@@ -38,17 +43,191 @@
mdss_dsi_get_dt_vreg_data: error reading ulp load. rc=-22
mdss_dsi_get_dt_vreg_data: error reading ulp load. rc=-22
mdss_dsi_get_dt_vreg_data: error reading ulp load. rc=-22
-1a94000.qcom,mdss_dsi_ctrl0 supply vdd not found, using dummy regulator
-mdss_dsi_parse_ctrl_params:4129 Unable to read qcom,display-id, data=0000000000000000,len=20
+mdss_dsi_parse_ctrl_params:4231 Unable to read qcom,display-id, data=0000000000000000,len=20
+mdss_dsi_parse_gpio_params:4311, TE gpio not specified
mdss_dsi_parse_gpio_params: bklt_en gpio not specified
-mdss_dsi_retrieve_ctrl_resources+0x178/0x1fc->msm_dss_ioremap_byname: 'dsi_phy_regulator' msm_dss_get_res_byname failed
-mdss_dsi_retrieve_ctrl_resources: ctrl_base=ffffff80017b4000 ctrl_size=400 phy_base=ffffff80017b6400 phy_size=580
+mdss_dsi_parse_gpio_params: ext vdd gpio not specified
+mdss_dsi_parse_gpio_params:4332, reset gpio not specified
+msm_mdss_get_res_byname: 'dsi_phy_regulator' resource not found
+mdss_dsi_retrieve_ctrl_resources+0x198/0x1fc->msm_mdss_ioremap_byname: 'dsi_phy_regulator' msm_mdss_get_res_byname failed
+mdss_dsi_retrieve_ctrl_resources: ctrl_base=ffffff800af73000 ctrl_size=400 phy_base=ffffff800af75400 phy_size=580
mdss_register_panel: adding framebuffer device 1a94000.qcom,mdss_dsi_ctrl0
mdss_dsi_ctrl_probe: Dsi Ctrl->0 initialized, DSI rev:0x10040002, PHY rev:0x2
+mdss_dsi_ctrl_probe: DSI Ctrl name = MDSS DSI CTRL->1
+mdss_dsi_pinctrl_init: failed to get pinctrl
+mdss_dsi_ctrl_probe: failed to get pin resources
+mdss_dsi_find_panel_of_node: cmdline:0:qcom,mdss_dsi_nt35532_fhd_video:1:none:cfg:single_dsi panel_name:none
+mdss_dsi_config_panel: can't find panel node 0:qcom,mdss_dsi_nt35532_fhd_video:1:none:cfg:single_dsi
+mdss_dsi_ctrl_probe: panel configuration failed
+mdss_dsi_ctrl: probe of 1a96000.qcom,mdss_dsi_ctrl1 failed with error -22
mdss_dsi_status_init: DSI status check interval:2000
mdss_register_panel: adding framebuffer device soc:qcom,mdss_wb_panel
mdss_fb_probe: fb0: split_mode:0 left:0 right:0
mdss_fb_probe: fb1: split_mode:0 left:0 right:0
mdss_mdp_splash_parse_dt: splash mem child node is not present
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_mdp_splash_iommu_attach+0xa0/0x13c
+mdss_mdp_splash_cleanup+0x144/0x370
+mdss_mdp_overlay_start+0x1d0/0x250
+mdss_mdp_overlay_kickoff+0x130/0x15fc
+mdss_mdp_overlay_off+0x264/0x870
+mdss_fb_blank_blank+0xd4/0x198
+mdss_fb_blank_sub+0x188/0x2b8
+mdss_fb_blank+0xf4/0x154
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_mdp_splash_iommu_attach+0xa0/0x13c
+mdss_mdp_splash_cleanup+0x144/0x370
+mdss_mdp_overlay_start+0x1d0/0x250
+mdss_mdp_overlay_kickoff+0x130/0x15fc
+mdss_mdp_overlay_off+0x264/0x870
+mdss_fb_blank_blank+0xd4/0x198
+mdss_fb_blank_sub+0x188/0x2b8
+mdss_fb_blank+0xf4/0x154
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_mdp_splash_iommu_attach+0xa0/0x13c
+mdss_mdp_splash_cleanup+0x144/0x370
+mdss_mdp_overlay_start+0x1d0/0x250
+mdss_mdp_overlay_kickoff+0x130/0x15fc
+mdss_mdp_overlay_off+0x264/0x870
+mdss_fb_blank_blank+0xd4/0x198
+mdss_fb_blank_sub+0x188/0x2b8
+mdss_fb_blank+0xf4/0x154
+mdss_mdp_splash_iommu_attach: mdss iommu attach failed
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_mdp_overlay_kickoff+0x1b0/0x15fc
+mdss_mdp_overlay_off+0x264/0x870
+mdss_fb_blank_blank+0xd4/0x198
+mdss_fb_blank_sub+0x188/0x2b8
+mdss_fb_blank+0xf4/0x154
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_mdp_overlay_kickoff+0x1b0/0x15fc
+mdss_mdp_overlay_off+0x264/0x870
+mdss_fb_blank_blank+0xd4/0x198
+mdss_fb_blank_sub+0x188/0x2b8
+mdss_fb_blank+0xf4/0x154
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_mdp_overlay_kickoff+0x1b0/0x15fc
+mdss_mdp_overlay_off+0x264/0x870
+mdss_fb_blank_blank+0xd4/0x198
+mdss_fb_blank_sub+0x188/0x2b8
+mdss_fb_blank+0xf4/0x154
+mdss_mdp_overlay_kickoff: iommu attach failed rc=-22
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_dsi_cmdlist_commit+0x278/0x670
+mdss_dsi_cmdlist_put+0xd8/0x110
+mdss_dsi_panel_off+0xb0/0x104
+mdss_dsi_blank+0x270/0x340
+mdss_dsi_event_handler+0x5a4/0xf60
+mdss_mdp_ctl_intf_event+0x4c/0xb4
+mdss_mdp_video_ctx_stop+0x44/0x230
+mdss_mdp_video_stop+0x64/0x1c0
+mdss_mdp_ctl_stop+0x84/0x3b4
+mdss_mdp_overlay_off+0x4c0/0x870
+mdss_fb_blank_blank+0xd4/0x198
+mdss_fb_blank_sub+0x188/0x2b8
+mdss_fb_blank+0xf4/0x154
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_dsi_cmdlist_commit+0x278/0x670
+mdss_dsi_cmdlist_put+0xd8/0x110
+mdss_dsi_panel_off+0xb0/0x104
+mdss_dsi_blank+0x270/0x340
+mdss_dsi_event_handler+0x5a4/0xf60
+mdss_mdp_ctl_intf_event+0x4c/0xb4
+mdss_mdp_video_ctx_stop+0x44/0x230
+mdss_mdp_video_stop+0x64/0x1c0
+mdss_mdp_ctl_stop+0x84/0x3b4
+mdss_mdp_overlay_off+0x4c0/0x870
+mdss_fb_blank_blank+0xd4/0x198
+mdss_fb_blank_sub+0x188/0x2b8
+mdss_fb_blank+0xf4/0x154
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_dsi_cmdlist_commit+0x278/0x670
+mdss_dsi_cmdlist_put+0xd8/0x110
+mdss_dsi_panel_off+0xb0/0x104
+mdss_dsi_blank+0x270/0x340
+mdss_dsi_event_handler+0x5a4/0xf60
+mdss_mdp_ctl_intf_event+0x4c/0xb4
+mdss_mdp_video_ctx_stop+0x44/0x230
+mdss_mdp_video_stop+0x64/0x1c0
+mdss_mdp_ctl_stop+0x84/0x3b4
+mdss_mdp_overlay_off+0x4c0/0x870
+mdss_fb_blank_blank+0xd4/0x198
+mdss_fb_blank_sub+0x188/0x2b8
+mdss_fb_blank+0xf4/0x154
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_mdp_clk_ctrl+0xb0/0x454
+mdss_mdp_overlay_start+0xbc/0x250
+mdss_mdp_overlay_on+0x1b8/0x1e4
+mdss_fb_blank_unblank+0x20c/0x320
+mdss_fb_blank_sub+0x15c/0x2b8
+mdss_fb_blank+0xf4/0x154
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_mdp_clk_ctrl+0xb0/0x454
+mdss_mdp_overlay_start+0xbc/0x250
+mdss_mdp_overlay_on+0x1b8/0x1e4
+mdss_fb_blank_unblank+0x20c/0x320
+mdss_fb_blank_sub+0x15c/0x2b8
+mdss_fb_blank+0xf4/0x154
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_mdp_clk_ctrl+0xb0/0x454
+mdss_mdp_overlay_start+0xbc/0x250
+mdss_mdp_overlay_on+0x1b8/0x1e4
+mdss_fb_blank_unblank+0x20c/0x320
+mdss_fb_blank_sub+0x15c/0x2b8
+mdss_fb_blank+0xf4/0x154
+__mdss_mdp_clk_control: IOMMU attach failed
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_mdp_overlay_start+0x108/0x250
+mdss_mdp_overlay_on+0x1b8/0x1e4
+mdss_fb_blank_unblank+0x20c/0x320
+mdss_fb_blank_sub+0x15c/0x2b8
+mdss_fb_blank+0xf4/0x154
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_mdp_overlay_start+0x108/0x250
+mdss_mdp_overlay_on+0x1b8/0x1e4
+mdss_fb_blank_unblank+0x20c/0x320
+mdss_fb_blank_sub+0x15c/0x2b8
+mdss_fb_blank+0xf4/0x154
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_mdp_overlay_start+0x108/0x250
+mdss_mdp_overlay_on+0x1b8/0x1e4
+mdss_fb_blank_unblank+0x20c/0x320
+mdss_fb_blank_sub+0x15c/0x2b8
+mdss_fb_blank+0xf4/0x154
+mdss_mdp_overlay_start: iommu attach failed rc=-22
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_mdp_clk_ctrl+0xb0/0x454
+mdss_mdp_hist_stop+0x64/0x25c
+mdss_fb_release_all+0x33c/0x41c
+mdss_fb_release+0x10/0x18
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_mdp_clk_ctrl+0xb0/0x454
+mdss_mdp_hist_stop+0x64/0x25c
+mdss_fb_release_all+0x33c/0x41c
+mdss_fb_release+0x10/0x18
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_mdp_clk_ctrl+0xb0/0x454
+mdss_mdp_hist_stop+0x64/0x25c
+mdss_fb_release_all+0x33c/0x41c
+mdss_fb_release+0x10/0x18
+__mdss_mdp_clk_control: IOMMU attach failed
mdss_fb_release_all: try to close unopened fb 1! from pid:1 name:init
-mdss_mdp_overlay_release: Unable to unset pipe(s) ndx=0x8 unset=0x0
+mdss_fb_release_all: try to close unopened fb 0! from pid:1 name:init
dmesg (mdss) diff after https://github.com/nE0sIghT/android_kernel_xiaomi_msm8953/commit/fece25fd9367531135d955fcd5fa51ee564c31a7
--- no-timestamps3-mds 2020-03-31 14:10:42.217906026 +0400
+++ mdss-fixed/no-timestamps-mds 2020-03-31 15:09:49.217713230 +0400
@@ -1,12 +1,13 @@
-Kernel command line: sched_enable_hmp=1 sched_enable_power_aware=1 androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 androidboot.bootdevice=7824900.sdhci earlycon=msm_hsl_uart,0x78af000 buildvariant=eng androidboot.emmc=true androidboot.verifiedbootstate=orange androidboot.veritymode=enforcing androidboot.keymaster=1 androidboot.serialno=33c7ce410704 androidboot.boot_reason= androidboot.secureboot=1 gpt androidboot.baseband=msm mdss_mdp.panel=1:dsi:0:qcom,mdss_dsi_nt35532_fhd_video:1:none:cfg:single_dsi
-gdsc_mdss: no parameters
+Kernel command line: core_ctl_disable_cpumask=0-7 kpti=0 androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 androidboot.bootdevice=7824900.sdhci earlycon=msm_hsl_uart,0x78af000 firmware_class.path=/vendor/firmware_mnt/image androidboot.usbconfigfs=true androidboot.selinux=permissive buildvariant=eng androidboot.emmc=true androidboot.verifiedbootstate=orange androidboot.veritymode=enforcing androidboot.keymaster=1 androidboot.serialno=33c7ce410704 androidboot.boot_reason= androidboot.secureboot=1 androidboot.baseband=msm mdss_mdp.panel=1:dsi:0:qcom,mdss_dsi_nt35532_fhd_video:1:none:cfg:single_dsi
mdss_pll_probe: MDSS pll label = MDSS DSI 0 PLL
mdss_pll_util_parse_dt_supply: : error reading ulp load. rc=-22
mdss_pll_probe: MDSS pll label = MDSS DSI 1 PLL
mdss_pll_util_parse_dt_supply: : error reading ulp load. rc=-22
gcc-mdss-8953 1800000.qcom,gcc-mdss: Registered GCC MDSS clocks.
-mdss_mdp_probe+0x228/0x1124->msm_dss_ioremap_byname: 'vbif_nrt_phys' msm_dss_get_res_byname failed
+msm_mdss_get_res_byname: 'vbif_nrt_phys' resource not found
+mdss_mdp_probe+0x25c/0x36d0->msm_mdss_ioremap_byname: 'vbif_nrt_phys' msm_mdss_get_res_byname failed
mdss_mdp_irq_clk_register: unable to get clk: lut_clk
+mdss_mdp_irq_clk_register: unable to get clk: mnoc_clk
mdss_mdp_pipe_addr_setup: type:0 ftchid:-1 xinid:0 num:0 rect:0 ndx:0x1 prio:0
mdss_mdp_pipe_addr_setup: type:1 ftchid:-1 xinid:1 num:3 rect:0 ndx:0x8 prio:1
mdss_mdp_pipe_addr_setup: type:1 ftchid:-1 xinid:5 num:4 rect:0 ndx:0x10 prio:2
@@ -14,6 +15,9 @@
mdss_mdp_pipe_addr_setup: type:3 ftchid:-1 xinid:7 num:10 rect:0 ndx:0x400 prio:0
mdss_mdp_parse_dt_handler: Error from prop qcom,mdss-pipe-sw-reset-off : u32 array read
mdss_mdp_parse_dt_handler: Error from prop qcom,mdss-ib-factor-overlap : u32 array read
+mdss_mdp_parse_dt_handler: Error from prop qcom,mdss-bus-througput-factor : u32 array read
+iommu: Adding device 1a00000.qcom,mdss_mdp:qcom,smmu_mdp_unsec_cb to group 1
+iommu: Adding device 1a00000.qcom,mdss_mdp:qcom,smmu_mdp_sec_cb to group 2
mdss_mdp_probe: mdss version = 0x10100000, bootloader display is on, num 1, intf_sel=0x00000100
mdss_smmu_util_parse_dt_clock: clocks are not defined
mdss_smmu_util_parse_dt_clock: clocks are not defined
@@ -23,14 +27,13 @@
mdss_dsi_ctrl_probe: DSI Ctrl name = MDSS DSI CTRL->0
mdss_dsi_find_panel_of_node: cmdline:0:qcom,mdss_dsi_nt35532_fhd_video:1:none:cfg:single_dsi panel_name:qcom,mdss_dsi_nt35532_fhd_video
mdss_dsi_panel_init: Panel Name = nt35532 fhd video mode dsi panel
-mdss_dsi_panel_timing_from_dt: found new timing "qcom,mdss_dsi_nt35532_fhd_video" (ffffffc07eee7208)
+mdss_dsi_panel_timing_from_dt: found new timing "qcom,mdss_dsi_nt35532_fhd_video" (ffffffc0eb4f6c00)
mdss_dsi_parse_dcs_cmds: failed, key=qcom,mdss-dsi-post-panel-on-command
mdss_dsi_parse_dcs_cmds: failed, key=qcom,mdss-dsi-timing-switch-command
mdss_dsi_panel_get_dsc_cfg_np: cannot find dsc config node:
mdss_dsi_parse_dcs_cmds: failed, key=qcom,mdss-dsi-idle-on-command
mdss_dsi_parse_dcs_cmds: failed, key=qcom,mdss-dsi-idle-off-command
mdss_dsi_parse_panel_features: ulps feature disabled
-mdss_dsi_parse_panel_features: ulps during suspend feature disabled
mdss_dsi_parse_dms_config: dynamic switch feature enabled: 0
mdss_dsi_parse_dcs_cmds: failed, key=qcom,mdss-dsi-lp-mode-on
mdss_dsi_parse_dcs_cmds: failed, key=qcom,mdss-dsi-lp-mode-off
@@ -39,10 +42,12 @@
mdss_dsi_get_dt_vreg_data: error reading ulp load. rc=-22
mdss_dsi_get_dt_vreg_data: error reading ulp load. rc=-22
1a94000.qcom,mdss_dsi_ctrl0 supply vdd not found, using dummy regulator
-mdss_dsi_parse_ctrl_params:4129 Unable to read qcom,display-id, data=0000000000000000,len=20
+mdss_dsi_parse_ctrl_params:4231 Unable to read qcom,display-id, data=0000000000000000,len=20
mdss_dsi_parse_gpio_params: bklt_en gpio not specified
-mdss_dsi_retrieve_ctrl_resources+0x178/0x1fc->msm_dss_ioremap_byname: 'dsi_phy_regulator' msm_dss_get_res_byname failed
-mdss_dsi_retrieve_ctrl_resources: ctrl_base=ffffff80017b4000 ctrl_size=400 phy_base=ffffff80017b6400 phy_size=580
+mdss_dsi_parse_gpio_params: ext vdd gpio not specified
+msm_mdss_get_res_byname: 'dsi_phy_regulator' resource not found
+mdss_dsi_retrieve_ctrl_resources+0x198/0x1fc->msm_mdss_ioremap_byname: 'dsi_phy_regulator' msm_mdss_get_res_byname failed
+mdss_dsi_retrieve_ctrl_resources: ctrl_base=ffffff800af73000 ctrl_size=400 phy_base=ffffff800af75400 phy_size=580
mdss_register_panel: adding framebuffer device 1a94000.qcom,mdss_dsi_ctrl0
mdss_dsi_ctrl_probe: Dsi Ctrl->0 initialized, DSI rev:0x10040002, PHY rev:0x2
mdss_dsi_status_init: DSI status check interval:2000
@@ -50,5 +55,169 @@
mdss_fb_probe: fb0: split_mode:0 left:0 right:0
mdss_fb_probe: fb1: split_mode:0 left:0 right:0
mdss_mdp_splash_parse_dt: splash mem child node is not present
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_mdp_splash_iommu_attach+0xa0/0x13c
+mdss_mdp_splash_cleanup+0x144/0x370
+mdss_mdp_overlay_start+0x1d0/0x250
+mdss_mdp_overlay_kickoff+0x130/0x15fc
+mdss_mdp_overlay_off+0x264/0x870
+mdss_fb_blank_blank+0xd4/0x198
+mdss_fb_blank_sub+0x188/0x2b8
+mdss_fb_blank+0xf4/0x154
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_mdp_splash_iommu_attach+0xa0/0x13c
+mdss_mdp_splash_cleanup+0x144/0x370
+mdss_mdp_overlay_start+0x1d0/0x250
+mdss_mdp_overlay_kickoff+0x130/0x15fc
+mdss_mdp_overlay_off+0x264/0x870
+mdss_fb_blank_blank+0xd4/0x198
+mdss_fb_blank_sub+0x188/0x2b8
+mdss_fb_blank+0xf4/0x154
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_mdp_splash_iommu_attach+0xa0/0x13c
+mdss_mdp_splash_cleanup+0x144/0x370
+mdss_mdp_overlay_start+0x1d0/0x250
+mdss_mdp_overlay_kickoff+0x130/0x15fc
+mdss_mdp_overlay_off+0x264/0x870
+mdss_fb_blank_blank+0xd4/0x198
+mdss_fb_blank_sub+0x188/0x2b8
+mdss_fb_blank+0xf4/0x154
+mdss_mdp_splash_iommu_attach: mdss iommu attach failed
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_mdp_overlay_kickoff+0x1b0/0x15fc
+mdss_mdp_overlay_off+0x264/0x870
+mdss_fb_blank_blank+0xd4/0x198
+mdss_fb_blank_sub+0x188/0x2b8
+mdss_fb_blank+0xf4/0x154
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_mdp_overlay_kickoff+0x1b0/0x15fc
+mdss_mdp_overlay_off+0x264/0x870
+mdss_fb_blank_blank+0xd4/0x198
+mdss_fb_blank_sub+0x188/0x2b8
+mdss_fb_blank+0xf4/0x154
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_mdp_overlay_kickoff+0x1b0/0x15fc
+mdss_mdp_overlay_off+0x264/0x870
+mdss_fb_blank_blank+0xd4/0x198
+mdss_fb_blank_sub+0x188/0x2b8
+mdss_fb_blank+0xf4/0x154
+mdss_mdp_overlay_kickoff: iommu attach failed rc=-22
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_dsi_cmdlist_commit+0x278/0x670
+mdss_dsi_cmdlist_put+0xd8/0x110
+mdss_dsi_panel_off+0xb0/0x104
+mdss_dsi_blank+0x270/0x340
+mdss_dsi_event_handler+0x5a4/0xf60
+mdss_mdp_ctl_intf_event+0x4c/0xb4
+mdss_mdp_video_ctx_stop+0x44/0x230
+mdss_mdp_video_stop+0x64/0x1c0
+mdss_mdp_ctl_stop+0x84/0x3b4
+mdss_mdp_overlay_off+0x4c0/0x870
+mdss_fb_blank_blank+0xd4/0x198
+mdss_fb_blank_sub+0x188/0x2b8
+mdss_fb_blank+0xf4/0x154
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_dsi_cmdlist_commit+0x278/0x670
+mdss_dsi_cmdlist_put+0xd8/0x110
+mdss_dsi_panel_off+0xb0/0x104
+mdss_dsi_blank+0x270/0x340
+mdss_dsi_event_handler+0x5a4/0xf60
+mdss_mdp_ctl_intf_event+0x4c/0xb4
+mdss_mdp_video_ctx_stop+0x44/0x230
+mdss_mdp_video_stop+0x64/0x1c0
+mdss_mdp_ctl_stop+0x84/0x3b4
+mdss_mdp_overlay_off+0x4c0/0x870
+mdss_fb_blank_blank+0xd4/0x198
+mdss_fb_blank_sub+0x188/0x2b8
+mdss_fb_blank+0xf4/0x154
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_dsi_cmdlist_commit+0x278/0x670
+mdss_dsi_cmdlist_put+0xd8/0x110
+mdss_dsi_panel_off+0xb0/0x104
+mdss_dsi_blank+0x270/0x340
+mdss_dsi_event_handler+0x5a4/0xf60
+mdss_mdp_ctl_intf_event+0x4c/0xb4
+mdss_mdp_video_ctx_stop+0x44/0x230
+mdss_mdp_video_stop+0x64/0x1c0
+mdss_mdp_ctl_stop+0x84/0x3b4
+mdss_mdp_overlay_off+0x4c0/0x870
+mdss_fb_blank_blank+0xd4/0x198
+mdss_fb_blank_sub+0x188/0x2b8
+mdss_fb_blank+0xf4/0x154
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_mdp_clk_ctrl+0xb0/0x454
+mdss_mdp_overlay_start+0xbc/0x250
+mdss_mdp_overlay_on+0x1b8/0x1e4
+mdss_fb_blank_unblank+0x20c/0x320
+mdss_fb_blank_sub+0x15c/0x2b8
+mdss_fb_blank+0xf4/0x154
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_mdp_clk_ctrl+0xb0/0x454
+mdss_mdp_overlay_start+0xbc/0x250
+mdss_mdp_overlay_on+0x1b8/0x1e4
+mdss_fb_blank_unblank+0x20c/0x320
+mdss_fb_blank_sub+0x15c/0x2b8
+mdss_fb_blank+0xf4/0x154
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_mdp_clk_ctrl+0xb0/0x454
+mdss_mdp_overlay_start+0xbc/0x250
+mdss_mdp_overlay_on+0x1b8/0x1e4
+mdss_fb_blank_unblank+0x20c/0x320
+mdss_fb_blank_sub+0x15c/0x2b8
+mdss_fb_blank+0xf4/0x154
+__mdss_mdp_clk_control: IOMMU attach failed
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_mdp_overlay_start+0x108/0x250
+mdss_mdp_overlay_on+0x1b8/0x1e4
+mdss_fb_blank_unblank+0x20c/0x320
+mdss_fb_blank_sub+0x15c/0x2b8
+mdss_fb_blank+0xf4/0x154
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_mdp_overlay_start+0x108/0x250
+mdss_mdp_overlay_on+0x1b8/0x1e4
+mdss_fb_blank_unblank+0x20c/0x320
+mdss_fb_blank_sub+0x15c/0x2b8
+mdss_fb_blank+0xf4/0x154
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_mdp_overlay_start+0x108/0x250
+mdss_mdp_overlay_on+0x1b8/0x1e4
+mdss_fb_blank_unblank+0x20c/0x320
+mdss_fb_blank_sub+0x15c/0x2b8
+mdss_fb_blank+0xf4/0x154
+mdss_mdp_overlay_start: iommu attach failed rc=-22
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_mdp_clk_ctrl+0xb0/0x454
+mdss_mdp_hist_stop+0x64/0x25c
+mdss_fb_release_all+0x33c/0x41c
+mdss_fb_release+0x10/0x18
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_mdp_clk_ctrl+0xb0/0x454
+mdss_mdp_hist_stop+0x64/0x25c
+mdss_fb_release_all+0x33c/0x41c
+mdss_fb_release+0x10/0x18
+mdss_smmu_attach_v2+0xa8/0x244
+mdss_iommu_ctrl+0x1ac/0x234
+mdss_mdp_clk_ctrl+0xb0/0x454
+mdss_mdp_hist_stop+0x64/0x25c
+mdss_fb_release_all+0x33c/0x41c
+mdss_fb_release+0x10/0x18
+__mdss_mdp_clk_control: IOMMU attach failed
mdss_fb_release_all: try to close unopened fb 1! from pid:1 name:init
-mdss_mdp_overlay_release: Unable to unset pipe(s) ndx=0x8 unset=0x0
+mdss_fb_release_all: try to close unopened fb 0! from pid:1 name:init
dmesg with mdss debug enabled: https://gist.github.com/nE0sIghT/9bb6781d6693ea481080de0b72801643
Looks like mido's TZ missing APPS iommu, and current kernel tree is missing iommu-v1 implementation from 3.18. I think it's possible to backport qcom/iommu from 4.14 and reuse it for mido.
Fixed in 48b9595