From patchwork Wed Apr 3 11:22:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Vivekanandan, Balasubramani" X-Patchwork-Id: 13615980 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 F04D1CD128A for ; Wed, 3 Apr 2024 11:23:23 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3B8BA112A1C; Wed, 3 Apr 2024 11:23:23 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="jcfmaJYh"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by gabe.freedesktop.org (Postfix) with ESMTPS id D5083112A26; Wed, 3 Apr 2024 11:23:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712143402; x=1743679402; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=VRdiBD2h4YYNRaplzIAtm23xXiVy17j8IOALa3XHnlw=; b=jcfmaJYhYOZTDtLz5TP0fQzncJWNac3uLo+aAfSimAfPpdIA4YiTRZxO qnbSyl9HbhvkHSzXvcOtXrywUactq+pU67wBDbsdo82Bc8u25krLnaF/8 NXnCzckf1Y2ZtESPqjXntu6l544JlRO9dmKWEtiEfXlzw44B8SRO0ohrJ Ynb+BHGECpq/PgEo25qMPlGaLTkITKsZrYBlcTVzlPdjOQwBoA1LlncKG zsGyLAiabCC6xvljxRSb6Z3EwG70mqCVEFO/snVakwcUoM8mJUlNYSBO7 O7RpkTkM+MOBJx5B2JLqY+zMjYr5eGLBVCTvhAtSCS7xb9/In8pA4/egf g==; X-CSE-ConnectionGUID: SOnw4O5ZTIOHbmLKFZM4Hw== X-CSE-MsgGUID: nrv8jP+2Sci420e/3yS0bQ== X-IronPort-AV: E=McAfee;i="6600,9927,11032"; a="24824127" X-IronPort-AV: E=Sophos;i="6.07,177,1708416000"; d="scan'208";a="24824127" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Apr 2024 04:23:22 -0700 X-CSE-ConnectionGUID: LcSkWG3URo6qOqMz6CS8XA== X-CSE-MsgGUID: hxEiHeAmRUOPiTi0i5WkDA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,177,1708416000"; d="scan'208";a="18358537" Received: from bvivekan-desk.iind.intel.com ([10.190.238.63]) by orviesa009-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Apr 2024 04:23:21 -0700 From: Balasubramani Vivekanandan To: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org Cc: Matt Roper , Lucas De Marchi , Balasubramani Vivekanandan Subject: [PATCH v2 16/25] drm/xe/xe2hpd: Define a new DRAM type INTEL_DRAM_GDDR Date: Wed, 3 Apr 2024 16:52:44 +0530 Message-Id: <20240403112253.1432390-17-balasubramani.vivekanandan@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240403112253.1432390-1-balasubramani.vivekanandan@intel.com> References: <20240403112253.1432390-1-balasubramani.vivekanandan@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" Defined a new DRAM type to be used in the following patches. The following patch first makes use of this new type in the i915 display. So without this define, build would fail when the shared display code is built for Xe. Signed-off-by: Balasubramani Vivekanandan --- drivers/gpu/drm/xe/xe_device_types.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/xe/xe_device_types.h b/drivers/gpu/drm/xe/xe_device_types.h index 1df3dcc17d75..e7aa2dd3df8d 100644 --- a/drivers/gpu/drm/xe/xe_device_types.h +++ b/drivers/gpu/drm/xe/xe_device_types.h @@ -480,6 +480,7 @@ struct xe_device { INTEL_DRAM_LPDDR4, INTEL_DRAM_DDR5, INTEL_DRAM_LPDDR5, + INTEL_DRAM_GDDR, } type; u8 num_qgv_points; u8 num_psf_gv_points;