Received: by 10.213.65.68 with SMTP id h4csp579032imn; Wed, 28 Mar 2018 08:54:57 -0700 (PDT) X-Google-Smtp-Source: AIpwx49DPC+LWknHszzi4RTW4L5MX6qQLfSNMbj3NoCyC3vXl47b0/Mz/XKQpRf8OzMhaL3QcE2i X-Received: by 10.167.130.76 with SMTP id e12mr3467108pfn.192.1522252497292; Wed, 28 Mar 2018 08:54:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522252497; cv=none; d=google.com; s=arc-20160816; b=HBfhtye/RAnDcqHkKvA7kgKauGiUGSVlBWq/nizF9auwqX39UUZKDk7NsrpNPS1PqG nwhDUBRmARvglaa39ldxyuGdu4lNomuhBQplRWdMzQqst3dO07BXXerX+gsoHm0Fev7e 2gZOqeY3RuKDUhzPS44gwQbs/3qYd0TemgW9o2GsU9FpCZwykCr3XMJ5Xfc9iuHOscM3 QxSy73hryOJoRkQWwGaBJlYTCgV+ZHUzStHZ30oIyBNBTrbqdIi/+GVU38dBPKWLpyv4 3KRtkJWK4oBNwG7KY/yf8AY1hZ874dF+ETH0/KAalPnTqwfYWqYgovt48VvK41Oo+cKZ oWnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=t0+gsv0FW3uU0kGvdAU1UUkmn7ogvFH/JqqExXatc8U=; b=xPsG3jm8UXEcnoGUA+xpI7IxgrKLqn1sUtlyRTkBdmvcRSPN3Py+QC7XJG6Sxap4wH Gi8kwFRbdKOzsz/oOZM40gsymLeJOqrBfaCiM9NQTJKwdPRZvd91S/HkH7y7D0uDbaJp Sl5qKBlMJB9MaDWxdyoNlqTW4p7RUdnybeYj4kVBtg5dkDfDPg4s6NivwmCHC8ukvszk 1MSy0xZeokrpEV6U8FxXtRQKbZSM9qY64J+aDo6EzuB7WBPUDiRNOPFoOHt+Wl2nOAwe IKYUh8UriB+VUS35REzdJT1GW0PC5oixCP62L85Wyx0Oj70EMYyNch0J70JShCuusXdB NyCA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bj1-v6si3822824plb.663.2018.03.28.08.54.42; Wed, 28 Mar 2018 08:54:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754083AbeC1Pxv (ORCPT + 99 others); Wed, 28 Mar 2018 11:53:51 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:57255 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753816AbeC1Pxu (ORCPT ); Wed, 28 Mar 2018 11:53:50 -0400 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue101 [212.227.15.145]) with ESMTPA (Nemesis) id 0LwZJ9-1eUMmH0iQ3-018O9C; Wed, 28 Mar 2018 17:53:42 +0200 From: Arnd Bergmann To: Oded Gabbay , Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , "David (ChunMing) Zhou" , David Airlie Cc: Arnd Bergmann , Felix Kuehling , dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] amdkfd: always select MMU_NOTIFIER Date: Wed, 28 Mar 2018 17:53:32 +0200 Message-Id: <20180328155340.2253343-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:WgGORML7OESKfZOITBTxHB0FzdjS2ap01YdNwv1mLjXSF6R0gxZ fAcoTQ83zkbpJ8r2VzbcdK0kVlLuOEwYxlkyZuzzy5W1h/ZQMsUrHuicN/eKKyYRVxGwWcL HQgomRE7o7AX1J84mRZrsQrpMk/W38fgNd3hgb6Th86Pfb0Utbw69KRO0vKHplpGfnUxile /YllLKIOv838zWkfBQPWA== X-UI-Out-Filterresults: notjunk:1;V01:K0:uI+zreIlG34=:xkm3iT4RWtL4TeEnwT5hap j80egPif2aHKiwuwgcWNvPjsPn6afcMqYLkpw41qAYk6bFkzhxTLQdxl3jw/Lwe50A2gLwN3a 2OxNLPcgmttVpNpMU8STV0hiS0vONDjNa7I/xZeBl33oqZZn2QCRqn+ekgvkcX4ZmRNHJBKZw bEhGaAXRfTew4anI1voGGI/wzEEYDLOWkVTYmZZlffC6ncRFemTb0mOTWc7ekDASY00vWbENJ v/jWQ/jEw0/eGLBcNbP1/3U38lssYC39iR4/tJ8ncXtIhWMr2kCMwBT81ZAkfbA3FwYzBSGzw Jh9anl54u2Xek+AJ9bG85j6ZdoAXzlOrhuDF+BdE7P4Javd0BwQQcCQ04XKUmRDkGcfaFc+yW yf6KG/NaVYpehTsq/G0ilVD7HbcOU6cUTl8VFOcyrktiOJiqn0/Z9Iu7gQ9LAgGIBldZvrZdT ivXwm/+ZK/DcYbFH26gOiyfAAGDcikHtv+AJU7QMEj07VZ93KdvlMB1w8d5nmwU1MOISd/h4U admNpezHvDPDdaivfwCoSq6fR1xQ/TlkdB3iHqjhMDu4TOhLSlNiwqXVNnyv2xP5nFefJc5a5 f22k5nLM8YouyU96gfRCaDfxGYMkkBvux9iauAEY43xRNSPPfzcPTYzL6aEkpVUGmavqDQU+P jl0fmDWHuWogVGfMLUC1W9Rn/VewvRZIUR6tK/Ibfqg7R75gLkSLb7WQq8kjaZyfAOlYUbKU/ /TnbYiXZ/EdV46JCxAN7ST7Y9fwzRg6YTFC/3A== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Building amdkfd without MMU notifiers is broken: In file included from drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c:28: drivers/gpu/drm/amd/amdkfd/kfd_priv.h:584:22: error: field 'mmu_notifier' has incomplete type This adds the missing 'select MMU_NOTIFIER' line to make it build cleanly all the time. Signed-off-by: Arnd Bergmann --- drivers/gpu/drm/amd/amdkfd/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdkfd/Kconfig b/drivers/gpu/drm/amd/amdkfd/Kconfig index ed2f06c9f346..5a26acb90e19 100644 --- a/drivers/gpu/drm/amd/amdkfd/Kconfig +++ b/drivers/gpu/drm/amd/amdkfd/Kconfig @@ -4,6 +4,7 @@ config HSA_AMD tristate "HSA kernel driver for AMD GPU devices" + select MMU_NOTIFIER depends on DRM_AMDGPU && X86_64 imply AMD_IOMMU_V2 help -- 2.9.0