The removal of dma_mask (around line 105) in /usr/src/sys/compat/linuxkpi/common/include/linux/device.h breaks the DRM loadable modules :-( As follows .. --- amdgpu_amdkfd.o --- /usr/ports/graphics/drm-current-kmod/work/kms-drm-068d6be/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c:284:37: error: no member named 'dma_mask' in 'struct device' uint64_t address_mask = adev->dev->dma_mask ? ~*adev->dev->dma_mask : ~~~~~~~~~ ^ /usr/ports/graphics/drm-current-kmod/work/kms-drm-068d6be/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c:284:61: error: no member named 'dma_mask' in 'struct device' uint64_t address_mask = adev->dev->dma_mask ? ~*adev->dev->dma_mask : ~~~~~~~~~ ^ 2 errors generated. imbReceived on Thu Apr 25 2019 - 01:03:23 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:20 UTC