Skip to contentSkip to conversation

Tonga agd5f drm-next-4.7-wip UVD Oops/lock since drm/amdgpu: keep vm in job instead of ib

Bug 95195 [email protected] 1 participant 4 messages Apr 28, 2016 – May 2, 2016

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 95195
Summary: Tonga agd5f drm-next-4.7-wip UVD Oops/lock since
drm/amdgpu: keep vm in job instead of ib
Product: DRI
Version: DRI git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu
Assignee: [email protected]
Reporter: [email protected]

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

Tonga on agd5f drm-next-4.7-wip

Getting an Oops followed by a GPU lock using UVD since -

commit 5599239c331b9860c35d5e0fd7c6acbc838fc20d

Author: Monk Liu <[email protected]>
Date:   Tue Apr 19 20:11:32 2016 +0800

drm/amdgpu: keep vm in job instead of ib

ib.vm is a legacy way to get vm, after scheduler implemented vm should be get from job, and all ibs from one job share the same vm, no need to keep ib.vm just move vm field to job.

this patch as well add job as paramter to ib_schedule so it can get vm from job->vm.

Easy to provoke with powerplay=1 and auto clocks. Harder to provoke, but also happens with powerplay=0.

dmesg with Oops attached.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

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

--- Comment #1 from Alex Deucher <[email protected]> --- Created attachment 123329
--> https://bugs.freedesktop.org/attachment.cgi?id=123329&action=edit
possible fix

Does the attached patch help?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

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

--- Comment #2 from Andy Furniss <[email protected]> --- (In reply to Alex Deucher from comment #1)

Quoted 4 lines

Created attachment 123329 [details] [review]
possible fix

Does the attached patch help?

Yes, so far running OK with that.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

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

Andy Furniss <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel