From patchwork Mon Jan 25 12:25:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 370216 Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp3938977jam; Mon, 25 Jan 2021 04:25:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJz2ZpRM4jweKER7FvqLum6KL2hDhds0uYGIurOl3SG6PavqZ5tBK0L5kKcjulJVFTRQcX4O X-Received: by 2002:a63:c205:: with SMTP id b5mr368148pgd.281.1611577550077; Mon, 25 Jan 2021 04:25:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611577550; cv=none; d=google.com; s=arc-20160816; b=TgYYS19G0VeS7X3xLlRvcalK3XV6Rd1NDURt0LCdbOmHQvcz4kNQ2XWpeZytDMWzSk gH0wbIZ6Y6RTmDNlA1Lqu/7APCqzIFUg28WiLdF7dMN7R485Acm4cigIiRFwX/eNxZNG Io96AoR3hTSof4DE79npLgpBjb61OZ1zamHISYDupk7gt0CHBHURU4PojEKKMqTjAfE5 YJNP5Vz0PUPP8aDWvhOuGMCDtbtwIrOepdPvndDpG9Uc/3pCoXvmO8hehlItf1Txo4tH pKw0vAfSq92fhZmkLA8MPDXCjehSMDepM2Z1zBj72y5v0ONoeMA827HVHSxoxOjX+GEa MTsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=ueoU7s/U+Oe6gWwS0/kITXEhUDknWluX9sArvUD0ptI=; b=Fd6NENTw4d8GzkLuK53gvw9U35gv9vjUIRGIonpScikDfOFT69KzU9zeygi2mxM4X3 fVSIgBpLstZV+GRMcr8pY4oXUrmMVATNg4zLClMpt38ZN5rH2JmX1tcj1jLN93cPA/sA ICZFkZ3G4Xjs0ZiXqhWit+ZGQoYVIb7sP0MdDIXVTDkrvabrkWpI6Z5zwPLDx+Rg672S UleOGZrECSr3l/fHacEBdF+zyMpqGf7yGuTuU5krCbJ5TFUX/dEhTgVmVt+794Jt7PlI WrGCnTWwEm7Eb71Z+VOqCb0Orm6pbGhI9TLVmMzTEPa3HncgcQsh68R9nOHAHKmcsb1N ggLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=k20201202 header.b=lZy1xrMC; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id y1si20529240pjd.144.2021.01.25.04.25.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Jan 2021 04:25:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=k20201202 header.b=lZy1xrMC; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 12E336E082; Mon, 25 Jan 2021 12:25:49 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1ED736E082; Mon, 25 Jan 2021 12:25:48 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 6B2F922583; Mon, 25 Jan 2021 12:25:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1611577547; bh=WEu6xFibX0AWxe6SUVQhMl1iWA9mDOLr68B6RzcwQlg=; h=From:To:Cc:Subject:Date:From; b=lZy1xrMCh5by4v6N/nuKNTDygAOQX3S9+fYSQemWPn3VsgS1Cin2TAFqofoIfZjDq uaPL7yLPtzK+CuVrbIDeqwt69OAirmhCw2srJkEBNXvgGB4o8sAjzRK3OYE4lpW6rs innvECZoTC5IGQdWx8KN65bgy8g0a1KbHZ+RJZlIoe5MSBqI1i/92Uw+gUpLdG4evH bj+Yg32P6FdkiZR4bvlSFYKavRhuMEz0qYrGbQlRymixPX/lwEkd+X28tzbjE5VpEQ uASJMbqNQ+lvlvXpv92U4Vwd1KwaLESovdzsfNC/SHT3txhhZtRBNx8sDPHFEoaGPf DpABsfdL/6bEg== From: Arnd Bergmann To: Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , David Airlie , Daniel Vetter , Matthew Auld , Chris Wilson Subject: [PATCH] drm/i915/gem: fix non-SMP build failure Date: Mon, 25 Jan 2021 13:25:34 +0100 Message-Id: <20210125122542.4144849-1-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Arnd Bergmann , linux-kernel@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Arnd Bergmann The x86-specific wbinvd_on_all_cpus() function is exported through asm/smp.h, causing a build failure in the i915 driver when SMP is disabled: drivers/gpu/drm/i915/i915_gem.c:1182:2: error: implicit declaration of function 'wbinvd_on_all_cpus' [-Werror,-Wimplicit-function-declaration] Include that header file explicitly. Fixes: 30d2bfd09383 ("drm/i915/gem: Almagamate clflushes on freeze") Signed-off-by: Arnd Bergmann --- drivers/gpu/drm/i915/i915_gem.c | 1 + 1 file changed, 1 insertion(+) -- 2.29.2 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c index 9b04dff5eb32..2a1643514577 100644 --- a/drivers/gpu/drm/i915/i915_gem.c +++ b/drivers/gpu/drm/i915/i915_gem.c @@ -36,6 +36,7 @@ #include #include #include +#include #include "display/intel_display.h" #include "display/intel_frontbuffer.h"