Re: SVN r346645 breaks build of DRM drivers

From: Johannes Lundberg <johalun0_at_gmail.com>
Date: Wed, 24 Apr 2019 20:44:42 -0700
Hi

Sorry about that. Github has been updated to workaround this
https://github.com/FreeBSDDesktop/kms-drm (default branch =
drm-current-kmod)

The port will be updated asap.

/Johannes


On 4/24/19 8:03 PM, Michael Butler wrote:
> 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.
>
> 	imb
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Thu Apr 25 2019 - 01:44:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:20 UTC