diff options
author | Seshendra Gadagottu <sgadagottu@nvidia.com> | 2015-02-02 18:06:54 -0500 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-04-04 21:06:15 -0400 |
commit | dcccce7a903f348522c9277458bfd09621d67034 (patch) | |
tree | 81bee461146119d1415d135065b55ba678f912bc | |
parent | 97f05fa8944d923d0829933befa5fe3716908a16 (diff) |
gpu: nvgpu: gpu pm control update for cde ioctls
For cde ioctl "NVGPU_GPU_IOCTL_MARK_COMPRESSIBLE_WRITE",
gpu hw not engaged. So remove this call from gpu pm control.
Bug 1592636
Change-Id: I9b700e469bf365f2d02549cd9cd9babc68fbb049
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/680294
(cherry picked from commit cae24ee5e9630cc891fb7fcf98d234a42126f464)
Reviewed-on: http://git-master/r/681622
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/ctrl_gk20a.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/ctrl_gk20a.c b/drivers/gpu/nvgpu/gk20a/ctrl_gk20a.c index d314e078..397b98bb 100644 --- a/drivers/gpu/nvgpu/gk20a/ctrl_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/ctrl_gk20a.c | |||
@@ -131,12 +131,8 @@ static int gk20a_ctrl_mark_compressible_write( | |||
131 | { | 131 | { |
132 | int ret; | 132 | int ret; |
133 | 133 | ||
134 | ret = gk20a_busy(g->dev); | ||
135 | if (ret) | ||
136 | return ret; | ||
137 | ret = gk20a_mark_compressible_write(g, args->handle, | 134 | ret = gk20a_mark_compressible_write(g, args->handle, |
138 | args->valid_compbits, args->offset, args->zbc_color); | 135 | args->valid_compbits, args->offset, args->zbc_color); |
139 | gk20a_idle(g->dev); | ||
140 | 136 | ||
141 | return ret; | 137 | return ret; |
142 | } | 138 | } |