HDMI : Hot-pluggable , facing the error : csr_display0ab: EMEM decode error on PDE or PTE entry

Hi,

Using the Jetson tk1 board with L4T 21.4, with HDMI Monitor is connected

After booting , I am doing the unplug and plug the HDMI Cable, for 3 to 4 times.

During that time, I am seeing the following errors [ mc-err]

Log

[ 165.960402] hdmi_state_machine_set_state_l: switching from state 5 (Wait for HPD reassert) to state 0 (Reset)
[ 165.960629] hdmi_state_machine_worker (tid ed7b1a40): state 0 (Reset), hpd 0, pending_hpd_evt 0
[ 165.972768] hdmi_disable_l: audio_switch 0
[ 165.973697] hdmi_disable_l: hpd_switch 0
[ 165.973799] HDMI from connected to disconnected
[ 165.988088] hdmi_state_machine_set_state_l: switching from state 0 (Reset) to state 1 (Check Plug)
[ 165.998056] hdmi_state_machine_worker (tid ed7b1a40): state 1 (Check Plug), hpd 0, pending_hpd_evt 0
[ 165.998085] hdmi_disable_l: audio_switch 0
[ 165.998092] hdmi_disable_l: hpd_switch 0
[ 165.998101] hdmi_state_machine_set_state_l: switching from state 1 (Check Plug) to state 3 (Disabled)

ubuntu@tegra-ubuntu:~$

[ 170.893417] mc-err: [mcerr] (dcb) csr_display0ab: EMEM decode error on PDE or PTE entry
[ 170.901416] mc-err: [mcerr] status = 0x60007002; addr = 0x007a87c0
[ 170.907584] mc-err: [mcerr] secure: no, access-type: read, SMMU fault: nr-nw-s
[ 170.940901] mc-err: [mcerr] (dcb) csr_display0ab: EMEM decode error on PDE or PTE entry
[ 170.948896] mc-err: [mcerr] status = 0x60000002; addr = 0x00010000
[ 170.955063] mc-err: [mcerr] secure: no, access-type: read, SMMU fault: nr-nw-s
[ 170.962683] mc-err: [mcerr] (dcb) csr_display0ab: EMEM decode error on PDE or PTE entry
[ 170.970671] mc-err: [mcerr] status = 0x60005002; addr = 0x00296d40
[ 170.976837] mc-err: [mcerr] secure: no, access-type: read, SMMU fault: nr-nw-s
[ 170.984410] mc-err: [mcerr] (dcb) csr_display0ab: EMEM decode error on PDE or PTE entry
[ 170.992396] mc-err: [mcerr] status = 0x60046002; addr = 0x004ce380
[ 170.998560] mc-err: [mcerr] secure: no, access-type: read, SMMU fault: nr-nw-s
[ 171.006134] mc-err: [mcerr] (dcb) csr_display0ab: EMEM decode error on PDE or PTE entry
[ 171.014120] mc-err: [mcerr] status = 0x60044002; addr = 0x0073b900
[ 171.020286] mc-err: [mcerr] secure: no, access-type: read, SMMU fault: nr-nw-s
[ 171.027861] mc-err: Too many MC errors; throttling prints

Please help out to resolve the issue

Hi JaiAtEcon,

We’re investigating the issue you mentioned above, and will update the status to you once we clarified it.

Thanks

Hi JaiEcon.

This issue not seen with lot of try on current rel candidate
We will keep looking for it. but as of now we are not seeing it.

Thanks

Hi,

I am experiencing similar problems when connecting a 800x480 display from adafruit using the TFP401 converter:

[ 5851.901236] tegra_dc_hdmi_irq: start
[ 5851.901343] tegra_dc_hdmi_irq: end
[ 5851.901449] hdmi_state_machine_worker (tid eafd4040): state 4 (Enabled), hpd 0, pending_hpd_evt 1
[ 5851.901494] hdmi_state_machine_set_state_l: switching from state 4 (Enabled) to state 5 (Wait for HPD reassert)
[ 5853.403664] hdmi_state_machine_worker (tid eafd4040): state 5 (Wait for HPD reassert), hpd 0, pending_hpd_evt 0
[ 5853.404271] hdmi_state_machine_set_state_l: switching from state 5 (Wait for HPD reassert) to state 0 (Reset)
[ 5853.404505] hdmi_state_machine_worker (tid eafd4040): state 0 (Reset), hpd 0, pending_hpd_evt 0
[ 5853.404617] hdmi_disable_l: audio_switch 0
[ 5853.415191] hdmi_disable_l: hpd_switch 0
[ 5853.415346] HDMI from connected to disconnected
[ 5853.430484] hdmi_state_machine_set_state_l: switching from state 0 (Reset) to state 1 (Check Plug)
[ 5853.440009] hdmi_state_machine_worker (tid eafd4040): state 1 (Check Plug), hpd 0, pending_hpd_evt 0
[ 5853.440038] hdmi_disable_l: audio_switch 0
[ 5853.440044] hdmi_disable_l: hpd_switch 0
[ 5853.440053] hdmi_state_machine_set_state_l: switching from state 1 (Check Plug) to state 3 (Disabled)
[ 5904.151035] tegra_dc_hdmi_irq: start
[ 5904.151098] tegra_dc_hdmi_irq: end
[ 5904.151427] hdmi_state_machine_worker (tid eafd4040): state 3 (Disabled), hpd 1, pending_hpd_evt 1
[ 5904.151435] hdmi_state_machine_set_state_l: switching from state 3 (Disabled) to state 0 (Reset)
[ 5904.190927] hdmi_state_machine_worker (tid eafd4040): state 0 (Reset), hpd 1, pending_hpd_evt 0
[ 5904.190972] hdmi_disable_l: audio_switch 0
[ 5904.191000] hdmi_disable_l: hpd_switch 0
[ 5904.191036] hdmi_state_machine_set_state_l: switching from state 0 (Reset) to state 1 (Check Plug)
[ 5904.200811] hdmi_state_machine_worker (tid eafd4040): state 1 (Check Plug), hpd 1, pending_hpd_evt 0
[ 5904.200861] hdmi_state_machine_set_state_l: switching from state 1 (Check Plug) to state 2 (Check EDID)
[ 5904.260924] hdmi_state_machine_worker (tid eafd4040): state 2 (Check EDID), hpd 1, pending_hpd_evt 0
[ 5904.275582] panel size 15 by 10
[ 5904.276065] handle_check_edid_l: audio_switch 0
[ 5904.278085] Display connected, hpd_switch 1
[ 5904.278118] hdmi_state_machine_set_state_l: switching from state 2 (Check EDID) to state 4 (Enabled)
[ 5904.278151] hdmi_state_machine_worker (tid eafd4040): state 4 (Enabled), hpd 1, pending_hpd_evt 0
[ 5904.278434] pll_dyn_ramp_find_cfg: Failed to set pll_d2 out-of-table rate 96000000
[ 5904.308074] tegradc tegradc.1: nominal-pclk:32000000 parent:216000000 div:7.0 pclk:30857142 31680000~34880000
[ 5904.308086] tegradc tegradc.1: pclk out of range!
[ 5904.320694] tegradc tegradc.1: tegra_dc_init: tegra_dc_program_mode failed
[ 5904.320794] tegradc tegradc.1: _tegra_dc_controller_enable: tegra_dc_init failed
[ 5904.376337] tegradc tegradc.1: nominal-pclk:108003000 parent:216000000 div:2.0 pclk:108000000 106922970~117723270
[ 5904.379773] mc-err: [mcerr] (dcb) csr_display0ab: EMEM decode error on PDE or PTE entry
[ 5904.379781] mc-err: [mcerr]   status = 0x60000002; addr = 0x00610000
[ 5904.379781] mc-err: [mcerr]   secure: no, access-type: read, SMMU fault: nr-nw-s
[ 5904.380412] mc-err: [mcerr] (dcb) csr_display0ab: EMEM decode error on PDE or PTE entry
[ 5904.380418] mc-err: [mcerr]   status = 0x60005002; addr = 0x00646340
[ 5904.380418] mc-err: [mcerr]   secure: no, access-type: read, SMMU fault: nr-nw-s
[ 5904.380425] mc-err: [mcerr] (dcb) csr_display0ab: EMEM decode error on PDE or PTE entry
[ 5904.380429] mc-err: [mcerr]   status = 0x60005002; addr = 0x00696340
[ 5904.380429] mc-err: [mcerr]   secure: no, access-type: read, SMMU fault: nr-nw-s
[ 5904.380436] mc-err: [mcerr] (dcb) csr_display0ab: EMEM decode error on PDE or PTE entry
[ 5904.380440] mc-err: [mcerr]   status = 0x60046002; addr = 0x0063c380
[ 5904.380440] mc-err: [mcerr]   secure: no, access-type: read, SMMU fault: nr-nw-s
[ 5904.380446] mc-err: [mcerr] (dcb) csr_display0ab: EMEM decode error on PDE or PTE entry
[ 5904.380450] mc-err: [mcerr]   status = 0x60046002; addr = 0x00668380
[ 5904.380450] mc-err: [mcerr]   secure: no, access-type: read, SMMU fault: nr-nw-s
[ 5904.380458] mc-err: Too many MC errors; throttling prints
[ 5904.743089] pll_dyn_ramp_find_cfg: Failed to set pll_d2 out-of-table rate 96000000
[ 5904.744574] tegradc tegradc.1: nominal-pclk:32000000 parent:216000000 div:7.0 pclk:30857142 31680000~34880000
[ 5904.744579] tegradc tegradc.1: pclk out of range!
[ 5904.744584] tegradc tegradc.1: tegra_dc_init: tegra_dc_program_mode failed
[ 5904.744733] tegradc tegradc.1: _tegra_dc_controller_enable: tegra_dc_init failed
[ 5904.757834] pll_dyn_ramp_find_cfg: Failed to set pll_d2 out-of-table rate 96000000
[ 5904.758464] tegradc tegradc.1: nominal-pclk:32000000 parent:216000000 div:7.0 pclk:30857142 31680000~34880000
[ 5904.758467] tegradc tegradc.1: pclk out of range!
[ 5904.758472] tegradc tegradc.1: tegra_dc_init: tegra_dc_program_mode failed
[ 5904.758539] tegradc tegradc.1: _tegra_dc_controller_enable: tegra_dc_init failed

Maybe this helps to reproduce the issue!

Hi jonasamstutz,

As my update previously, this issue not seen with lot of try on current rel candidate.
We will keep looking for it. but as of now we are not seeing it.
Please help to get it a try on coming new release.

Thanks

Hi Kaycc,

When will the new release be available?

Regards,
Sasi

R21.5 was released a short time ago. See:
https://devtalk.nvidia.com/default/topic/950860/jetson-tk1/jetpack-2-2-1-and-l4t-r21-5-for-jetson-tk1/