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 E4F50C46CA3 for ; Mon, 4 Dec 2023 16:42:09 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D3A0A10E361; Mon, 4 Dec 2023 16:42:08 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6DB4D10E38A for ; Mon, 4 Dec 2023 16:41:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701708087; x=1733244087; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=fi3jhXQp19yU4AVlCuRxW5dc/Lo7wZCXZbHPVH/p32I=; b=ARoRyNZTTdzrITA3BaohdTq0KKucwWqX7C5a0M5+hPnbFqmkfP4760nB brP0RNfi4CCmJkfMkSuJC3lhjRIEEtH+CF4afUhhtw63dgqjc/lIFCWJ2 MKg1TZUcZsZUHvaGJW6wHxkA6B74/tLjakssvslNhoOD29+sBVCCDcVIo /HZMIndDqJJMUb0KQhooF3l8UXOHvV6tvXp4dniFaZSbgvwtpfuBY2bmV 4daNzMqKKDGHW2K9T/qlBGAWAfEVMSjtr72otICBjD2SgmzhZ1AEFRlTr hE3GDNwo/HhjXMzmOXBM5Z2I/7MGsMKl0zQW8tbsc67tJe62esy5S1IET g==; X-IronPort-AV: E=McAfee;i="6600,9927,10914"; a="829453" X-IronPort-AV: E=Sophos;i="6.04,250,1695711600"; d="scan'208";a="829453" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2023 08:41:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10914"; a="746895075" X-IronPort-AV: E=Sophos;i="6.04,250,1695711600"; d="scan'208";a="746895075" Received: from jstelter-mobl.ger.corp.intel.com (HELO jhogande-mobl1.intel.com) ([10.252.61.71]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2023 08:41:24 -0800 From: =?UTF-8?q?Jouni=20H=C3=B6gander?= To: intel-xe@lists.freedesktop.org Date: Mon, 4 Dec 2023 18:40:46 +0200 Message-Id: <20231204164047.1166360-9-jouni.hogander@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231204164047.1166360-1-jouni.hogander@intel.com> References: <20231204164047.1166360-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 v3 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