[Bug 106258] AMD Xorg start failes with non-4K page sizes

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

 



Comment # 30 on bug 106258 from
I suspect there's an issue in amdgpu_vm_bo_split_mapping, e.g. this code looks
suspicious:

                if (pages_addr) {
                        uint64_t count;

                        max_entries = min(max_entries, 16ull * 1024ull);
                        for (count = 1; count < max_entries; ++count) {
                                uint64_t idx = pfn + count;

                                if (pages_addr[idx] !=
                                    (pages_addr[idx - 1] + PAGE_SIZE))
                                        break;
                        }

count is compared to max_entries, which is a number of GPU pages, but is also
added to pfn, which is a number of CPU pages.


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