From ede1d184cfce981a01250b6071eb46f151093d58 Mon Sep 17 00:00:00 2001 From: Vaikundanathan S Date: Fri, 30 Nov 2018 10:32:58 +0530 Subject: [PATCH] gpu: nvgpu: Export prog domains mask. Export Prog domains mask to PMU JIRA NVGPU-1151 Change-Id: I765435a21729ad10ac6002b6f5dc1f6cc714d4a8 Signed-off-by: Vaikundanathan S Reviewed-on: https://git-master.nvidia.com/r/1962395 Reviewed-by: svc-mobile-coverity Reviewed-by: svc-misra-checker GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/clk/clk_domain.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/nvgpu/clk/clk_domain.c b/drivers/gpu/nvgpu/clk/clk_domain.c index 16ee1d057..951ea712d 100644 --- a/drivers/gpu/nvgpu/clk/clk_domain.c +++ b/drivers/gpu/nvgpu/clk/clk_domain.c @@ -156,6 +156,10 @@ static int _clk_domains_pmudatainit_3x(struct gk20a *g, pdomains->master_domains_mask.super.bitcount, &pset->master_domains_mask.super); + status = boardobjgrpmask_export( + &pdomains->prog_domains_mask.super, + pdomains->prog_domains_mask.super.bitcount, + &pset->prog_domains_mask.super); nvgpu_memcpy((u8 *)&pset->deltas, (u8 *)&pdomains->deltas, (sizeof(struct ctrl_clk_clk_delta)));