<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Venus PRO R9 M265X amdgpu: Kernel OOPS si_dpm_set_power_state unable to handle kernel NULL pointer dereference"
href="https://bugs.freedesktop.org/show_bug.cgi?id=102553">102553</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Venus PRO R9 M265X amdgpu: Kernel OOPS si_dpm_set_power_state unable to handle kernel NULL pointer dereference
</td>
</tr>
<tr>
<th>Product</th>
<td>DRI
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>DRM/AMDgpu
</td>
</tr>
<tr>
<th>Assignee</th>
<td>dri-devel@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mercuriete@yahoo.es
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=133980" name="attach_133980" title="full dmesg">attachment 133980</a> <a href="attachment.cgi?id=133980&action=edit" title="full dmesg">[details]</a></span>
full dmesg
Hi all
When you try to change the DPM "governor" to "battery" using this command:
echo "battery" > /sys/class/drm/card0/device/power_dpm_state
You will get a kernel OOPS
OS: Gentoo
Kernel:
~ $ uname -a
Linux localhost.localdomain 4.13.0-gentoo #2 SMP PREEMPT Tue Sep 5 19:43:50
CEST 2017 x86_64 Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz GenuineIntel
GNU/Linux
m
lspci of my graphic card:
01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Venus PRO
[Radeon HD 8850M / R9 M265X]
lspci -n:
01:00.0 0380: 1002:6823
partial dmesg output:
[ 1861.111097] BUG: unable to handle kernel NULL pointer dereference at
(null)
[ 1861.111929] IP: (null)
[ 1861.112733] PGD 3cb980067
[ 1861.112734] P4D 3cb980067
[ 1861.113516] PUD 343b2f067
[ 1861.114286] PMD 0
[ 1861.116531] Oops: 0010 [#1] PREEMPT SMP
[ 1861.117296] Modules linked in:
[ 1861.118053] CPU: 4 PID: 4384 Comm: bash Not tainted 4.13.0-gentoo #2
[ 1861.118803] Hardware name: TOSHIBA SATELLITE P50-B-11M/VG20SQ, BIOS 1.50
12/09/2014
[ 1861.119547] task: ffff880307a33000 task.stack: ffffc90000894000
[ 1861.120295] RIP: 0010: (null)
[ 1861.121365] RSP: 0018:ffffc90000897cc8 EFLAGS: 00010202
[ 1861.122300] RAX: ffffffff81ea12e0 RBX: ffff88041b8f0000 RCX:
0000000000000078
[ 1861.123101] RDX: 0000000000000078 RSI: 0000000000000007 RDI:
ffff88041b8f0000
[ 1861.123938] RBP: ffffc90000897d50 R08: 0000000000020000 R09:
0000000000018c04
[ 1861.124720] R10: 0000000000000000 R11: ffff88041b940044 R12:
0000000000000000
[ 1861.125507] R13: ffff88041b940000 R14: ffff88041b941988 R15:
0000000000000003
[ 1861.126293] FS: 00007fefa79d6700(0000) GS:ffff88042fb00000(0000)
knlGS:0000000000000000
[ 1861.127096] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1861.127903] CR2: 0000000000000000 CR3: 00000002e9266000 CR4:
00000000001406e0
[ 1861.128718] Call Trace:
[ 1861.129530] ? si_dpm_set_power_state+0xc49/0x11e0
[ 1861.130354] amdgpu_pm_compute_clocks+0x289/0x600
[ 1861.131177] amdgpu_set_dpm_state+0x79/0x110
[ 1861.131990] dev_attr_store+0x13/0x20
[ 1861.132804] sysfs_kf_write+0x32/0x40
[ 1861.133624] kernfs_fop_write+0x112/0x190
[ 1861.134466] __vfs_write+0x23/0x130
[ 1861.135324] ? preempt_count_add+0x99/0xb0
[ 1861.136163] ? _raw_write_unlock+0x11/0x30
[ 1861.136992] ? __this_cpu_preempt_check+0x13/0x20
[ 1861.137804] ? __sb_start_write+0x50/0xe0
[ 1861.138613] vfs_write+0xaf/0x180
[ 1861.139405] SyS_write+0x41/0xb0
[ 1861.140189] ? __context_tracking_exit.part.2+0x2e/0xf0
[ 1861.140980] do_syscall_64+0x6f/0x160
[ 1861.141764] entry_SYSCALL64_slow_path+0x25/0x25
[ 1861.142557] RIP: 0033:0x7fefa7092b40
[ 1861.143346] RSP: 002b:00007ffcd158b488 EFLAGS: 00000246 ORIG_RAX:
0000000000000001
[ 1861.144158] RAX: ffffffffffffffda RBX: 0000000000000008 RCX:
00007fefa7092b40
[ 1861.144975] RDX: 0000000000000008 RSI: 00000000006c5b00 RDI:
0000000000000001
[ 1861.145794] RBP: 00000000006c5b00 R08: 00007fefa734d760 R09:
00007fefa79d6700
[ 1861.146617] R10: 0000000000000097 R11: 0000000000000246 R12:
0000000000000008
[ 1861.147442] R13: 0000000000000001 R14: 00007fefa734c600 R15:
0000000000000000
[ 1861.148267] Code: Bad RIP value.
[ 1861.149090] RIP: (null) RSP: ffffc90000897cc8
[ 1861.149925] CR2: 0000000000000000
[ 1861.157732] ---[ end trace 4f6879609b5f474d ]---</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>