[Bug 111273] crash calling AMDGPU_INFO_READ_MMR_REG with count set to -1

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Aug 31 23:21:54 UTC 2019


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

--- Comment #1 from Trek <trek00 at inbox.ru> ---
Created attachment 145226
  --> https://bugs.freedesktop.org/attachment.cgi?id=145226&action=edit
possible fix

The proposed fix is tested on latest git.

I'm unsure if 65536 is a good limit: it could be small as 64, but even if the
longest consecutive registers are 48, may be in the future they are increased
and no one remember to higher that limit. Anyway it should not be larger than
the PCI BAR area for memory mapped registers, that on my KAVERI is 256K, thus
65536 registers.

ciao!

-- 
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/20190831/1589a7d1/attachment.html>


More information about the dri-devel mailing list