From 7d917f43a5a8abc41988e606ef5e7311dcf23ff8 Mon Sep 17 00:00:00 2001 From: Kevin Huang Date: Fri, 23 May 2014 13:45:57 -0700 Subject: gpu: nvgpu: gm20b: fix compression sharing For GM20B alone, the LTC count is already accounted for the HW logic for the CBC base calculation from the postDivide address. So SW doesn't have to explicity divide it by the LTC count in the postDivide address calculation. Bug 1477079 Change-Id: I558bbe66bbcfb7edfa21210d0dc22c6170149260 Signed-off-by: Kevin Huang Reviewed-on: http://git-master/r/414264 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom --- drivers/gpu/nvgpu/gk20a/gk20a.h | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 081ec077..f16be5a1 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h @@ -84,6 +84,7 @@ struct gpu_ops { void (*init_fs_state)(struct gk20a *g); void (*elpg_flush)(struct gk20a *g); void (*isr)(struct gk20a *g); + u32 (*cbc_fix_config)(struct gk20a *g, int base); } ltc; struct { int (*init_fs_state)(struct gk20a *g); -- cgit v1.2.2