summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/gr_gp10b.h
diff options
context:
space:
mode:
authorSeema Khowala <seemaj@nvidia.com>2017-06-20 16:26:16 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-06-29 16:29:35 -0400
commit97aea977e25c17ecb44448eb19dc15e740036958 (patch)
tree5ac50bec7d1759adac13d91efb5ab6301462efb7 /drivers/gpu/nvgpu/gp10b/gr_gp10b.h
parent2fcec1c8d54e65d4ccfe66f5a094a01ac69926a0 (diff)
gpu: nvgpu: gp10b: functions made non-static
gr_gp10b_handle_fecs_error and gr_gp10b_set_cilp_preempt_pending made non-static to be reused for t19x Bug 200289491 Change-Id: I8ef7ffab1209abc7f7d7d05cbbdf8ce4365613c5 Signed-off-by: Seema Khowala <seemaj@nvidia.com> Reviewed-on: https://git-master/r/1505954 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/gr_gp10b.h')
-rw-r--r--drivers/gpu/nvgpu/gp10b/gr_gp10b.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/gr_gp10b.h b/drivers/gpu/nvgpu/gp10b/gr_gp10b.h
index 81ec7927..76e48075 100644
--- a/drivers/gpu/nvgpu/gp10b/gr_gp10b.h
+++ b/drivers/gpu/nvgpu/gp10b/gr_gp10b.h
@@ -21,6 +21,7 @@
21#include "gk20a/mm_gk20a.h" 21#include "gk20a/mm_gk20a.h"
22 22
23struct gpu_ops; 23struct gpu_ops;
24struct gr_gk20a_isr_data;
24 25
25enum { 26enum {
26 PASCAL_CHANNEL_GPFIFO_A = 0xC06F, 27 PASCAL_CHANNEL_GPFIFO_A = 0xC06F,
@@ -44,6 +45,11 @@ int gr_gp10b_init_fs_state(struct gk20a *g);
44int gr_gp10b_alloc_buffer(struct vm_gk20a *vm, size_t size, 45int gr_gp10b_alloc_buffer(struct vm_gk20a *vm, size_t size,
45 struct nvgpu_mem *mem); 46 struct nvgpu_mem *mem);
46void gr_gp10b_create_sysfs(struct device *dev); 47void gr_gp10b_create_sysfs(struct device *dev);
48int gr_gp10b_handle_fecs_error(struct gk20a *g,
49 struct channel_gk20a *__ch,
50 struct gr_gk20a_isr_data *isr_data);
51int gr_gp10b_set_cilp_preempt_pending(struct gk20a *g,
52 struct channel_gk20a *fault_ch);
47 53
48struct gr_t18x { 54struct gr_t18x {
49 struct { 55 struct {