Closed gldisater closed 6 years ago
Damn I was looking at that code but didn't see that one.. Thanks a bunch! I will also cherry-pick this into 4.16 but that is the current drm-devel-kmod.
Actually this break on radeon. We have to call the common function
pfn = ttm_bo_io_mem_pfn(bo, page_offset);
I will fix that.
amdgpu uses a different function to resolve the pfn than radeon did. The FreeBSD specific code had copied the radeon code instead of using the structure's function pointer.