summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/gr_gm20b.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2014-11-11 08:14:34 -0500
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:12:17 -0400
commitf6927096e902d179c70711ad2c8c0add1b98b310 (patch)
tree275a34912463f5bd966163728886b301fd7522d7 /drivers/gpu/nvgpu/gm20b/gr_gm20b.c
parent28f4e53e74e8ca93f59780167552db805b1da5c6 (diff)
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 <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/601109 Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/gr_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/gr_gm20b.c2
1 files changed, 2 insertions, 0 deletions
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)
805 gops->gr.is_tpc_addr = gr_gm20b_is_tpc_addr; 805 gops->gr.is_tpc_addr = gr_gm20b_is_tpc_addr;
806 gops->gr.get_tpc_num = gr_gm20b_get_tpc_num; 806 gops->gr.get_tpc_num = gr_gm20b_get_tpc_num;
807 gops->gr.detect_sm_arch = gr_gm20b_detect_sm_arch; 807 gops->gr.detect_sm_arch = gr_gm20b_detect_sm_arch;
808 gops->gr.add_zbc_color = gr_gk20a_add_zbc_color;
809 gops->gr.add_zbc_depth = gr_gk20a_add_zbc_depth;
808} 810}