diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2018-07-02 13:59:36 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-07-06 00:48:47 -0400 |
commit | 3e12cea363c8a09038e870d7df9c047294a0a6a1 (patch) | |
tree | e45491378fd00ad36785bb54cb45457fa7283990 /drivers/gpu/nvgpu/gk20a/css_gr_gk20a.h | |
parent | bd5c2cef161fc0fe2a7c3dbad58af7794274e381 (diff) |
gpu: nvgpu: Clean up include/nvgpu/vidmem.h
vidmem.h had a forward declaration for a Linux specific struct
work_struct. Removed that.
vidmem.h also #included nvgpu_mem.h even though there was no use
for it. As a follow-up css_gr_gk20a.h did refer to nvgpu_mem but
did not #include it, so added that.
Change-Id: Ifea88adae86ed95302465641821fbb107d7cc233
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1768260
Reviewed-by: Alex Waterman <alexw@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/css_gr_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/css_gr_gk20a.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/css_gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/css_gr_gk20a.h index 8aefe848..bf8890bd 100644 --- a/drivers/gpu/nvgpu/gk20a/css_gr_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/css_gr_gk20a.h | |||
@@ -25,6 +25,9 @@ | |||
25 | #ifndef CSS_GR_GK20A_H | 25 | #ifndef CSS_GR_GK20A_H |
26 | #define CSS_GR_GK20A_H | 26 | #define CSS_GR_GK20A_H |
27 | 27 | ||
28 | #include <nvgpu/nvgpu_mem.h> | ||
29 | #include <nvgpu/list.h> | ||
30 | |||
28 | /* the minimal size of HW buffer - should be enough to avoid HW overflows */ | 31 | /* the minimal size of HW buffer - should be enough to avoid HW overflows */ |
29 | #define CSS_MIN_HW_SNAPSHOT_SIZE (8 * 1024 * 1024) | 32 | #define CSS_MIN_HW_SNAPSHOT_SIZE (8 * 1024 * 1024) |
30 | 33 | ||