From 8cb168632bef46e98da7ff5d16b03e03ddfd3d4e Mon Sep 17 00:00:00 2001 From: prsethi Date: Sun, 18 Oct 2020 19:16:00 +0000 Subject: gpu: nvgpu: add support for ACB SLCG on gv11b Register list for ACB SLCG is auto generated with scripts. Add HAL operations to enable/disable ACB clock gating. Cherry-pick/manually port from dev-main Bug 200647909 Change-Id: I4be4c14cc072fcccd91031a5a40321f5ff11f549 Signed-off-by: Prateek sethi Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2420355 (cherry picked from commit c7c04d3a28c2eb0edc8e015dd0130fa50d3496c7) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2434464 Reviewed-by: automaticguardword Reviewed-by: Rajesh Devaraj Reviewed-by: Peter Daifuku Reviewed-by: Phoenix Jung Reviewed-by: mobile promotions Tested-by: mobile promotions GVS: Gerrit_Virtual_Submit --- drivers/gpu/nvgpu/gv11b/hal_gv11b.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/gpu/nvgpu/gv11b') diff --git a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c index c0f7e4e3..994e1024 100644 --- a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c @@ -533,6 +533,8 @@ static const struct gpu_ops gv11b_ops = { gv11b_slcg_xbar_load_gating_prod, .slcg_hshub_load_gating_prod = gv11b_slcg_hshub_load_gating_prod, + .slcg_acb_load_gating_prod = + gv11b_slcg_acb_load_gating_prod, .blcg_bus_load_gating_prod = gv11b_blcg_bus_load_gating_prod, .blcg_ce_load_gating_prod = -- cgit v1.2.2