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 253a174 commit 0539c5eCopy full SHA for 0539c5e
drivers/gpu/drm/xe/xe_pm.c
@@ -752,11 +752,13 @@ void xe_pm_assert_unbounded_bridge(struct xe_device *xe)
752
}
753
754
/**
755
- * 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
756
* @xe: xe device instance
757
- * @threshold: VRAM size in bites for the D3cold threshold
+ * @threshold: VRAM size in MiB for the D3cold threshold
758
*
759
- * Returns 0 for success, negative error code otherwise.
+ * Return:
760
+ * * 0 - success
761
+ * * -EINVAL - invalid argument
762
*/
763
int xe_pm_set_vram_threshold(struct xe_device *xe, u32 threshold)
764
{
0 commit comments