]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/pm: Correct comment of xe_pm_set_vram_threshold()
authorShuicheng Lin <shuicheng.lin@intel.com>
Tue, 8 Jul 2025 02:14:51 +0000 (02:14 +0000)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 10 Jul 2025 18:51:04 +0000 (14:51 -0400)
commit0efec0500117947f924e5ac83be40f96378af85a
tree961b25a9c9a295b4d8e4d060e7a8f894747cb521
parent1d2e2503e506ddc499cbb7afdc8b70bcf6fe241f
drm/xe/pm: Correct comment of xe_pm_set_vram_threshold()

The parameter threshold is with size in MiB, not in bits.
Correct it to avoid any confusion.

v2: s/mb/MiB, s/vram/VRAM, fix return section. (Michal)

Fixes: 30c399529f4c ("drm/xe: Document Xe PM component")
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
Link: https://lore.kernel.org/r/20250708021450.3602087-2-shuicheng.lin@intel.com
Reviewed-by: Stuart Summers <stuart.summers@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_pm.c