diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-09-07 13:43:47 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-09-11 18:10:52 -0400 |
commit | c37c9baae65bcf0ef08a319488c09f57131026cc (patch) | |
tree | e3b4252bfff7436574a909dd625de49229d538da /drivers/gpu/nvgpu/gk20a/gk20a.c | |
parent | 17451138cf60f5d64eed88cc5defd44981926d9d (diff) |
gpu: nvgpu: Move CDE code to Linux module
CDE is only used in Linux platforms, and the code is highly dependent
on Linux APIs. Move the common CDE code to Linux module and leave only
the chip specific parts to HAL.
Change-Id: I507fe7eceaf7607303dfdddcf438449a5f582ea7
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1554755
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index 0cd314d6..63ea5bc4 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -117,9 +117,6 @@ int gk20a_prepare_poweroff(struct gk20a *g) | |||
117 | if (gk20a_fifo_is_engine_busy(g)) | 117 | if (gk20a_fifo_is_engine_busy(g)) |
118 | return -EBUSY; | 118 | return -EBUSY; |
119 | 119 | ||
120 | /* cancel any pending cde work */ | ||
121 | gk20a_cde_suspend(g); | ||
122 | |||
123 | gk20a_ce_suspend(g); | 120 | gk20a_ce_suspend(g); |
124 | 121 | ||
125 | ret = gk20a_channel_suspend(g); | 122 | ret = gk20a_channel_suspend(g); |