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 AECDFC4332F for ; Tue, 14 Nov 2023 13:05:19 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 82CDA10E1B5; Tue, 14 Nov 2023 13:05:17 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.65]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6458C10E44B for ; Tue, 14 Nov 2023 13:05:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1699967116; x=1731503116; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=tvUNGtN2kXCd+cRcdZdoCIsWveJmrNprXPfQKUzb2lc=; b=QpKvV0b1ZG8jDnK4OuC76WGtUXhKb/T/R5DW7atUClwkZNRotl3F4B73 30IzYR/Xe9s3/Y7d7hfHtmpN9uqe8TfLrhKDYMOKFxPEO6t8so9/lSS5a hVT7OYl5i25Va8SmFsJoDPeE/0Rzpnci6PhCZcvuMB+LD2M2HwioSozqf VEwqS2cUkx2DFoxnEq+ADShSm7TR9B+ZUHOaFOCi+2gKU5RAdlMhLrCKd tj1UYV0FCVL9m+zXJQmYk/WPZnZ3XhlJn0HM4aeOv8hD4yCgXyw4szRHt ajbR94/EyQ94K2tbIhihHgTrpDz1cQRChkRl8S8Z1qGmNOfMhqj+Fck+4 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10893"; a="394565384" X-IronPort-AV: E=Sophos;i="6.03,302,1694761200"; d="scan'208";a="394565384" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Nov 2023 05:05:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10893"; a="793778961" X-IronPort-AV: E=Sophos;i="6.03,302,1694761200"; d="scan'208";a="793778961" Received: from mmaiores-mobl1.ger.corp.intel.com (HELO jhogande-mobl1.intel.com) ([10.252.56.172]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Nov 2023 05:05:15 -0800 From: =?UTF-8?q?Jouni=20H=C3=B6gander?= To: intel-xe@lists.freedesktop.org Date: Tue, 14 Nov 2023 15:04:41 +0200 Message-Id: <20231114130443.2503708-8-jouni.hogander@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231114130443.2503708-1-jouni.hogander@intel.com> References: <20231114130443.2503708-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 7/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" Add i915_gem_object_is_shmem into i915_gem_object.h compatibility header. This is needed by intel_fbdev.c. Signed-off-by: Jouni Högander --- .../drm/xe/compat-i915-headers/gem/i915_gem_object.h | 11 +++++++++++ drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h | 2 ++ 2 files changed, 13 insertions(+) create mode 100644 drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_object.h 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 new file mode 100644 index 000000000000..3b305c291cdd --- /dev/null +++ b/drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_object.h @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: MIT */ +/* + * Copyright © 2022 Intel Corporation + */ + +#ifndef _I915_GEM_OBJECT_H_ +#define _I915_GEM_OBJECT_H_ + +#define i915_gem_object_is_shmem(obj) ((obj)->flags & XE_BO_CREATE_SYSTEM_BIT) + +#endif diff --git a/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h b/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h index 3012b787aa6a..8e67f38e98fd 100644 --- a/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h +++ b/drivers/gpu/drm/xe/compat-i915-headers/i915_drv.h @@ -12,6 +12,8 @@ #include +#include "gem/i915_gem_object.h" + #include "soc/intel_pch.h" #include "xe_device.h" #include "xe_bo.h" -- 2.34.1