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 778D3C10DCE for ; Thu, 7 Dec 2023 11:17:41 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3B38710E888; Thu, 7 Dec 2023 11:17:41 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.100]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0DBFD10E87E for ; Thu, 7 Dec 2023 11:17:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701947856; x=1733483856; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=0Sfk26LcVl7/a8meufbx2x5iYJXG9t2PUMLjwL9ryqw=; b=a5mwDwdfTI8i24OKNg4x33Bd/JowXMiwxtVCfZHY1WoUcTeD4TtrI+oA udWise5aYpZP6PU1SMJD07Oxv0U5KLVl8blruuQvakACGi3LGOQpgvXK0 nqCSktjZ0a5MYU3t5IdGxZwrgocK0vIibLUygUfKBuPi1wFhVzpmWcrWV ud9zslmRapMXwZ/5fXdzr9rFvXC1bB0mop3qtuJZhsWy3gHfAIQcNoYCr 55VeTL8RSRXN6iXBSUcgOJBKeOTdsteTTbuQPuID80+fpabUtJYf1edXv 9BaWOgHTmr3a1lhePO+yEzYzvjQeVm09QBUo4y/E2CatfWD4mc8YE3Vb4 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10916"; a="460704549" X-IronPort-AV: E=Sophos;i="6.04,256,1695711600"; d="scan'208";a="460704549" 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:36 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10916"; a="837686092" X-IronPort-AV: E=Sophos;i="6.04,256,1695711600"; d="scan'208";a="837686092" 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:35 -0800 From: =?UTF-8?q?Jouni=20H=C3=B6gander?= To: intel-xe@lists.freedesktop.org Subject: [PATCH 8/9] fixup! drm/xe/display: Implement display support Date: Thu, 7 Dec 2023 13:17:05 +0200 Message-Id: <20231207111706.2293105-9-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" Define I915_TILING_X and I915_TILING_Y as 0 This way we get rid of remaining ifdefs in skl_universal_plane.c. Signed-off-by: Maarten Lankhorst Signed-off-by: Jouni Högander --- drivers/gpu/drm/xe/compat-i915-headers/i915_vma.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/xe/compat-i915-headers/i915_vma.h b/drivers/gpu/drm/xe/compat-i915-headers/i915_vma.h index 23f2d037c313..a20d2638ea7a 100644 --- a/drivers/gpu/drm/xe/compat-i915-headers/i915_vma.h +++ b/drivers/gpu/drm/xe/compat-i915-headers/i915_vma.h @@ -9,6 +9,12 @@ #include #include +/* We don't want these from i915_drm.h in case of Xe */ +#undef I915_TILING_X +#undef I915_TILING_Y +#define I915_TILING_X 0 +#define I915_TILING_Y 0 + struct xe_bo; struct i915_vma { -- 2.34.1