diff options
author | Vinod G <vinodg@nvidia.com> | 2018-07-25 16:08:40 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-08-07 00:13:43 -0400 |
commit | ea896018364560224f7047417e48b61e1c2bee38 (patch) | |
tree | 1fc5f94dfa56395eb57d7d1bfa7e588b76cc9c42 /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | 7f8752fa45a774706c329d2daf94bdfff7721ed7 (diff) |
gpu: nvgpu: Rearrange some definitions from gk20a header
Moved the gk20a_from_as and gk20a_from_pmu
definitions from gk20a.h to as.h and pmu.h
Correction for MISRA rule 21.1 error
in as.h and pmu.h headers
JIRA NVGPU-624
Change-Id: I57de604b47afc589a9778fe69e4856ffcabd9dfc
Signed-off-by: Vinod G <vinodg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1785951
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 13c8928f..2f940553 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -1650,9 +1650,6 @@ enum gk20a_nonstall_ops { | |||
1650 | void __nvgpu_check_gpu_state(struct gk20a *g); | 1650 | void __nvgpu_check_gpu_state(struct gk20a *g); |
1651 | void __gk20a_warn_on_no_regs(void); | 1651 | void __gk20a_warn_on_no_regs(void); |
1652 | 1652 | ||
1653 | struct gk20a *gk20a_from_as(struct gk20a_as *as); | ||
1654 | struct gk20a *gk20a_from_pmu(struct nvgpu_pmu *pmu); | ||
1655 | |||
1656 | /* classes that the device supports */ | 1653 | /* classes that the device supports */ |
1657 | /* TBD: get these from an open-sourced SDK? */ | 1654 | /* TBD: get these from an open-sourced SDK? */ |
1658 | enum { | 1655 | enum { |