summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106/gr_gp106.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/gr_gp106.c')
-rw-r--r--drivers/gpu/nvgpu/gp106/gr_gp106.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp106/gr_gp106.c b/drivers/gpu/nvgpu/gp106/gr_gp106.c
index 8d8376d3..cbcb5981 100644
--- a/drivers/gpu/nvgpu/gp106/gr_gp106.c
+++ b/drivers/gpu/nvgpu/gp106/gr_gp106.c
@@ -1,7 +1,7 @@
1/* 1/*
2 * GP106 GPU GR 2 * GP106 GPU GR
3 * 3 *
4 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2016-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,
@@ -71,6 +71,9 @@ static int gr_gp106_handle_sw_method(struct gk20a *g, u32 addr,
71 case NVC0C0_SET_SHADER_EXCEPTIONS: 71 case NVC0C0_SET_SHADER_EXCEPTIONS:
72 gk20a_gr_set_shader_exceptions(g, data); 72 gk20a_gr_set_shader_exceptions(g, data);
73 break; 73 break;
74 case NVC0C0_SET_RD_COALESCE:
75 gr_gm20b_set_rd_coalesce(g, data);
76 break;
74 default: 77 default:
75 goto fail; 78 goto fail;
76 } 79 }
@@ -90,6 +93,9 @@ static int gr_gp106_handle_sw_method(struct gk20a *g, u32 addr,
90 case NVC097_SET_GO_IDLE_TIMEOUT: 93 case NVC097_SET_GO_IDLE_TIMEOUT:
91 gr_gp106_set_go_idle_timeout(g, data); 94 gr_gp106_set_go_idle_timeout(g, data);
92 break; 95 break;
96 case NVC097_SET_RD_COALESCE:
97 gr_gm20b_set_rd_coalesce(g, data);
98 break;
93 default: 99 default:
94 goto fail; 100 goto fail;
95 } 101 }