[Bug 107545] radeon - ring 0 stalled - GPU lockup - SI
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Aug 20 17:42:01 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=107545
--- Comment #5 from Julien Isorce <julien.isorce at gmail.com> ---
Extract of the 2 attached cs dumps:
User space so before ioctl radeon_cs_ioctl:
0x00000290
0x00000000
0xC0016900
0x000002A1
Kernel space so in radeon_cs_ioctl:
0x00000290
0x0000000b
0x00000000
0x000002a1
So for some reasons 0x00000000C0016900 gets overwritten by 0x0000000b00000000
Note that it always get overwritten with this value above and this value also
appears in the other packet0 bug report:
https://bugs.freedesktop.org/show_bug.cgi?id=84500#c7
I have started to narrow down the issue and it looks like it happens in
"radeon_cs_parser_init" in kernel/drivers/gpu/drm/radeon as the overwrtting is
already present just after this function. But it is not easy to debug further
as this function is quite difficult to understand so any inputs would be
appreciated, thx!
Does kernel space make a copy of the cs chunks or just keep a pointer on it, as
I see "user_ptr" ?
Also note that the issue does not happen with amdgpu so one possibility is that
"amdgpu_cs_parser_init" is more robust.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180820/4f6e9f06/attachment.html>
More information about the dri-devel
mailing list