From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 50BAB606A31C for ; Wed, 18 Nov 2026 07:28:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=eDnQd/1U Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 05FB810E637; Wed, 18 Nov 2026 07:28:27 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) by gabe.freedesktop.org (Postfix) with ESMTPS id A99E510E637 for ; Wed, 18 Nov 2026 07:28:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1794986901; x=1826522901; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=8gyE7tVrWsWa+U+fnxsxNTk8w8wk3v5KJ+woC/Fre5k=; b=eDnQd/1UBNXcDWhgh472MQSSQhf3QP5ybPTsPgruZOPZ2Qs0a6daRnGI HROMeRxrs6zslkLdBuMddiaJ1WtYsQlGbLvh3X+XdY4Hw2+/asLT/HNPQ DB4lUF/7v+ms6ZV/tAAIWXtuQaAHonQWQ+0z213b4e7Mpw0ScamXP1RzJ wCbVpI//gIUpAwflH7c8aYU1GedUlNnpK/Reo1nW9BjijwzV3gHX8cR89 cD/ZyML0P/YJDAvcAJ9DMmwjlGfVPoUKnAffgIpNtsm6AuFscQOhmk/4S rVFSddkyDYNhHkveew6ivKWu5I0H/b2bp7hvj1TipHYCq7GMwR6l3yEyW A==; X-CSE-ConnectionGUID: 9USZRl7LRg69EthzKUXvUg== X-CSE-MsgGUID: NYnBKMjcS/C0ZRARz40l0g== X-IronPort-AV: E=McAfee;i="6800,10657,11969"; a="3676853" X-IronPort-AV: E=Sophos;i="6.27,219,1787036400"; d="scan'208";a="3676853" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Nov 2026 23:28:20 -0800 X-CSE-ConnectionGUID: Y9UX9S/BQVmohP0Oyj1GoA== X-CSE-MsgGUID: Tl93/HrLQwCB+sYjOFTIfA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,219,1787036400"; d="scan'208";a="9957055" Received: from gfx-coremm-kmd15.iind.intel.com ([10.223.55.8]) by orviesa003.jf.intel.com with ESMTP; 17 Nov 2026 23:28:19 -0800 From: Nareshkumar Gollakoti To: intel-xe@lists.freedesktop.org Cc: badal.nilawar@intel.com, sk.anirban@intel.com, Nareshkumar Gollakoti Subject: [PATCH 0/3] drm/xe: Expose CRI memory capability limits via sysfs Date: Wed, 18 Nov 2026 12:55:02 +0530 Message-ID: <20261118072506.4159301-1-naresh.kumar.g@intel.com> X-Mailer: git-send-email 2.43.0 X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Intel-xe" X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 This series adds read-only sysfs attributes for CRI devices to expose the maximum supported memory frequency and memory bandwidth. These attributes allow userspace to discover platform memory capability limits. They are needed by compute runtime software, including NEO [1], for capability discovery on CRI. The existing tile memory sysfs support currently focuses on frequency- related handling. Since it is now being extended to cover broader memory configuration information, rename the component/files from "freq" to "config" to better reflect their scope. The new attributes provide a stable userspace interface for discovering platform memory capability limits. The series consists of: 1. Add PCODE MEMORY_CONFIG mailbox definitions and subcommands 2. Rename xe_vram_freq to xe_vram_config 3. Expose maximum memory frequency and bandwidth through sysfs for CRI Reference:[1] https://github.com/intel-innersource/drivers.gpu.compute.runtime/pull/57544 Himal Prasad Ghimiray (3): drm/xe/pcode: Add MEMORY_CONFIG mailbox definitions drm/xe: Rename xe_vram_freq to xe_vram_config drm/xe: Expose CRI maximum memory frequency and bandwidth in sysfs .../ABI/testing/sysfs-driver-intel-xe-gpu | 24 +++++ drivers/gpu/drm/xe/Makefile | 2 +- drivers/gpu/drm/xe/xe_pcode_api.h | 4 + drivers/gpu/drm/xe/xe_tile_sysfs.c | 4 +- .../xe/{xe_vram_freq.c => xe_vram_config.c} | 93 +++++++++++++++++-- drivers/gpu/drm/xe/xe_vram_config.h | 13 +++ drivers/gpu/drm/xe/xe_vram_freq.h | 13 --- 7 files changed, 129 insertions(+), 24 deletions(-) rename drivers/gpu/drm/xe/{xe_vram_freq.c => xe_vram_config.c} (53%) create mode 100644 drivers/gpu/drm/xe/xe_vram_config.h delete mode 100644 drivers/gpu/drm/xe/xe_vram_freq.h -- 2.43.0