Re: [radeon-alex:amd-staging-drm-next 68/819] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:154:10: error: 'drm_atomic_helper_connector_dpms' undeclared here (not in a function)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've send a related kernel crash log to amd-devel some days ago without any answer, yet...

Was:
[amd-staging-drm-next] kernel crash with amdgpu on RX580 in 'drm_object_property_get_value'

I get this in _all_ current 'amd-staging-drm-next' versions. ;-(

[16301.515079] ------------[ cut here ]------------
[16301.515105] WARNING: CPU: 4 PID: 11871 at drivers/gpu/drm/drm_mode_object.c:294 drm_object_property_get_value+0x22/0x30 [drm] [16301.515106] Modules linked in: fuse rfcomm nf_log_ipv6 xt_comment nf_log_ipv4 nf_log_common xt_LOG xt_limit rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd nfnetlink_cthelper grace nfnetlink sunrpc fscache af_packet ipmi_ssif iscsi_ibft iscsi_boot_sysfs ip6t_REJECT nf_reject_ipv6 nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT nf_reject_ipv4 xt_pkttype xt_tcpudp iptable_filter ip6table_mangle nf_conntrack_netbios_ns nf_conntrack_broadcast nf_conntrack_ipv4 nf_defrag_ipv4 ip_tables xt_conntrack nf_conntrack libcrc32c ip6table_filter ip6_tables x_tables jc42 bnep joydev snd_hda_codec_hdmi snd_hda_intel snd_hda_codec btusb snd_hwdep btrtl snd_hda_core btbcm btintel bluetooth snd_pcm e1000e intel_powerclamp iTCO_wdt snd_timer coretemp iTCO_vendor_support hid_generic snd ptp kvm_intel pps_core rfkill [16301.515129] kvm ecdh_generic tpm_infineon soundcore irqbypass tpm_tis tpm_tis_core crc32c_intel pcspkr shpchp ipmi_si tpm usbhid i2c_i801 i7core_edac lpc_ich ipmi_devintf ipmi_msghandler ac button acpi_cpufreq tcp_bbr raid1 md_mod amdkfd amd_iommu_v2 serio_raw sr_mod cdrom amdgpu mpt3sas i2c_algo_bit raid_class scsi_transport_sas drm_kms_helper syscopyarea sysfillrect ehci_pci sysimgblt fb_sys_fops ehci_hcd ttm usbcore drm sg dm_multipath dm_mod scsi_dh_rdac scsi_dh_emc scsi_dh_alua [16301.515147] CPU: 4 PID: 11871 Comm: X Tainted: G W 4.13.0-rc5-1.g7262353-default+ #1 [16301.515148] Hardware name: FUJITSU PRIMERGY TX150 S7 /D2759, BIOS 6.00 Rev. 1.19.2759.A1 09/26/2012
[16301.515149] task: ffff90c49525a180 task.stack: ffffb84786ef4000
[16301.515156] RIP: 0010:drm_object_property_get_value+0x22/0x30 [drm]
[16301.515157] RSP: 0018:ffffb84786ef7bf8 EFLAGS: 00010282
[16301.515158] RAX: ffffffffc03f0cc0 RBX: ffff90c522000000 RCX: 0000000000000000 [16301.515158] RDX: ffffb84786ef7c10 RSI: ffff90c523837600 RDI: ffff90c523b19028 [16301.515159] RBP: ffffb84786ef7bf8 R08: ffff90c41ee28280 R09: ffff90c515defc00 [16301.515159] R10: 0000000000024bb8 R11: 0000000000000000 R12: 0000000000000000 [16301.515160] R13: ffff90c523b19000 R14: 00000000ffffffea R15: ffff90c511e8c100 [16301.515161] FS: 00007f86f15c9a40(0000) GS:ffff90c53fd00000(0000) knlGS:0000000000000000
[16301.515162] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16301.515162] CR2: 0000000849a98680 CR3: 00000005dcc1a000 CR4: 00000000000006e0
[16301.515163] Call Trace:
[16301.515255] amdgpu_dm_connector_atomic_set_property+0xe8/0x150 [amdgpu]
[16301.515292]  drm_atomic_set_property+0x164/0x470 [drm]
[16301.515300]  drm_mode_obj_set_property_ioctl+0x10b/0x240 [drm]
[16301.515311]  ? drm_mode_connector_set_obj_prop+0x80/0x80 [drm]
[16301.515318]  drm_mode_connector_property_set_ioctl+0x30/0x40 [drm]
[16301.515324]  drm_ioctl_kernel+0x5d/0xb0 [drm]
[16301.515332]  drm_ioctl+0x31a/0x3d0 [drm]
[16301.515339]  ? drm_mode_connector_set_obj_prop+0x80/0x80 [drm]
[16301.515342]  ? ext4_file_write_iter+0xba/0x390
[16301.515362]  amdgpu_drm_ioctl+0x4f/0x90 [amdgpu]
[16301.515365]  do_vfs_ioctl+0x92/0x5c0
[16301.515367]  ? __fget+0x6e/0x90
[16301.515368]  SyS_ioctl+0x79/0x90
[16301.515372]  entry_SYSCALL_64_fastpath+0x1e/0xa9
[16301.515373] RIP: 0033:0x7f86eef46507
[16301.515373] RSP: 002b:00007fffe5f9dca8 EFLAGS: 00003246 ORIG_RAX: 0000000000000010 [16301.515374] RAX: ffffffffffffffda RBX: 000000084aeea990 RCX: 00007f86eef46507 [16301.515375] RDX: 00007fffe5f9dce0 RSI: 00000000c01064ab RDI: 000000000000000d [16301.515375] RBP: 000000084b50d830 R08: 000000084b07d690 R09: 0000000000000001 [16301.515376] R10: 0000000000000004 R11: 0000000000003246 R12: 000000084aeea990 [16301.515376] R13: 0000000000000005 R14: 000000084aeeedd0 R15: 000000084aeeedd0 [16301.515377] Code: 2e 0f 1f 84 00 00 00 00 00 66 66 66 66 90 48 8b 46 60 55 48 89 e5 48 8b 80 70 03 00 00 48 83 78 20 00 75 07 e8 60 ff ff ff 5d c3 <0f> ff e8 57 ff ff ff 5d c3 0f 1f 44 00 00 66 66 66 66 90 55 48
[16301.515394] ---[ end trace f957c1d5844ce46f ]---

Thanks,
Dieter

Am 30.08.2017 00:22, schrieb kbuild test robot:
tree: git://people.freedesktop.org/~agd5f/linux.git amd-staging-drm-next
head:   ff14f0dca1f23b2cff41e43440c7952965e5fc1b
commit: 9b37a9b8f6464e3ce1ce59eda1ec7053c8e77ca3 [68/819] drm/amd/dc:
Add dc display driver (v2)
config: ia64-allyesconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.0
reproduce:
        wget
https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross
-O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 9b37a9b8f6464e3ce1ce59eda1ec7053c8e77ca3
        # save the attached .config to linux build tree
        make.cross ARCH=ia64

Note: the radeon-alex/amd-staging-drm-next HEAD
ff14f0dca1f23b2cff41e43440c7952965e5fc1b builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:154:10: error: 'drm_atomic_helper_connector_dpms' undeclared here (not in a function)
     .dpms = drm_atomic_helper_connector_dpms,
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:159:18: error: 'drm_atomic_helper_connector_set_property' undeclared here (not in a function)
     .set_property = drm_atomic_helper_connector_set_property,
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

vim +/drm_atomic_helper_connector_dpms +154
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c

   152
153 static const struct drm_connector_funcs dm_dp_mst_connector_funcs = {
 > 154		.dpms = drm_atomic_helper_connector_dpms,
   155		.detect = dm_dp_mst_detect,
   156		.fill_modes = drm_helper_probe_single_connector_modes,
   157		.destroy = dm_dp_mst_connector_destroy,
   158		.reset = amdgpu_dm_connector_funcs_reset,
 > 159		.set_property = drm_atomic_helper_connector_set_property,
160 .atomic_duplicate_state = amdgpu_dm_connector_atomic_duplicate_state, 161 .atomic_destroy_state = drm_atomic_helper_connector_destroy_state,
   162		.atomic_set_property = amdgpu_dm_connector_atomic_set_property
   163	};
   164

---
0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux