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 75FABC77B75 for ; Mon, 22 May 2023 19:34:21 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4C21F10E14C; Mon, 22 May 2023 19:34:21 +0000 (UTC) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4144310E14C for ; Mon, 22 May 2023 19:34:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1684784059; x=1716320059; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=DeIPA+/DPcrj/cYToBU3f7UubTZRmbBir7P1+Wpv7Ho=; b=AZtbhOw5pWIPG+pbe1P37RlMJIwJK5ZvQYic5KR0BtpBvL5mgW/5utTt 7ljRBJun/qlX79pkTl3i1qaYnCtNFLAjBby3FQcuifz9tsXnMzzuOvx4Z Rx9C1E+aLN4yezFAm0cYBXRS5vOeVMvutMaB/Nt+kL2SZp2Lw85/EwBXH sSjyGc6b17cFfI1LoE7tBN21K3zfuKHNFIpiezLlo3HUuPB5VKPJoey8y KC/jHz+PSTD+Gn3SqiII+Jcyo1JameXYR/CRBXrc4SRbRTRvktFjDsn1P 5/PeR9NWkxOK4is1Epls6o6MrVbk7zt3+LR8v/P3aMuV0LjCP2RIIC/+0 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10718"; a="350529722" X-IronPort-AV: E=Sophos;i="6.00,184,1681196400"; d="scan'208";a="350529722" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 May 2023 12:34:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10718"; a="736548630" X-IronPort-AV: E=Sophos;i="6.00,184,1681196400"; d="scan'208";a="736548630" Received: from anushasr-simics.jf.intel.com ([10.165.21.205]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 May 2023 12:34:18 -0700 From: Anusha Srivatsa To: intel-xe@lists.freedesktop.org Date: Mon, 22 May 2023 12:35:40 -0700 Message-Id: <20230522193541.2537418-1-anusha.srivatsa@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Intel-xe] [PATCH 1/2] xe/rpls: Add RPLS 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: Anusha Srivatsa Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" Add RPLS support that was missing apart from the PCI IDs. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/xe/xe_pci.c | 7 +++++++ drivers/gpu/drm/xe/xe_platform_types.h | 1 + 2 files changed, 8 insertions(+) diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c index e789a50a1310..cb748b062e54 100644 --- a/drivers/gpu/drm/xe/xe_pci.c +++ b/drivers/gpu/drm/xe/xe_pci.c @@ -194,6 +194,8 @@ static const struct xe_device_desc rkl_desc = { .require_force_probe = true, }; +static const u16 adls_rpls_ids[] = { XE_RPLS_IDS(NOP), 0 }; + static const struct xe_device_desc adl_s_desc = { .graphics = &graphics_xelp, .media = &media_xem, @@ -201,6 +203,10 @@ static const struct xe_device_desc adl_s_desc = { .has_display = true, .has_llc = true, .require_force_probe = true, + .subplatforms = (const struct xe_subplatform_desc[]) { + { XE_SUBPLATFORM_ADLS_RPLS, "RPLS", adls_rpls_ids }, + {}, + }, }; static const u16 adlp_rplu_ids[] = { XE_RPLU_IDS(NOP), 0 }; @@ -339,6 +345,7 @@ static const struct pci_device_id pciidlist[] = { XE_ADLP_IDS(INTEL_VGA_DEVICE, &adl_p_desc), XE_ADLN_IDS(INTEL_VGA_DEVICE, &adl_n_desc), XE_RPLP_IDS(INTEL_VGA_DEVICE, &adl_p_desc), + XE_RPLS_IDS(INTEL_VGA_DEVICE, &adl_s_desc), XE_DG1_IDS(INTEL_VGA_DEVICE, &dg1_desc), XE_ATS_M_IDS(INTEL_VGA_DEVICE, &ats_m_desc), XE_DG2_IDS(INTEL_VGA_DEVICE, &dg2_desc), diff --git a/drivers/gpu/drm/xe/xe_platform_types.h b/drivers/gpu/drm/xe/xe_platform_types.h index abbb8a1f29a8..394149838d06 100644 --- a/drivers/gpu/drm/xe/xe_platform_types.h +++ b/drivers/gpu/drm/xe/xe_platform_types.h @@ -26,6 +26,7 @@ enum xe_platform { enum xe_subplatform { XE_SUBPLATFORM_UNINITIALIZED = 0, XE_SUBPLATFORM_NONE, + XE_SUBPLATFORM_ADLS_RPLS, XE_SUBPLATFORM_ADLP_RPLU, XE_SUBPLATFORM_DG2_G10, XE_SUBPLATFORM_DG2_G11, -- 2.25.1