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 A7B14C10F05 for ; Mon, 4 Dec 2023 06:50:55 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6AA7310E194; Mon, 4 Dec 2023 06:50:49 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) by gabe.freedesktop.org (Postfix) with ESMTPS id 71A2510E2D4 for ; Mon, 4 Dec 2023 06:50:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701672612; x=1733208612; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=fi3jhXQp19yU4AVlCuRxW5dc/Lo7wZCXZbHPVH/p32I=; b=BUCbc0U6p3T1+xhvPYCpcA6dcSrNJ35EKQWP1ReLoTbix08h8im9yRpt 9ya8+eTYm0bOMaSQ4cAkmgEVg/Xso55Cw4l++Oxa6i0+fX87juuWYgOq6 enEnIyfldMmY0cV389fqv5XCX33ANeksuukZsq+sQbczo41slHLIlxIRm auxMFVJZDl6gvmn0QDIkfU8tPsx1QA3qeM6b5PMXeucCJXOqJtYtocGrH 646DZV2pR/1JJn+rvg5ZrM4q+lLLgN7H4dtzy+USDi1C9qikN2JLJC6BA MHExkGFJwDMhpq1YRkMkLBL7CpoW9FAYRKkhMXLqSHrGRe34aUwF3VUn5 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10913"; a="373880081" X-IronPort-AV: E=Sophos;i="6.04,249,1695711600"; d="scan'208";a="373880081" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Dec 2023 22:50:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10913"; a="836482866" X-IronPort-AV: E=Sophos;i="6.04,249,1695711600"; d="scan'208";a="836482866" Received: from martinro-mobl2.ger.corp.intel.com (HELO jhogande-mobl1.intel.com) ([10.252.46.174]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Dec 2023 22:50:10 -0800 From: =?UTF-8?q?Jouni=20H=C3=B6gander?= To: intel-xe@lists.freedesktop.org Date: Mon, 4 Dec 2023 08:49:31 +0200 Message-Id: <20231204064932.869215-9-jouni.hogander@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231204064932.869215-1-jouni.hogander@intel.com> References: <20231204064932.869215-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 Subject: [Intel-xe] [PATCH v2 8/9] fixup! drm/xe/display: Implement display support 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" Adding i915_gem_object_is_tiled and i915_gem_object_is_userptr for intel_fb.c. Signed-off-by: Jouni Högander --- .../xe/compat-i915-headers/gem/i915_gem_object.h | 16 ++++++++++++++++ 1 file changed, 16 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..996b4f4f27dc 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,22 @@ #ifndef _I915_GEM_OBJECT_H_ #define _I915_GEM_OBJECT_H_ +#include + +#include "xe_bo.h" + #define i915_gem_object_is_shmem(obj) ((obj)->flags & XE_BO_CREATE_SYSTEM_BIT) +static inline bool i915_gem_object_is_tiled(const struct xe_bo *bo) +{ + /* legacy tiling is unused */ + return false; +} + +static inline bool i915_gem_object_is_userptr(const struct xe_bo *bo) +{ + /* legacy tiling is unused */ + return false; +} + #endif -- 2.34.1