diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/cde_gm20b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/cde_gm20b.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/cde_gm20b.c b/drivers/gpu/nvgpu/gm20b/cde_gm20b.c index d23ba8c5..f8267d1d 100644 --- a/drivers/gpu/nvgpu/gm20b/cde_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/cde_gm20b.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * GM20B CDE | 2 | * GM20B CDE |
3 | * | 3 | * |
4 | * Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved. | 4 | * Copyright (c) 2015-2017, NVIDIA CORPORATION. All rights reserved. |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify it | 6 | * This program is free software; you can redistribute it and/or modify it |
7 | * under the terms and conditions of the GNU General Public License, | 7 | * under the terms and conditions of the GNU General Public License, |
@@ -26,7 +26,7 @@ enum programs { | |||
26 | PROG_PASSTHROUGH = 6, | 26 | PROG_PASSTHROUGH = 6, |
27 | }; | 27 | }; |
28 | 28 | ||
29 | static void gm20b_cde_get_program_numbers(struct gk20a *g, | 29 | void gm20b_cde_get_program_numbers(struct gk20a *g, |
30 | u32 block_height_log2, | 30 | u32 block_height_log2, |
31 | int *hprog_out, int *vprog_out) | 31 | int *hprog_out, int *vprog_out) |
32 | { | 32 | { |
@@ -46,8 +46,3 @@ static void gm20b_cde_get_program_numbers(struct gk20a *g, | |||
46 | *hprog_out = hprog; | 46 | *hprog_out = hprog; |
47 | *vprog_out = vprog; | 47 | *vprog_out = vprog; |
48 | } | 48 | } |
49 | |||
50 | void gm20b_init_cde_ops(struct gpu_ops *gops) | ||
51 | { | ||
52 | gops->cde.get_program_numbers = gm20b_cde_get_program_numbers; | ||
53 | } | ||