From owner-freebsd-current@freebsd.org Thu Apr 25 03:03:23 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 849161589EB8 for ; Thu, 25 Apr 2019 03:03:23 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from mail.protected-networks.net (mail.protected-networks.net [IPv6:2001:470:8d59:1::8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.protected-networks.net", Issuer "Protected Networks CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8F4168CC89 for ; Thu, 25 Apr 2019 03:03:19 +0000 (UTC) (envelope-from imb@protected-networks.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= protected-networks.net; h=content-transfer-encoding :content-language:content-type:content-type:mime-version :user-agent:date:date:message-id:subject:subject:from:from; s= 201508; t=1556161390; bh=TgT3stQnCE6/FeoAjPgFciC1RJF4rREVKSwXqHf f3Tg=; b=TxB52JAKUgx74H7/b5Pg1prZRHsECZFfuL4tQqKwUxk45V5IJ9g9gFz phUvQfdmv4+JorF4IlJ49T3SvyzzTKjJTcFQAVaEGQFzj9vGAxYvBQ4gFhzUZKQh 6oR62NAVvxbTG2sKuCRR/emJ3aKEu3BFbCuKj7tf+6FT7fV8wDa8= Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [192.168.1.10]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: imb@mail.protected-networks.net) by mail.protected-networks.net (Postfix) with ESMTPSA id D65E93420E; Wed, 24 Apr 2019 23:03:10 -0400 (EDT) To: FreeBSD Current Cc: tycon@freebsd.org From: Michael Butler Subject: SVN r346645 breaks build of DRM drivers Openpgp: preference=signencrypt Message-ID: <0f965585-9d30-6ce8-035e-3453b1c9e95c@protected-networks.net> Date: Wed, 24 Apr 2019 23:03:10 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Language: en-NZ Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Apr 2019 03:03:23 -0000 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