diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2018-09-12 17:51:40 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-09-27 18:05:34 -0400 |
commit | f89ea110417e1c83cf21f495d6da7cdc8138a29f (patch) | |
tree | 198f25d08d650e5a42470eb1823b441c07d8b71f /drivers/gpu/nvgpu/vgpu | |
parent | e3ae03e17abd452c157545234348692364b4b9f6 (diff) |
gpu: nvgpu: Move FB reset to MC unit
FB reset is done by accessing MC register. Move the code to MC unit.
JIRA NVGPU-954
Change-Id: I1636887af805f016da5490af65e808f9ac015cde
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1823385
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c | 1 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c b/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c index 61ab3b1b..e23595a0 100644 --- a/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c +++ b/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c | |||
@@ -236,7 +236,6 @@ static const struct gpu_ops vgpu_gp10b_ops = { | |||
236 | .set_debug_mode = gm20b_gr_set_debug_mode, | 236 | .set_debug_mode = gm20b_gr_set_debug_mode, |
237 | }, | 237 | }, |
238 | .fb = { | 238 | .fb = { |
239 | .reset = NULL, | ||
240 | .init_hw = NULL, | 239 | .init_hw = NULL, |
241 | .init_fs_state = NULL, | 240 | .init_fs_state = NULL, |
242 | .set_mmu_page_size = NULL, | 241 | .set_mmu_page_size = NULL, |
diff --git a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c index a024a0ea..497c904b 100644 --- a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c +++ b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c | |||
@@ -276,7 +276,6 @@ static const struct gpu_ops vgpu_gv11b_ops = { | |||
276 | .set_debug_mode = gm20b_gr_set_debug_mode, | 276 | .set_debug_mode = gm20b_gr_set_debug_mode, |
277 | }, | 277 | }, |
278 | .fb = { | 278 | .fb = { |
279 | .reset = NULL, | ||
280 | .init_hw = NULL, | 279 | .init_hw = NULL, |
281 | .init_fs_state = NULL, | 280 | .init_fs_state = NULL, |
282 | .init_cbc = NULL, | 281 | .init_cbc = NULL, |