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 6ADC7C10DC3 for ; Thu, 7 Dec 2023 11:17:32 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2C2C210E881; Thu, 7 Dec 2023 11:17:32 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.100]) by gabe.freedesktop.org (Postfix) with ESMTPS id E625410E882 for ; Thu, 7 Dec 2023 11:17:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701947848; x=1733483848; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=cLRMVcQUo3j2Sb1RS2RVdvWoKBS/U0q7wC9P7Z4Iuu0=; b=BxBgp45qTE32U8ZvodRxQHISGFaG7RtFmU0NCIVKPSi/p2H8KR8AAFw4 bmL+5tlk63AbKiukOy7DVGQ2pkIrnAxcl1JvGH8m2+LCZ0hOODY35spYf SODLRFGj8XjXGHlSBUJ3k6/gVcty0nnutzW++6BblPV0UWGl1FXeYNvtW 9hMTLDX+yeGhoFy1YS3H++A2yTbrbloIGXsekj4CCXQwisouGyteb60Ua Ak6w4gX79p3KGNS4sA3p7Xj0mVL/bGoE98jWRHbg+1Kzs1yNRUSOWyw8A 8LjdG/cuLYBxg6qHqfnCcpAdxvUl6W1QVO9u2Tgn0IxPdCEW/o95qyt09 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10916"; a="460704538" X-IronPort-AV: E=Sophos;i="6.04,256,1695711600"; d="scan'208";a="460704538" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Dec 2023 03:17:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10916"; a="837685977" X-IronPort-AV: E=Sophos;i="6.04,256,1695711600"; d="scan'208";a="837685977" Received: from rlgreyi-mobl.amr.corp.intel.com (HELO jhogande-mobl1.intel.com) ([10.252.46.17]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Dec 2023 03:17:27 -0800 From: =?UTF-8?q?Jouni=20H=C3=B6gander?= To: intel-xe@lists.freedesktop.org Subject: [PATCH 3/9] fixup! drm/xe/display: Implement display support Date: Thu, 7 Dec 2023 13:17:00 +0200 Message-Id: <20231207111706.2293105-4-jouni.hogander@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231207111706.2293105-1-jouni.hogander@intel.com> References: <20231207111706.2293105-1-jouni.hogander@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Content-Transfer-Encoding: 8bit X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Jouni=20H=C3=B6gander?= Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" We need to add i915_gem_object_get_dma_address stub to build intel_cursor.h. Signed-off-by: Maarten Lankhorst Signed-off-by: Jouni Högander --- .../gpu/drm/xe/compat-i915-headers/gem/i915_gem_object.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_object.h b/drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_object.h index 3b305c291cdd..b991069b5cb3 100644 --- a/drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_object.h +++ b/drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_object.h @@ -6,6 +6,15 @@ #ifndef _I915_GEM_OBJECT_H_ #define _I915_GEM_OBJECT_H_ +#include "xe_bo.h" + #define i915_gem_object_is_shmem(obj) ((obj)->flags & XE_BO_CREATE_SYSTEM_BIT) +static inline dma_addr_t i915_gem_object_get_dma_address(const struct xe_bo *bo, pgoff_t n) +{ + /* Should never be called */ + WARN_ON(1); + return n; +} + #endif -- 2.34.1