summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/xe_vram_freq.c
diff options
context:
space:
mode:
authorSujaritha Sundaresan <sujaritha.sundaresan@intel.com>2024-01-17 07:32:15 +0300
committerLucas De Marchi <lucas.demarchi@intel.com>2024-01-23 18:34:54 +0300
commitc885886bda2a2b345688f72f283c9c6655d73eae (patch)
tree19be9953bf048308f228349fc1d0ed39f00f40ef /drivers/gpu/drm/xe/xe_vram_freq.c
parentbe3382ecdf317f005e7d47356d0a9256cc36dd88 (diff)
downloadlinux-c885886bda2a2b345688f72f283c9c6655d73eae.tar.xz
drm/xe: Fix typo in vram frequency sysfs documentation
Fix function naming and description for xe_vram_freq_sysfs_init function. v2: Add fixes tag (Riana) Fix review comments (Lucas) Fixes: 4ae3aeab32d7 ("drm/xe: Add vram frequency sysfs attributes") Signed-off-by: Sujaritha Sundaresan <sujaritha.sundaresan@intel.com> Reviewed-by: Riana Tauro <riana.tauro@intel.com> Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240117043215.2598677-1-sujaritha.sundaresan@intel.com
Diffstat (limited to 'drivers/gpu/drm/xe/xe_vram_freq.c')
-rw-r--r--drivers/gpu/drm/xe/xe_vram_freq.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/drm/xe/xe_vram_freq.c b/drivers/gpu/drm/xe/xe_vram_freq.c
index 733146293307..079cc283a186 100644
--- a/drivers/gpu/drm/xe/xe_vram_freq.c
+++ b/drivers/gpu/drm/xe/xe_vram_freq.c
@@ -95,13 +95,12 @@ static void vram_freq_sysfs_fini(struct drm_device *drm, void *arg)
kobject_put(kobj);
}
-/*
- * xe_vram_freq_init - Initialize vram frequency component
+/**
+ * xe_vram_freq_sysfs_init - Initialize vram frequency sysfs component
* @tile: Xe Tile object
*
* It needs to be initialized after the main tile component is ready
*/
-
void xe_vram_freq_sysfs_init(struct xe_tile *tile)
{
struct xe_device *xe = tile_to_xe(tile);