https://bugs.freedesktop.org/show_bug.cgi?id=104611

            Bug ID: 104611
           Summary: [fiji] BUG: unable to handle kernel NULL pointer
                    dereference when waking up displays with amdgpu.dc=1
           Product: DRI
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: medium
         Component: DRM/Radeon
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: ved...@miletic.net

Created attachment 136703
  --> https://bugs.freedesktop.org/attachment.cgi?id=136703&action=edit
dmesg

Using Fedora rawhide (28) with kernel 4.15.0-0.rc7.git4.1.fc28.x86_64 on

01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Fiji
HDMI/DP Audio [Radeon R9 Nano / FURY/FURY X] [1002:aae8]

If I let displays go to sleep and then wake them up, I get:

[ 1464.218367] BUG: unable to handle kernel NULL pointer dereference at
0000000000000208
[ 1464.218407] IP: create_stream_for_sink+0x1cc/0x3c0 [amdgpu]
[ 1464.218409] PGD 80000003c89ae067 P4D 80000003c89ae067 PUD 404d9d067 PMD 0 
[ 1464.218414] Oops: 0000 [#1] SMP PTI
[ 1464.218415] Modules linked in: fuse rpcsec_gss_krb5 nfsv4 dns_resolver nfs
lockd grace fscache intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp
joydev kvm irqbypass crct10dif_pclmul snd_hda_codec_realtek
snd_hda_codec_generic snd_hda_codec_hdmi crc32_pclmul ghash_clmulni_intel
snd_hda_intel snd_hda_codec snd_hda_core intel_cstate eeepc_wmi asus_wmi
iTCO_wdt mei_wdt iTCO_vendor_support sparse_keymap snd_seq snd_hwdep rfkill
intel_uncore snd_seq_device wmi_bmof ppdev snd_pcm intel_rapl_perf snd_timer
parport_pc parport shpchp snd i2c_i801 soundcore mei_me video mei lpc_ich wmi
auth_rpcgss binfmt_misc sunrpc amdkfd amd_iommu_v2 amdgpu chash i2c_algo_bit
drm_kms_helper ttm crc32c_intel drm r8169 mii hid_cherry
[ 1464.218465] CPU: 7 PID: 1474 Comm: Xorg Not tainted
4.15.0-0.rc7.git4.1.fc28.x86_64 #1
[ 1464.218467] Hardware name: Transtec AG    /B85M-E, BIOS 3505 11/28/2016
[ 1464.218490] RIP: 0010:create_stream_for_sink+0x1cc/0x3c0 [amdgpu]
[ 1464.218491] RSP: 0018:ffffadcac9c7b900 EFLAGS: 00010286
[ 1464.218493] RAX: 0000000000000870 RBX: ffff9063805b0000 RCX:
0000000000000000
[ 1464.218494] RDX: 0000000000000013 RSI: 0000000000000002 RDI:
ffff906337f5b08c
[ 1464.218495] RBP: ffffadcac9c7ba40 R08: 0000000000000000 R09:
0000000000000f00
[ 1464.218497] R10: ffff906337f5b000 R11: 0000000000000870 R12:
ffff906337f5b000
[ 1464.218498] R13: 0000000000000000 R14: ffff906345723e80 R15:
ffff906337f5d000
[ 1464.218499] FS:  00007f3de9b77a80(0000) GS:ffff90638d400000(0000)
knlGS:0000000000000000
[ 1464.218500] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1464.218502] CR2: 0000000000000208 CR3: 0000000405d86001 CR4:
00000000001606e0
[ 1464.218503] Call Trace:
[ 1464.218508]  ? __lock_is_held+0x65/0xb0
[ 1464.218534]  dm_update_crtcs_state+0xef/0x3a0 [amdgpu]
[ 1464.218555]  ? dm_update_crtcs_state+0xef/0x3a0 [amdgpu]
[ 1464.218577]  ? dc_resource_state_copy_construct+0xcc/0x110 [amdgpu]
[ 1464.218598]  amdgpu_dm_atomic_check+0x210/0x480 [amdgpu]
[ 1464.218611]  drm_atomic_check_only+0x387/0x560 [drm]
[ 1464.218618]  ? drm_connector_list_iter_end+0x5a/0x70 [drm]
[ 1464.218624]  drm_atomic_commit+0x18/0x50 [drm]
[ 1464.218630]  drm_atomic_connector_commit_dpms+0xef/0x100 [drm]
[ 1464.218637]  set_property_atomic+0xce/0x150 [drm]
[ 1464.218646]  drm_mode_obj_set_property_ioctl+0xf9/0x1b0 [drm]
[ 1464.218652]  ? drm_mode_connector_set_obj_prop+0x80/0x80 [drm]
[ 1464.218657]  drm_mode_connector_property_set_ioctl+0x3f/0x60 [drm]
[ 1464.218663]  drm_ioctl_kernel+0x5d/0xb0 [drm]
[ 1464.218669]  drm_ioctl+0x31b/0x3d0 [drm]
[ 1464.218674]  ? drm_mode_connector_set_obj_prop+0x80/0x80 [drm]
[ 1464.218678]  ? trace_hardirqs_on_caller+0xf4/0x190
[ 1464.218679]  ? trace_hardirqs_on+0xd/0x10
[ 1464.218694]  amdgpu_drm_ioctl+0x4f/0x90 [amdgpu]
[ 1464.218697]  do_vfs_ioctl+0xa6/0x6c0
[ 1464.218699]  ? __fget+0x124/0x210
[ 1464.218702]  SyS_ioctl+0x79/0x90
[ 1464.218706]  entry_SYSCALL_64_fastpath+0x25/0x9c
[ 1464.218707] RIP: 0033:0x7f3de6e72877
[ 1464.218708] RSP: 002b:00007fffabff2c98 EFLAGS: 00000246 ORIG_RAX:
0000000000000010
[ 1464.218710] RAX: ffffffffffffffda RBX: 0000000000000200 RCX:
00007f3de6e72877
[ 1464.218712] RDX: 00007fffabff2cd0 RSI: 00000000c01064ab RDI:
000000000000000c
[ 1464.218713] RBP: 0000000000000040 R08: 0000000001fd7390 R09:
0000000000000018
[ 1464.218714] R10: 0000000000000004 R11: 0000000000000246 R12:
0000000001bf1810
[ 1464.218715] R13: 0000000000000000 R14: 0000000001bf1a00 R15:
0000000001bf0990
[ 1464.218719] Code: da 4c 89 e7 e8 56 fc ff ff 4c 89 f6 4c 89 ef 4c 89 e2 e8
28 f0 ff ff 4c 8b ab c0 04 00 00 49 8d bc 24 8c 00 00 00 ba 13 00 00 00 <41> 0f
b7 85 08 02 00 00 49 8d b5 12 02 00 00 41 89 84 24 a0 00 
[ 1464.218780] RIP: create_stream_for_sink+0x1cc/0x3c0 [amdgpu] RSP:
ffffadcac9c7b900
[ 1464.218781] CR2: 0000000000000208
[ 1464.218783] ---[ end trace 0e302a5838408694 ]---

Without DC this works fine.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to