hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/gpu/drm/i915/gvt/gvt.h
....@@ -255,6 +255,8 @@
255255 #define F_CMD_ACCESS (1 << 3)
256256 /* This reg has been accessed by a VM */
257257 #define F_ACCESSED (1 << 4)
258
+/* This reg requires save & restore during host PM suspend/resume */
259
+#define F_PM_SAVE (1 << 5)
258260 /* This reg could be accessed by unaligned address */
259261 #define F_UNALIGN (1 << 6)
260262 /* This reg is in GVT's mmio save-restor list and in hardware
....@@ -685,6 +687,7 @@
685687 void intel_gvt_debugfs_init(struct intel_gvt *gvt);
686688 void intel_gvt_debugfs_clean(struct intel_gvt *gvt);
687689
690
+int intel_gvt_pm_resume(struct intel_gvt *gvt);
688691
689692 #include "trace.h"
690693 #include "mpt.h"