diff options
author | Arto Merilainen <amerilainen@nvidia.com> | 2014-08-08 09:18:30 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:10:49 -0400 |
commit | dde83cb0d265f1586de322c9c36d36a0bf5358a5 (patch) | |
tree | 75c1e06269307c97d0a8d97c3359e4aa7adeff94 /drivers/gpu/nvgpu/gk20a/mm_gk20a.h | |
parent | 8827b6451857e8b44c8cd791d505ebd316036879 (diff) |
gpu: nvgpu: gk20a: cde: Add base_post_divide param
This patch adds a parameter to communicate the compression bit
backing store address we write to the hardware.
Change-Id: Ibc0e3d8304e893ddf15b4e03b405c7d85a73e95b
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/454510
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h index df64d2ca..da19f83e 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h | |||
@@ -172,6 +172,10 @@ struct compbit_store_desc { | |||
172 | struct sg_table *sgt; | 172 | struct sg_table *sgt; |
173 | size_t size; | 173 | size_t size; |
174 | u64 base_iova; | 174 | u64 base_iova; |
175 | |||
176 | /* The value that is written to the hardware. This depends on | ||
177 | * on the number of ltcs and is not an address. */ | ||
178 | u64 base_hw; | ||
175 | }; | 179 | }; |
176 | 180 | ||
177 | struct gk20a_buffer_state { | 181 | struct gk20a_buffer_state { |