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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Comment # 1 on bug 111273 from
Created attachment 145226 [details] [review]
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:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux