FreeBSDDesktop / kms-drm

the DRM part of the linuxkpi-based KMS
63 stars 26 forks source link

pull request to resolve issue https://github.com/FreeBSDDesktop/kms-drm/issues/78 #92

Closed gldisater closed 6 years ago

gldisater commented 6 years ago

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.

johalun commented 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.

johalun commented 6 years ago

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.