From 4aef10c9507a19fb288936b88b0faeb62a520817 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Mon, 19 Jan 2015 14:50:57 -0800 Subject: gpu: nvgpu: Set compression page per SoC Compression page size varies depending on architecture. Make it 129kB on gk20a and gm20b. Also export some common functions from gm20b. Bug 1592495 Change-Id: Ifb1c5b15d25fa961dab097021080055fc385fecd Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/673790 --- drivers/gpu/nvgpu/gm20b/ltc_gm20b.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'drivers/gpu/nvgpu/gm20b/ltc_gm20b.h') diff --git a/drivers/gpu/nvgpu/gm20b/ltc_gm20b.h b/drivers/gpu/nvgpu/gm20b/ltc_gm20b.h index c7524264..288e193a 100644 --- a/drivers/gpu/nvgpu/gm20b/ltc_gm20b.h +++ b/drivers/gpu/nvgpu/gm20b/ltc_gm20b.h @@ -18,4 +18,11 @@ struct gpu_ops; void gm20b_init_ltc(struct gpu_ops *gops); +void gm20b_ltc_init_fs_state(struct gk20a *g); +int gm20b_ltc_cbc_ctrl(struct gk20a *g, enum gk20a_cbc_op op, + u32 min, u32 max); +void gm20b_ltc_g_elpg_flush_locked(struct gk20a *g); +void gm20b_ltc_isr(struct gk20a *g); +u32 gm20b_ltc_cbc_fix_config(struct gk20a *g, int base); +void gm20b_flush_ltc(struct gk20a *g); #endif -- cgit v1.2.2