Re: SVN r346645 breaks build of DRM drivers

From: Enji Cooper <yaneurabeya_at_gmail.com>
Date: Wed, 24 Apr 2019 20:46:52 -0700
(Fixing CC)

> On Apr 24, 2019, at 8:03 PM, Michael Butler <imb_at_protected-networks.net> 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.
Received on Thu Apr 25 2019 - 01:46:57 UTC

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