summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106/xve_gp106.h
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2018-03-09 16:07:39 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-03-30 17:54:12 -0400
commit29df4f3da6232e9e3e8916d7b6d7587af7f92360 (patch)
tree6d6e03ddb99d381ae6caf4c09d700157dd08a88c /drivers/gpu/nvgpu/gp106/xve_gp106.h
parent12cd49a733f88c2d6ad41a5c411d1076f26956ed (diff)
gpu: nvgpu: gp106 and missing types.h header fixes
Multiple places were missing explicit <nvgpu/types.h> includes but used various types anyway. Fix that by including <nvgpu/types.h> where necessary. A gp106 file directly used the Linux delay header instead of including <nvgpu/timers.h>. This patch fixes both problems. JIRA NVGPU-525 Change-Id: Ib7a30a8ed9098d469d646c0a2bba293087b8de90 Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1673821 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: Konsta Holtta <kholtta@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/xve_gp106.h')
-rw-r--r--drivers/gpu/nvgpu/gp106/xve_gp106.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp106/xve_gp106.h b/drivers/gpu/nvgpu/gp106/xve_gp106.h
index 413dd8cd..d48b0991 100644
--- a/drivers/gpu/nvgpu/gp106/xve_gp106.h
+++ b/drivers/gpu/nvgpu/gp106/xve_gp106.h
@@ -26,6 +26,7 @@
26#include "gk20a/gk20a.h" 26#include "gk20a/gk20a.h"
27 27
28#include <nvgpu/log2.h> 28#include <nvgpu/log2.h>
29#include <nvgpu/types.h>
29 30
30int gp106_init_xve_ops(struct gpu_ops *gops); 31int gp106_init_xve_ops(struct gpu_ops *gops);
31 32