From dde83cb0d265f1586de322c9c36d36a0bf5358a5 Mon Sep 17 00:00:00 2001 From: Arto Merilainen Date: Fri, 8 Aug 2014 16:18:30 +0300 Subject: 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 Reviewed-on: http://git-master/r/454510 Reviewed-by: Terje Bergstrom Tested-by: Terje Bergstrom --- drivers/gpu/nvgpu/gk20a/mm_gk20a.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'drivers/gpu/nvgpu/gk20a/mm_gk20a.h') 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 { struct sg_table *sgt; size_t size; u64 base_iova; + + /* The value that is written to the hardware. This depends on + * on the number of ltcs and is not an address. */ + u64 base_hw; }; struct gk20a_buffer_state { -- cgit v1.2.2