We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d2e250 commit 0efec05Copy full SHA for 0efec05
drivers/gpu/drm/xe/xe_pm.c
@@ -761,11 +761,13 @@ void xe_pm_assert_unbounded_bridge(struct xe_device *xe)
761
}
762
763
/**
764
- * xe_pm_set_vram_threshold - Set a vram threshold for allowing/blocking D3Cold
+ * xe_pm_set_vram_threshold - Set a VRAM threshold for allowing/blocking D3Cold
765
* @xe: xe device instance
766
- * @threshold: VRAM size in bites for the D3cold threshold
+ * @threshold: VRAM size in MiB for the D3cold threshold
767
*
768
- * Returns 0 for success, negative error code otherwise.
+ * Return:
769
+ * * 0 - success
770
+ * * -EINVAL - invalid argument
771
*/
772
int xe_pm_set_vram_threshold(struct xe_device *xe, u32 threshold)
773
{
0 commit comments