From patchwork Fri Mar 8 14:46:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joonas Lahtinen X-Patchwork-Id: 13586899 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5A35BC54E4A for ; Fri, 8 Mar 2024 14:47:03 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BBD5310FA2E; Fri, 8 Mar 2024 14:47:02 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="gUAuiIVO"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1A9DD10F891 for ; Fri, 8 Mar 2024 14:47:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1709909221; x=1741445221; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=nabzxEN1PS9JUzBZrjbpuSG/w5qm31efipUM4ftZUUw=; b=gUAuiIVOBgeKGFhc+i0UCX7+12tXr46jBrAZL/b2dfOgGUeRhWDth8Xv VlPkO8DjguJdALrAxziqV3dJZa08rdXawqL7MD45QvgeCIY4kQA5Lh5hK Itg5Xg1CUGp6LyqKAWB2mWQjwy8nb+hF4RTFAL3nmjSYR9WBqN4MiYF7Y vyR+r5NgmzEPvElPT9P1h954ddoQKn5VrW1yyGnyon8o0vibnEISs3ehU +WBk1Lg5QfmsjQHZJRzf7jdgg92cwTucJytdt7jOOGD5OspaZtdmCkxnA Q7EOqzop1QoqoeRIEtnL94yGlaQcvkyLLMZYmcJJGRGTNsf3t9hMUw8wl g==; X-IronPort-AV: E=McAfee;i="6600,9927,11006"; a="8382438" X-IronPort-AV: E=Sophos;i="6.07,109,1708416000"; d="scan'208";a="8382438" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Mar 2024 06:47:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,109,1708416000"; d="scan'208";a="15185431" Received: from unknown (HELO localhost) ([10.245.244.189]) by orviesa005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Mar 2024 06:46:58 -0800 From: Joonas Lahtinen To: Intel graphics driver community testing & development Cc: Joonas Lahtinen , Chris Wilson , Jani Nikula , Rodrigo Vivi , Tvrtko Ursulin Subject: [PATCH] drm/i915: Add includes for BUG_ON/BUILD_BUG_ON in i915_memcpy.c Date: Fri, 8 Mar 2024 16:46:43 +0200 Message-ID: <20240308144643.137831-1-joonas.lahtinen@linux.intel.com> X-Mailer: git-send-email 2.43.2 MIME-Version: 1.0 X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Add standalone includes for BUG_ON and BUILD_BUG_ON to avoid build failure after linux-next include refactoring. Signed-off-by: Joonas Lahtinen Cc: Chris Wilson Cc: Jani Nikula Cc: Rodrigo Vivi Cc: Tvrtko Ursulin Reviewed-by: Rodrigo Vivi --- drivers/gpu/drm/i915/i915_memcpy.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_memcpy.c b/drivers/gpu/drm/i915/i915_memcpy.c index ba82277254b7..cc41974cee74 100644 --- a/drivers/gpu/drm/i915/i915_memcpy.c +++ b/drivers/gpu/drm/i915/i915_memcpy.c @@ -25,6 +25,8 @@ #include #include #include +#include +#include #include #include "i915_memcpy.h"