From 0f291f0d5854b35e802fc0cd102fe2d669103edd Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Thu, 18 Jan 2018 14:05:07 -0800 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1641637 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gv11b/mm_gv11b.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'drivers/gpu/nvgpu/gv11b/mm_gv11b.h') 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 @@ /* * GV11B MM - * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2016-2018, NVIDIA CORPORATION. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -24,9 +24,6 @@ #ifndef MM_GV11B_H #define MM_GV11B_H -#define HW_FAULT_BUF_STATUS_ALLOC_TRUE 1 -#define HW_FAULT_BUF_STATUS_ALLOC_FALSE 0 - struct gk20a; struct nvgpu_mem; struct vm_gk20a; -- cgit v1.2.2