From patchwork Thu Oct 24 22:07:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Clint Taylor X-Patchwork-Id: 13849784 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 D69E3D10388 for ; Thu, 24 Oct 2024 22:08:17 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 82C8610E9AB; Thu, 24 Oct 2024 22:08:17 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="VnulZt9R"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.17]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7020010E3CE; Thu, 24 Oct 2024 22:07:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1729807678; x=1761343678; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=BVG+Z1GeQjGQQKkRWksYWn9KbDU+C4TwQamcPyGETjA=; b=VnulZt9RlKsP7CPRZOaUQxZibXw1mKUFa2OrrArmWQp+6ytHDAYGHSYW TuCLRX/GupdQELibDSUUcu1s4sWWInEemC2pcf93j/pyDE6kmBmmcjnCO buDASGj80rJrUybDAhvLI1x9i3+sHfO4QZ0ipZ1SdQceX9okCsUZn+7d7 O24pu0PXmmsIIPBcDp1Iu/WqiGWCB7dKwvShuV2rgHVAwieNH+sWY/iAh i04EOwg8VgdAC8GHY3PIdH8W5Dv86mN2jXrOWwTE8oZ2yJahdKxGFNXHt BxknPBcuAbNi7Wl96RjOcoXy/UU+e3h1tDawAC+xn/p0B0zSCr8ZPWURj Q==; X-CSE-ConnectionGUID: Au2b47p+THWrC60yvYIULg== X-CSE-MsgGUID: 2EjMRhzKTcqHwbNei7Xbyg== X-IronPort-AV: E=McAfee;i="6700,10204,11235"; a="29367635" X-IronPort-AV: E=Sophos;i="6.11,230,1725346800"; d="scan'208";a="29367635" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by fmvoesa111.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Oct 2024 15:07:57 -0700 X-CSE-ConnectionGUID: 06MNNyafTWi6vTmrJqbmnA== X-CSE-MsgGUID: 5JXt5qhQQZ2XbSU1byqu/A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,230,1725346800"; d="scan'208";a="84687961" Received: from cataylo2-desk.jf.intel.com ([10.165.21.140]) by fmviesa003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Oct 2024 15:07:57 -0700 From: Clint Taylor To: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org Subject: [PATCH v3 04/11] drm/i915/ptl: Define IS_PANTHERLAKE macro Date: Thu, 24 Oct 2024 15:07:45 -0700 Message-Id: <20241024220752.714457-5-clinton.a.taylor@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241024220752.714457-1-clinton.a.taylor@intel.com> References: <20241024220752.714457-1-clinton.a.taylor@intel.com> MIME-Version: 1.0 X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" From: Dnyaneshwar Bhadane Common display code requires IS_PANTHERLAKE macro. Define the macro and set 0 as PTL is no longer support for i915. Signed-off-by: Dnyaneshwar Bhadane Signed-off-by: Matt Atwood Reviewed-by: Matt Roper --- drivers/gpu/drm/i915/i915_drv.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index a66e5bb078cf..ca1ab5931e28 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h @@ -538,6 +538,7 @@ IS_SUBPLATFORM(const struct drm_i915_private *i915, */ #define IS_LUNARLAKE(i915) (0 && i915) #define IS_BATTLEMAGE(i915) (0 && i915) +#define IS_PANTHERLAKE(i915) (0 && i915) #define IS_ARROWLAKE(i915) \ IS_SUBPLATFORM(i915, INTEL_METEORLAKE, INTEL_SUBPLATFORM_ARL)