From patchwork Tue Jul 9 12:22:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Zbigniew_Kempczy=C5=84ski?= X-Patchwork-Id: 13727780 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 5CA7CC3DA41 for ; Tue, 9 Jul 2024 12:22:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0363A10E52B; Tue, 9 Jul 2024 12:22:40 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="NA1NlpLE"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) by gabe.freedesktop.org (Postfix) with ESMTPS id 58BBD10E52B for ; Tue, 9 Jul 2024 12:22:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1720527758; x=1752063758; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=L/TIPzebwywEKBWl6tdPup3FzmV74tX7jgH4/Y4A78o=; b=NA1NlpLEnpS/1DWOXQZcA0QEl0H+53SbbcVgDl5P9arzuOIm6cY1LNV+ ajZ6XRnC/IvU6UeMyBGIh1dAalL49U8YJcSoOYAZjCe29f8z0RBhoK5V5 5c75AeQGFvJ+SPugHKm09wqECrmheaBZiY9J9s3gFCg5AF8CjZnkQhyqR XPt+fIVgXw1otzhPyRnkrgwZiBt+RHzS7YCiVWicpG1NUWwRdWS1ps+P6 VGsU/a9EwPjCSNuDBXMda+Hv87RCANNIU8cCE0V9obqAVJvkkfVyUYsOO kZDOAe5zBnVia7kca0RfCaQWoCu9cuyASiv0coh+W7RrbcbeH3eEeLOCM w==; X-CSE-ConnectionGUID: oarDqHewTGeBnfFP+cIa1Q== X-CSE-MsgGUID: /4c6nF2MSLqc02gmmFo+ZA== X-IronPort-AV: E=McAfee;i="6700,10204,11127"; a="21546277" X-IronPort-AV: E=Sophos;i="6.09,195,1716274800"; d="scan'208";a="21546277" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jul 2024 05:22:38 -0700 X-CSE-ConnectionGUID: v5S9uJ7sSgaGow1VEBcZ7g== X-CSE-MsgGUID: 7QXfN35FROuvCgT7dD4rEw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,195,1716274800"; d="scan'208";a="85380206" Received: from cpetruta-mobl1.ger.corp.intel.com (HELO localhost) ([10.245.246.59]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jul 2024 05:22:36 -0700 From: =?utf-8?q?Zbigniew_Kempczy=C5=84ski?= To: intel-gfx@lists.freedesktop.org Cc: =?utf-8?q?Zbigniew_Kempczy=C5=84ski?= , Matthew Auld Subject: [PATCH v2 0/2] Restrict BMG to use 64K pages for scanout buffers Date: Tue, 9 Jul 2024 14:22:29 +0200 Message-Id: <20240709122231.537801-1-zbigniew.kempczynski@intel.com> X-Mailer: git-send-email 2.34.1 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" Requires also changes from userspace perspective, due to necessity allocating buffers with 64K pages. v2: Limit restriction to BMG Cc: Matthew Auld Zbigniew KempczyƄski (2): drm/xe: Separate 64K physical allocation for display drm/xe: Use 64K pages for scanout buffers for Battlemage drivers/gpu/drm/xe/xe_bo.c | 9 +++++++-- drivers/gpu/drm/xe/xe_device_types.h | 1 + drivers/gpu/drm/xe/xe_pci.c | 9 ++++++++- 3 files changed, 16 insertions(+), 3 deletions(-)