summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/mm_gv11b.h
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2018-01-18 17:05:07 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-01-24 17:41:28 -0500
commit0f291f0d5854b35e802fc0cd102fe2d669103edd (patch)
treefb795cabf3ab77f3bc993eacfec9310927131d71 /drivers/gpu/nvgpu/gv11b/mm_gv11b.h
parent6a5bd72856ce8cef4a29d1c26c47432195b93826 (diff)
gpu: nvgpu: Remove fault_buf_status array
Now that we have a consistent way to check if a mem allocation is valid this array is not necessary. The code can simply check the validity of the nvgpu_mem. Change-Id: I6aaf563ddc314cf86a2c2b98f7eb75fa7a9a1ad9 Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1641637 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b/mm_gv11b.h')
-rw-r--r--drivers/gpu/nvgpu/gv11b/mm_gv11b.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/mm_gv11b.h b/drivers/gpu/nvgpu/gv11b/mm_gv11b.h
index d830b7cc..2b3ebf4e 100644
--- a/drivers/gpu/nvgpu/gv11b/mm_gv11b.h
+++ b/drivers/gpu/nvgpu/gv11b/mm_gv11b.h
@@ -1,6 +1,6 @@
1/* 1/*
2 * GV11B MM 2 * GV11B MM
3 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved. 3 * Copyright (c) 2016-2018, NVIDIA CORPORATION. All rights reserved.
4 * 4 *
5 * Permission is hereby granted, free of charge, to any person obtaining a 5 * Permission is hereby granted, free of charge, to any person obtaining a
6 * copy of this software and associated documentation files (the "Software"), 6 * copy of this software and associated documentation files (the "Software"),
@@ -24,9 +24,6 @@
24#ifndef MM_GV11B_H 24#ifndef MM_GV11B_H
25#define MM_GV11B_H 25#define MM_GV11B_H
26 26
27#define HW_FAULT_BUF_STATUS_ALLOC_TRUE 1
28#define HW_FAULT_BUF_STATUS_ALLOC_FALSE 0
29
30struct gk20a; 27struct gk20a;
31struct nvgpu_mem; 28struct nvgpu_mem;
32struct vm_gk20a; 29struct vm_gk20a;