From: Nareshkumar Gollakoti <naresh.kumar.g@intel.com>
To: intel-xe@lists.freedesktop.org
Cc: badal.nilawar@intel.com, sk.anirban@intel.com,
Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>,
Nareshkumar Gollakoti <naresh.kumar.g@intel.com>
Subject: [PATCH 2/3] drm/xe: Rename xe_vram_freq to xe_vram_config
Date: Wed, 18 Nov 2026 11:52:57 +0530 [thread overview]
Message-ID: <20261118062301.4135537-2-naresh.kumar.g@intel.com> (raw)
In-Reply-To: <20261118062301.4135537-1-naresh.kumar.g@intel.com>
From: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
The tile memory sysfs component is about to expose memory configuration
beyond frequency, such as maximum bandwidth. Rename xe_vram_freq.c
and xe_vram_freq.h to xe_vram_config.c xe_vram_config.h.
xe_vram_freq_sysfs_init() to xe_vram_config_sysfs_init() to reflect that.
No functional change.
Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Signed-off-by: Nareshkumar Gollakoti <naresh.kumar.g@intel.com>
---
drivers/gpu/drm/xe/Makefile | 2 +-
drivers/gpu/drm/xe/xe_tile_sysfs.c | 4 ++--
.../gpu/drm/xe/{xe_vram_freq.c => xe_vram_config.c} | 8 ++++----
drivers/gpu/drm/xe/xe_vram_config.h | 13 +++++++++++++
drivers/gpu/drm/xe/xe_vram_freq.h | 13 -------------
5 files changed, 20 insertions(+), 20 deletions(-)
rename drivers/gpu/drm/xe/{xe_vram_freq.c => xe_vram_config.c} (94%)
create mode 100644 drivers/gpu/drm/xe/xe_vram_config.h
delete mode 100644 drivers/gpu/drm/xe/xe_vram_freq.h
diff --git a/drivers/gpu/drm/xe/Makefile b/drivers/gpu/drm/xe/Makefile
index 4377f60f5dab..b0ce47fbac9d 100644
--- a/drivers/gpu/drm/xe/Makefile
+++ b/drivers/gpu/drm/xe/Makefile
@@ -150,7 +150,7 @@ xe-y += xe_bb.o \
xe_vm.o \
xe_vm_madvise.o \
xe_vram.o \
- xe_vram_freq.o \
+ xe_vram_config.o \
xe_vsec.o \
xe_wa.o \
xe_wait_user_fence.o \
diff --git a/drivers/gpu/drm/xe/xe_tile_sysfs.c b/drivers/gpu/drm/xe/xe_tile_sysfs.c
index 510aa0ac4428..c944579a17c8 100644
--- a/drivers/gpu/drm/xe/xe_tile_sysfs.c
+++ b/drivers/gpu/drm/xe/xe_tile_sysfs.c
@@ -10,7 +10,7 @@
#include "xe_device_types.h"
#include "xe_pm.h"
#include "xe_tile_sysfs.h"
-#include "xe_vram_freq.h"
+#include "xe_vram_config.h"
static void xe_tile_sysfs_kobj_release(struct kobject *kobj)
{
@@ -49,7 +49,7 @@ int xe_tile_sysfs_init(struct xe_tile *tile)
tile->sysfs = &kt->base;
- err = xe_vram_freq_sysfs_init(tile);
+ err = xe_vram_config_sysfs_init(tile);
if (err)
goto err_object;
diff --git a/drivers/gpu/drm/xe/xe_vram_freq.c b/drivers/gpu/drm/xe/xe_vram_config.c
similarity index 94%
rename from drivers/gpu/drm/xe/xe_vram_freq.c
rename to drivers/gpu/drm/xe/xe_vram_config.c
index 8717367ccd4c..31a3405c39ab 100644
--- a/drivers/gpu/drm/xe/xe_vram_freq.c
+++ b/drivers/gpu/drm/xe/xe_vram_config.c
@@ -9,10 +9,10 @@
#include "xe_pcode.h"
#include "xe_pcode_api.h"
#include "xe_tile_sysfs.h"
-#include "xe_vram_freq.h"
+#include "xe_vram_config.h"
/**
- * DOC: Xe VRAM freq
+ * DOC: Xe VRAM config
*
* Provides sysfs entries for vram frequency in tile
*
@@ -93,14 +93,14 @@ static void vram_freq_sysfs_fini(void *arg)
}
/**
- * xe_vram_freq_sysfs_init - Initialize vram frequency sysfs component
+ * xe_vram_config_sysfs_init - Initialize vram configuration sysfs component
* @tile: Xe Tile object
*
* It needs to be initialized after the main tile component is ready
*
* Returns: 0 on success, negative error code on error.
*/
-int xe_vram_freq_sysfs_init(struct xe_tile *tile)
+int xe_vram_config_sysfs_init(struct xe_tile *tile)
{
struct xe_device *xe = tile_to_xe(tile);
struct kobject *kobj;
diff --git a/drivers/gpu/drm/xe/xe_vram_config.h b/drivers/gpu/drm/xe/xe_vram_config.h
new file mode 100644
index 000000000000..98903911f658
--- /dev/null
+++ b/drivers/gpu/drm/xe/xe_vram_config.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2023 Intel Corporation
+ */
+
+#ifndef _XE_VRAM_CONFIG_H_
+#define _XE_VRAM_CONFIG_H_
+
+struct xe_tile;
+
+int xe_vram_config_sysfs_init(struct xe_tile *tile);
+
+#endif /* _XE_VRAM_CONFIG_H_ */
diff --git a/drivers/gpu/drm/xe/xe_vram_freq.h b/drivers/gpu/drm/xe/xe_vram_freq.h
deleted file mode 100644
index bf726bc5881f..000000000000
--- a/drivers/gpu/drm/xe/xe_vram_freq.h
+++ /dev/null
@@ -1,13 +0,0 @@
-/* SPDX-License-Identifier: MIT */
-/*
- * Copyright © 2023 Intel Corporation
- */
-
-#ifndef _XE_VRAM_FREQ_H_
-#define _XE_VRAM_FREQ_H_
-
-struct xe_tile;
-
-int xe_vram_freq_sysfs_init(struct xe_tile *tile);
-
-#endif /* _XE_VRAM_FREQ_H_ */
--
2.43.0
next prev parent reply other threads:[~2026-11-18 6:26 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-18 6:22 [PATCH 1/3] drm/xe/pcode: Add MEMORY_CONFIG mailbox definitions Nareshkumar Gollakoti
2026-11-18 6:22 ` Nareshkumar Gollakoti [this message]
2026-11-18 6:53 ` [PATCH 2/3] drm/xe: Rename xe_vram_freq to xe_vram_config Nilawar, Badal
2026-11-18 6:22 ` [PATCH 3/3] drm/xe: Expose CRI maximum memory frequency and bandwidth in sysfs Nareshkumar Gollakoti
2026-11-18 6:44 ` sashiko-bot
2026-11-18 6:33 ` ✗ CI.checkpatch: warning for series starting with [1/3] drm/xe/pcode: Add MEMORY_CONFIG mailbox definitions Patchwork
2026-11-18 6:35 ` ✓ CI.KUnit: success " Patchwork
2026-11-18 6:45 ` [PATCH 1/3] " Nilawar, Badal
2026-11-18 7:10 ` ✓ Xe.CI.BAT: success for series starting with [1/3] " Patchwork
-- strict thread matches above, loose matches on Subject: below --
2026-11-18 7:23 [PATCH 0/3] drm/xe: Expose CRI memory capability limits via sysfs Nareshkumar Gollakoti
2026-11-18 7:23 ` [PATCH 2/3] drm/xe: Rename xe_vram_freq to xe_vram_config Nareshkumar Gollakoti
2026-11-18 7:25 [PATCH 0/3] drm/xe: Expose CRI memory capability limits via sysfs Nareshkumar Gollakoti
2026-11-18 7:25 ` [PATCH 2/3] drm/xe: Rename xe_vram_freq to xe_vram_config Nareshkumar Gollakoti
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261118062301.4135537-2-naresh.kumar.g@intel.com \
--to=naresh.kumar.g@intel.com \
--cc=badal.nilawar@intel.com \
--cc=himal.prasad.ghimiray@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=sk.anirban@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).