From patchwork Sat May 4 23:29:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niranjana Vishwanathapura X-Patchwork-Id: 13654147 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 7E07AC4345F for ; Sat, 4 May 2024 23:30:03 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A2DBE10FFB5; Sat, 4 May 2024 23:30:00 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="Umk+FlqG"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.17]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4DC3410FFB5 for ; Sat, 4 May 2024 23:29:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1714865399; x=1746401399; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=PoHtlZnBt0z8bP9pdP7QlUuasKnU+Dm5WGxiDydbq1g=; b=Umk+FlqG63oVaxsCOjgMvsrl1Ub+RzhGRWbzvyhWzmz+jEY7nE2vgPvh CTy6p42HNY2VQvR5MWRfs71nVwYAEDsL4fc2vILuPUaW4MEUtNWSsasE/ RbjlWcnHIv5mhzXYAKJ5Qk7pIvQveQerlyQizRFM9auY52pwQ2am7BVum t9r8LUXlrafRUTo18GRGrIm1rPgmg8iIO3HyegOX0svsAwUYg1MyrpEzl rdxYYD+A4ZAy+Gw5+OAU3lKssLs5r8jCFrDHQ/LwENQCKVzYkJgVNciLs vqWqvvVvptQptScWTV4Gronz5wXeCmKlu9Rzk72m3B7hVgQ3ar4nvhGBC g==; X-CSE-ConnectionGUID: s1gnEYlyTFCUzeZLamEpwA== X-CSE-MsgGUID: XSfsG1F2SNmzRQ1jGbRX0g== X-IronPort-AV: E=McAfee;i="6600,9927,11063"; a="10770763" X-IronPort-AV: E=Sophos;i="6.07,255,1708416000"; d="scan'208";a="10770763" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by orvoesa109.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 May 2024 16:29:59 -0700 X-CSE-ConnectionGUID: eSa2kE0NR7e5TBPrphlI9A== X-CSE-MsgGUID: ZxpwD6aMSrKiz5JTLU0vMQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,255,1708416000"; d="scan'208";a="58997448" Received: from nvishwa1-desk.sc.intel.com ([172.25.29.76]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 May 2024 16:29:58 -0700 From: Niranjana Vishwanathapura To: intel-gfx@lists.freedesktop.org Subject: [PATCH 4/4] drm/xe/xe2: Enable Indirect Ring State support for Xe2 Date: Sat, 4 May 2024 16:29:52 -0700 Message-ID: <20240504232955.16022-5-niranjana.vishwanathapura@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240504232955.16022-1-niranjana.vishwanathapura@intel.com> References: <20240504232955.16022-1-niranjana.vishwanathapura@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" Indirect Ring State is the recommended mode for Xe2 platforms, enable it by default. Signed-off-by: Niranjana Vishwanathapura --- drivers/gpu/drm/xe/xe_pci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c index 5bf94abf84cc..9f66c41067d3 100644 --- a/drivers/gpu/drm/xe/xe_pci.c +++ b/drivers/gpu/drm/xe/xe_pci.c @@ -164,6 +164,7 @@ static const struct xe_graphics_desc graphics_xelpg = { .dma_mask_size = 46, \ .has_asid = 1, \ .has_flat_ccs = 1, \ + .has_indirect_ring_state = true, \ .has_range_tlb_invalidation = 1, \ .has_usm = 1, \ .va_bits = 48, \