summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/os/linux/platform_gk20a.h
diff options
context:
space:
mode:
authorDeepak Bhosale <dbhosale@nvidia.com>2018-05-30 16:12:24 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-06-21 16:56:50 -0400
commite4e2c1882865163ad53eeaf96acf83802ffbec71 (patch)
treee433b02a198e6c943397da13c792ba75d0c285a2 /drivers/gpu/nvgpu/os/linux/platform_gk20a.h
parent90fc8d653fba60a6f7b96e7d91ff02361a3a4890 (diff)
gpu: nvgpu: suspend/resume support for vGPU
- Added suspend/resume power management callbacks for vGPU - Added suspend/resume commands for communication between vGPU and RM server - Added suspend/resume message parameters for IVC messages between vGPU and RM server JIRA EVLR-2305 JIRA EVLR-2306 Change-Id: I83a314b4e125a53117d16c5ea72dbc5d8ef96ef7 Signed-off-by: Deepak Bhosale <dbhosale@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1735153 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Richard Zhao <rizhao@nvidia.com> Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Nirav Patel <nipatel@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/os/linux/platform_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/os/linux/platform_gk20a.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/platform_gk20a.h b/drivers/gpu/nvgpu/os/linux/platform_gk20a.h
index 9a99b7fe..d9725e4c 100644
--- a/drivers/gpu/nvgpu/os/linux/platform_gk20a.h
+++ b/drivers/gpu/nvgpu/os/linux/platform_gk20a.h
@@ -158,6 +158,9 @@ struct gk20a_platform {
158 /* Device is going to be suspended */ 158 /* Device is going to be suspended */
159 int (*suspend)(struct device *); 159 int (*suspend)(struct device *);
160 160
161 /* Device is going to be resumed */
162 int (*resume)(struct device *);
163
161 /* Called to turn off the device */ 164 /* Called to turn off the device */
162 int (*railgate)(struct device *dev); 165 int (*railgate)(struct device *dev);
163 166