Wind River Support Network

HomeDefectsLIN1023-1155
Acknowledged

LIN1023-1155 : ti-j7xxx: TI-J721E-EVM: get calltrace when executing graphic testing

Created: Jun 28, 2023    Updated: Jul 24, 2023
Previous ID: LIN1022-4657
Found In Version: 10.23.30.1
Severity: Standard
Applicable for: Wind River Linux LTS 23
Component/s: BSP

Description

root@ti-j72xx:~# dmesg
[ 3964.022953] ------------[ cut here ]------------
[ 3964.022958] WARNING: CPU: 1 PID: 369 at drivers/gpu/drm/tidss/tidss_crtc.c:194 tidss_crtc_atomic_flush+0x108/0x124
[ 3964.022979] Modules linked in: rpmsg_client_sample rpmsg_char 8021q virtio_rpmsg_bus rpmsg_ns ti_am335x_adc kfifo_buf irq_pruss_intc pru_rproc cdns3 udc_core snd_soc_j721e_evm phy_can_transceiver ti_k3_r5_remoteproc ti_am335x_tscadc cdns_mhdp8546 vxd_dec mfd_core pruss vxe_enc videobuf2_dma_sg pvrsrvkm(O) videobuf2_dma_contig v4l2_mem2mem videobuf2_memops videobuf2_v4l2 snd_soc_pcm3168a_i2c videobuf2_common ti_k3_dsp_remoteproc cdns3_ti ti_k3_common snd_soc_pcm3168a sch_fq_codel openvswitch nsh nf_conncount nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 fuse
[ 3964.023031] CPU: 1 PID: 369 Comm: Xorg Tainted: G        W  O       6.1.35-rt10-yocto-preempt-rt #1
[ 3964.023036] Hardware name: Texas Instruments J721e EVM (DT)
[ 3964.023038] pstate: 40000005 (nZcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 3964.023042] pc : tidss_crtc_atomic_flush+0x108/0x124
[ 3964.023047] lr : tidss_crtc_atomic_flush+0x6c/0x124
[ 3964.023050] sp : fffffe0018f8f900
[ 3964.023051] x29: fffffe0018f8f900 x28: fffffc0808edb4b0 x27: 0000000000000000
[ 3964.023057] x26: fffffc080776b800 x25: 0000000000000038 x24: fffffc0806d64000
[ 3964.023061] x23: 0000000000000000 x22: 0000000000000038 x21: fffffc0807706800
[ 3964.023066] x20: fffffc0806d64000 x19: fffffc080732e800 x18: 0000000000000000
[ 3964.023070] x17: 0000000000000022 x16: fffffc087f9f6300 x15: 0000000000000001
[ 3964.023074] x14: 0000000000000000 x13: 0000000000400000 x12: 0000000000000003
[ 3964.023077] x11: 0000000000000302 x10: 0000000000000091 x9 : fffffe00087a37ec
[ 3964.023082] x8 : fffffe0018f8f8e8 x7 : 0000000000000000 x6 : 0000000000000000
[ 3964.023085] x5 : 0000000000000000 x4 : 0000000000000038 x3 : fffffc0806e3d200
[ 3964.023089] x2 : fffffc0807701000 x1 : 0000000000000000 x0 : 0000000000000000
[ 3964.023093] Call trace:
[ 3964.023095]  tidss_crtc_atomic_flush+0x108/0x124
[ 3964.023099]  drm_atomic_helper_commit_planes+0x158/0x220
[ 3964.023105]  tidss_atomic_commit_tail+0x44/0x90
[ 3964.023109]  commit_tail+0xa8/0x17c
[ 3964.023113]  drm_atomic_helper_commit+0x14c/0x180
[ 3964.023117]  drm_atomic_commit+0xb0/0xf0
[ 3964.023123]  drm_client_modeset_commit_atomic+0x224/0x264
[ 3964.023128]  drm_client_modeset_dpms+0x90/0x240
[ 3964.023131]  drm_fb_helper_blank+0x64/0x110
[ 3964.023136]  fb_blank+0x5c/0xb0
[ 3964.023142]  do_fb_ioctl+0x458/0x5ec
[ 3964.023147]  fb_ioctl+0x40/0x54
[ 3964.023151]  __arm64_sys_ioctl+0xb4/0x100
[ 3964.023155]  invoke_syscall+0x5c/0x130
[ 3964.023162]  el0_svc_common.constprop.0+0x4c/0xf4
[ 3964.023166]  do_el0_svc+0x34/0xc0
[ 3964.023170]  el0_svc+0x2c/0x84
[ 3964.023174]  el0t_64_sync_handler+0xf4/0x120
[ 3964.023177]  el0t_64_sync+0x18c/0x190
[ 3964.023181] ---[ end trace 0000000000000000 ]---

Steps to Reproduce

$ setup.sh --machines ti-j7xxx --templates feature/docker  --dl-layers --accept-eula=yes --distros wrlinux-graphics
$ . ./environment-setup-x86_64-wrlinuxsdk-linux
$ . ./oe-init-build-env
$ sed -i 's/#PREFERRED_PROVIDER_virtual\/kernel = "linux-yocto"/PREFERRED_PROVIDER_virtual\/kernel = "linux-yocto-rt"/' conf/local.conf
$ git clone --single-branch -b WRLINUX_10_23_HEAD ssh://git@lxgit.wrs.com/wrlinux-testing/testcases
$ cd testcases;git checkout WRLINUX_10_23_HEAD
$ bitbake-layers add-layer <path-to>testcases/wr-testing/bts-dev
$ echo "require templates/feature/bts/template.conf" >> conf/local.conf
$ echo "ACTIVE_PLAN='test_plan.ini'" >> conf/local.conf
$ cat test_plan.ini
[Test_Case]
graphic_x11perf
[Test_HW]

$ bitbake wrlinux-image-std-sato

boot target:

3) on taget
$ cd /opt/wr-test/testcases/bts/graphic_x11perf
$ ./runtest.sh -k 0
Live chat
Online