summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-04-14 16:19:04 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-05-18 18:14:31 -0400
commitb7fca01b0e01544c3a66d2e05a8b99bcb621a004 (patch)
treed83d23a5f2ed2ad0ea30caa2b489b4bd0039b790 /drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
parentb1d303685b384d58064d8b18ec97e1302bcbba88 (diff)
gpu: nvgpu: Scrub gk20a_platform dependencies
Remove gk20a_platform dependencies from gk20a.h. This makes gk20a_platform a Linux platform specific data structure. Add #include for platform_gk20a.h in the source files that still depend on Linux. JIRA NVGPU-16 Change-Id: Ib098accd34a1f5066eb8680c387f9b178169f3f0 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1463547 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/pmu_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/pmu_gk20a.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
index fa0911ab..8b28a71a 100644
--- a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c
@@ -16,12 +16,6 @@
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. 16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */ 17 */
18 18
19#include <linux/module.h>
20#ifdef CONFIG_DEBUG_FS
21#include <linux/debugfs.h>
22#endif
23#include <linux/uaccess.h>
24
25#include <nvgpu/nvgpu_common.h> 19#include <nvgpu/nvgpu_common.h>
26#include <nvgpu/timers.h> 20#include <nvgpu/timers.h>
27#include <nvgpu/kmem.h> 21#include <nvgpu/kmem.h>
@@ -41,6 +35,12 @@
41#include "nvgpu_gpuid_t19x.h" 35#include "nvgpu_gpuid_t19x.h"
42#endif 36#endif
43 37
38#ifdef CONFIG_DEBUG_FS
39#include <linux/debugfs.h>
40#include <linux/uaccess.h>
41#include "platform_gk20a.h"
42#endif
43
44#define GK20A_PMU_UCODE_IMAGE "gpmu_ucode.bin" 44#define GK20A_PMU_UCODE_IMAGE "gpmu_ucode.bin"
45 45
46#define PMU_MEM_SCRUBBING_TIMEOUT_MAX 1000 46#define PMU_MEM_SCRUBBING_TIMEOUT_MAX 1000