From fb0a23ea168fd0947d9bc1064f91f15ef8a0c057 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Fri, 19 Jan 2018 15:16:44 -0800 Subject: gpu: nvgpu: Implement gp10b variant of cbc_ctrl Pascal has support for more comptags than Maxwell, but we were using gm20b definitions for cbc_ctrl on all chips. Specifically field clear_upper_bound is one bit wider in Pascal. Implement gp10b version of cbc_ctrl and take that into use in Pascal and Volta. Bug 200381317 Change-Id: I7d3cb9e92498e08f8704f156e2afb34404ce587e Signed-off-by: Terje Bergstrom Reviewed-on: https://git-master.nvidia.com/r/1642574 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svc-mobile-coverity Reviewed-by: Seema Khowala GVS: Gerrit_Virtual_Submit Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gp106/hal_gp106.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gp106/hal_gp106.c') diff --git a/drivers/gpu/nvgpu/gp106/hal_gp106.c b/drivers/gpu/nvgpu/gp106/hal_gp106.c index 68562955..7a57672e 100644 --- a/drivers/gpu/nvgpu/gp106/hal_gp106.c +++ b/drivers/gpu/nvgpu/gp106/hal_gp106.c @@ -236,7 +236,7 @@ static const struct gpu_ops gp106_ops = { .init_cbc = NULL, .init_fs_state = gm20b_ltc_init_fs_state, .init_comptags = gp10b_ltc_init_comptags, - .cbc_ctrl = gm20b_ltc_cbc_ctrl, + .cbc_ctrl = gp10b_ltc_cbc_ctrl, .isr = gp10b_ltc_isr, .cbc_fix_config = NULL, .flush = gm20b_flush_ltc, -- cgit v1.2.2