summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/perf
diff options
context:
space:
mode:
authorVijayakumar <vsubbu@nvidia.com>2017-11-15 05:25:24 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-01-12 11:56:38 -0500
commit6170f1eed53b4e6770a6948474ab8a8a5e2621bc (patch)
tree9262b6d91c23f67067d4a031a0176334de4179d1 /drivers/gpu/nvgpu/perf
parentffa5231d2cf38d133e0ca323494be3e579cc820d (diff)
gpu: nvgpu: perf: fix coverity issue
remove recurring header file include coverity defect id: 2682953 bug 200291879 Change-Id: Iae53377ff1609c138a0c75a4cbf04afa3a533100 Signed-off-by: Vijayakumar <vsubbu@nvidia.com> Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1636579 GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/perf')
-rw-r--r--drivers/gpu/nvgpu/perf/perf.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/perf/perf.h b/drivers/gpu/nvgpu/perf/perf.h
index 310bde8c..c3708f61 100644
--- a/drivers/gpu/nvgpu/perf/perf.h
+++ b/drivers/gpu/nvgpu/perf/perf.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2018, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a 4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"), 5 * copy of this software and associated documentation files (the "Software"),
@@ -26,7 +26,6 @@
26#include "vfe_equ.h" 26#include "vfe_equ.h"
27#include "vfe_var.h" 27#include "vfe_var.h"
28#include "pstate/pstate.h" 28#include "pstate/pstate.h"
29#include "gk20a/gk20a.h"
30#include "volt/volt.h" 29#include "volt/volt.h"
31#include "lpwr/lpwr.h" 30#include "lpwr/lpwr.h"
32#include "boardobj/boardobjgrp_e255.h" 31#include "boardobj/boardobjgrp_e255.h"
@@ -64,6 +63,8 @@
64#define CTRL_PERF_VFE_EQU_COMPARE_FUNCTION_GREATER_EQ 0x01 63#define CTRL_PERF_VFE_EQU_COMPARE_FUNCTION_GREATER_EQ 0x01
65#define CTRL_PERF_VFE_EQU_COMPARE_FUNCTION_GREATER 0x02 64#define CTRL_PERF_VFE_EQU_COMPARE_FUNCTION_GREATER 0x02
66 65
66struct gk20a;
67
67struct perf_pmupstate { 68struct perf_pmupstate {
68 struct vfe_vars vfe_varobjs; 69 struct vfe_vars vfe_varobjs;
69 struct vfe_equs vfe_equobjs; 70 struct vfe_equs vfe_equobjs;