Bug 102507 - WARNING: CPU: 1 PID: 336 at drivers/gpu/drm/drm_mode_object.c:237 drm_object_property_set_value+0x5d/0x70 [drm]
Summary: WARNING: CPU: 1 PID: 336 at drivers/gpu/drm/drm_mode_object.c:237 drm_object_...
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/AMDgpu (show other bugs)
Version: unspecified
Hardware: All All
: medium minor
Assignee: Default DRI bug account
QA Contact:
URL: https://lists.freedesktop.org/archive...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-01 07:55 UTC by Vedran Miletić
Modified: 2017-11-04 23:48 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Vedran Miletić 2017-09-01 07:55:59 UTC
I'm running https://cgit.freedesktop.org/~agd5f/linux/ branche amd-staging-drm-next on Vega 10. I have 3 AOC DisplayPort 1080p monitors connected to Vega's 3 DisplayPorts, regular cables, nothing funky.

I don't see anything obviously wrong or broken (presumably because I have no FreeSync-supporting display), but the following is reported by the kernel:

[    3.617329] ------------[ cut here ]------------
[    3.617338] WARNING: CPU: 1 PID: 336 at drivers/gpu/drm/drm_mode_object.c:237 drm_object_property_set_value+0x5d/0x70 [drm]
[    3.617338] Modules linked in: amdgpu(+) i2c_algo_bit drm_kms_helper ttm r8169 drm crc32c_intel serio_raw mii i2c_hid hid_holtek_mouse
[    3.617343] CPU: 1 PID: 336 Comm: systemd-udevd Not tainted 4.13.0-rc5+ #6
[    3.617344] Hardware name: MSI MS-7971/Z170-A PRO (MS-7971), BIOS 1.I0 05/02/2017
[    3.617344] task: ffff914d36cf4d80 task.stack: ffffbcee83780000
[    3.617350] RIP: 0010:drm_object_property_set_value+0x5d/0x70 [drm]
[    3.617350] RSP: 0018:ffffbcee83783808 EFLAGS: 00010246
[    3.617351] RAX: ffffffffc0596f40 RBX: ffff914d370e6000 RCX: ffff914d370e6148
[    3.617351] RDX: 0000000000000000 RSI: ffff914d341db780 RDI: ffff914d370e6028
[    3.617352] RBP: ffffbcee83783808 R08: 0000000000000009 R09: ffffffffc04ebbc2
[    3.617352] R10: ffffedb5a0d2e940 R11: 0000000000000001 R12: ffff914d34900000
[    3.617352] R13: 0000000000000000 R14: ffff914d370e6028 R15: ffff914d34900000
[    3.617353] FS:  00007efc1b1699c0(0000) GS:ffff914d6ec80000(0000) knlGS:0000000000000000
[    3.617354] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    3.617354] CR2: 00007efc1b169940 CR3: 00000008360c6000 CR4: 00000000003406e0
[    3.617355] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[    3.617355] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[    3.617356] Call Trace:
[    3.617398]  amdgpu_dm_add_sink_to_freesync_module+0x8f/0x1c0 [amdgpu]
[    3.617427]  amdgpu_dm_update_connector_after_detect+0xb9/0x200 [amdgpu]
[    3.617452]  amdgpu_dm_initialize_drm_device+0x360/0x760 [amdgpu]
[    3.617454]  ? printk+0x52/0x6e
[    3.617483]  ? mod_freesync_create+0x13e/0x190 [amdgpu]
[    3.617507]  amdgpu_dm_init+0x15f/0x270 [amdgpu]
[    3.617530]  dm_hw_init+0x12/0x20 [amdgpu]
[    3.617550]  amdgpu_device_init+0xc57/0x15b0 [amdgpu]
[    3.617569]  amdgpu_driver_load_kms+0x76/0x2a0 [amdgpu]
[    3.617574]  drm_dev_register+0x146/0x1d0 [drm]
[    3.617592]  amdgpu_pci_probe+0x113/0x150 [amdgpu]
[    3.617594]  local_pci_probe+0x42/0xa0
[    3.617595]  ? pci_assign_irq+0x2b/0x120
[    3.617596]  pci_device_probe+0x18d/0x1a0
[    3.617598]  driver_probe_device+0x2ff/0x450
[    3.617599]  __driver_attach+0xa4/0xe0
[    3.617599]  ? driver_probe_device+0x450/0x450
[    3.617601]  bus_for_each_dev+0x6e/0xb0
[    3.617601]  driver_attach+0x1e/0x20
[    3.617602]  bus_add_driver+0x1d0/0x270
[    3.617603]  ? 0xffffffffc0668000
[    3.617603]  driver_register+0x60/0xe0
[    3.617604]  ? 0xffffffffc0668000
[    3.617605]  __pci_register_driver+0x4c/0x50
[    3.617628]  amdgpu_init+0x91/0xa4 [amdgpu]
[    3.617630]  do_one_initcall+0x50/0x190
[    3.617631]  ? __vunmap+0x81/0xb0
[    3.617632]  ? kmem_cache_alloc_trace+0x15f/0x1c0
[    3.617633]  ? do_init_module+0x27/0x1e9
[    3.617634]  do_init_module+0x5f/0x1e9
[    3.617635]  load_module+0x25d0/0x2c00
[    3.617637]  ? vfs_read+0x115/0x130
[    3.617638]  SYSC_finit_module+0xfc/0x120
[    3.617639]  ? SYSC_finit_module+0xfc/0x120
[    3.617640]  SyS_finit_module+0xe/0x10
[    3.617640]  do_syscall_64+0x67/0x140
[    3.617642]  entry_SYSCALL64_slow_path+0x25/0x25
[    3.617643] RIP: 0033:0x7efc1aa65629
[    3.617643] RSP: 002b:00007fff77e03468 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[    3.617644] RAX: ffffffffffffffda RBX: 00000009fe31cef0 RCX: 00007efc1aa65629
[    3.617644] RDX: 0000000000000000 RSI: 00007efc1a309da5 RDI: 0000000000000011
[    3.617645] RBP: 00007efc1a309da5 R08: 0000000000000000 R09: 00007fff77e03580
[    3.617645] R10: 0000000000000011 R11: 0000000000000246 R12: 0000000000000000
[    3.617646] R13: 00000009fe32d780 R14: 0000000000020000 R15: 00000009fd62381c
[    3.617646] Code: 71 08 74 2b 83 ef 01 b8 01 00 00 00 48 83 c7 01 eb 0a 48 83 c0 01 48 39 34 c1 74 16 48 39 f8 4c 63 c0 75 ee b8 ea ff ff ff 5d c3 <0f> ff eb c0 45 31 c0 4a 89 94 c1 c8 00 00 00 31 c0 5d c3 0f 1f 
[    3.617660] ---[ end trace e5a9535048e22052 ]---
[    3.623007] [drm] [Detect]   [DP][ConnIdx:1] Rx Caps: 11 0A 84 01 01 00 01 00 02 00 02 00 00 00 00 ^
[    3.644520] [drm] [LKTN]     [DP][ConnIdx:1] HBRx4 pass VS=0, PE=0^
[    3.644831] [drm] [Detect]   [DP][ConnIdx:1] 2769M: [Block 0] 00 FF FF FF FF FF FF 00 05 E3 69 27 0B 03 00 00 1A 18 01 04 A5 3C 22 78 3A 53 A5 A7 56 52 9C 26 11 50 54 BF EF 00 D1 C0 B3 00 95 00 81 80 81 40 81 C0 01 01 01 01 02 3A 80 18 71 38 2D 40 58 2C 45 00 56 50 21 00 00 1E 00 00 00 FD 00 32 4C 1E 53 11 01 0A 20 20 20 20 20 20 00 00 00 FC 00 32 37 36 39 4D 0A 20 20 20 20 20 20 20 00 00 00 FF 00 41 42 47 45 36 39 41 30 30 30 37 37 39 01 E7 ^
[    3.644838] [drm] [Detect]   [DP][ConnIdx:1] 2769M: [Block 1] 02 03 1E F1 4B 90 1F 05 14 04 13 03 12 02 11 01 23 09 07 07 83 01 00 00 65 03 0C 00 10 00 8C 0A D0 8A 20 E0 2D 10 10 3E 96 00 56 50 21 00 00 18 01 1D 00 72 51 D0 1E 20 6E 28 55 00 56 50 21 00 00 1E 8C 0A D0 8A 20 E0 2D 10 10 3E 96 00 56 50 21 00 00 18 8C 0A D0 90 20 40 31 20 0C 40 55 00 56 50 21 00 00 18 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 91 ^
[    3.644839] [drm] dc_link_detect: manufacturer_id = E305, product_id = 2769, serial_number = 30B, manufacture_week = 26, manufacture_year = 24, display_name = 2769M, speaker_flag = 1, audio_mode_count = 1
[    3.644840] [drm] dc_link_detect: mode number = 0, format_code = 1, channel_count = 1, sample_rate = 7, sample_size = 7
[    3.644840] [drm] link=1, dc_sink_in=ffff914d369a9400 is now Connected
[    3.644841] [drm] DCHPD: connector_id=1: Old sink=          (null) New sink=ffff914d369a9400
[    3.645236] ------------[ cut here ]------------
Comment 1 Dieter Nützel 2017-09-01 15:23:35 UTC
I've reported this 2 times to amd-gfx-devel (Alex, Harry et al.) in the last several days. Was '[amd-staging-drm-next] kernel crash with amdgpu on RX580 in
'drm_object_property_get_value'.

Should be 'drm_object_property_[get|set]_value'.

Yes, it is _NO_ crash only warning (my bad) and it is _WORKED_ on.

Here comes what Alex mailed me about:

>> 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. ;-(
>>
> It's not a crash, just a warning.  It's due to a recent change in the
> drm core, but we haven't gotten around to sorting it out yet.
> Alex

Greetings,
Dieter
Comment 2 Vedran Miletić 2017-09-01 15:32:28 UTC
Found it: https://lists.freedesktop.org/archives/amd-gfx/2017-August/012283.html

Guess I should subscribe to one more list. :-)
Comment 3 Dieter Nützel 2017-09-01 15:43:49 UTC
(In reply to Vedran Miletić from comment #2)
> Found it:
> https://lists.freedesktop.org/archives/amd-gfx/2017-August/012283.html
> 
> Guess I should subscribe to one more list. :-)

Maybe or I _should_ make better bug reports in the beginning...;-)

Greetings,
Dieter
Comment 4 Dieter Nützel 2017-09-01 15:47:12 UTC
This one is related, too:

https://lists.freedesktop.org/archives/amd-gfx/2017-August/012558.html
Comment 5 Vedran Miletić 2017-11-03 22:24:19 UTC
Fixed for me with Nov 2 commits.
Comment 6 dwagner 2017-11-04 15:48:28 UTC
The recent patches to amdgpu made those annoying kernel warning messages go away for me, too. Along with them went some initialization and self-test messages, such as e.g.

> [drm] GPU post is not needed
> [drm] amdgpu: irq initialized.
> amdgpu: [powerplay] amdgpu: powerplay sw initialized
... which probably (hopefully) were not really relevant, either.
Comment 7 Dieter Nützel 2017-11-04 21:33:07 UTC
Yes, I only can second it on RX580 (since some days ;-) ).

Should be CLOSED.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.