diff options
author | Seshendra Gadagottu <sgadagottu@nvidia.com> | 2014-11-04 21:47:12 -0500 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:12:01 -0400 |
commit | 797e4dd319bd2b9e13ce0e44a3bbbb75e4820330 (patch) | |
tree | c611155cf73eb1d561769890312e3f596f1d81fe /drivers/gpu/nvgpu/gk20a/cde_gk20a.h | |
parent | c3661adef806869a7e0df884fc621c48436961d4 (diff) |
gpu: nvgpu: cde: cancel delayed_work during suspend
During gpu suspend, cancel all pending delayed cde work
to avoid issues of scheduling this delayed work
during suspend/resume when gpu is not ready.
Bug 1574000
Change-Id: I2b6bfa489435a781dc576a077f9af01b1e1628ce
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/593557
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Tested-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/cde_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/cde_gk20a.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/cde_gk20a.h b/drivers/gpu/nvgpu/gk20a/cde_gk20a.h index 4120dc94..9d7dbba6 100644 --- a/drivers/gpu/nvgpu/gk20a/cde_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/cde_gk20a.h | |||
@@ -262,6 +262,7 @@ struct gk20a_cde_app { | |||
262 | }; | 262 | }; |
263 | 263 | ||
264 | void gk20a_cde_destroy(struct gk20a *g); | 264 | void gk20a_cde_destroy(struct gk20a *g); |
265 | void gk20a_cde_suspend(struct gk20a *g); | ||
265 | int gk20a_init_cde_support(struct gk20a *g); | 266 | int gk20a_init_cde_support(struct gk20a *g); |
266 | int gk20a_cde_reload(struct gk20a *g); | 267 | int gk20a_cde_reload(struct gk20a *g); |
267 | int gk20a_cde_convert(struct gk20a *g, struct dma_buf *dst, | 268 | int gk20a_cde_convert(struct gk20a *g, struct dma_buf *dst, |