From f6927096e902d179c70711ad2c8c0add1b98b310 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Tue, 11 Nov 2014 15:14:34 +0200 Subject: gpu: nvgpu: Add HAL for add ZBC color & depth Turn add ZBC functions into HALs that can be filled per chip. Bug 1567274 Change-Id: Ic6ef29d3353d4a0079ea0c80f513ffd579fe554f Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/601109 Reviewed-by: Automatic_Commit_Validation_User --- drivers/gpu/nvgpu/gm20b/gr_gm20b.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/gpu/nvgpu/gm20b/gr_gm20b.c') diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c index 93ad5e8e..67bfb430 100644 --- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c @@ -805,4 +805,6 @@ void gm20b_init_gr(struct gpu_ops *gops) gops->gr.is_tpc_addr = gr_gm20b_is_tpc_addr; gops->gr.get_tpc_num = gr_gm20b_get_tpc_num; gops->gr.detect_sm_arch = gr_gm20b_detect_sm_arch; + gops->gr.add_zbc_color = gr_gk20a_add_zbc_color; + gops->gr.add_zbc_depth = gr_gk20a_add_zbc_depth; } -- cgit v1.2.2