summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2018-08-16 17:27:35 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-09-04 19:15:34 -0400
commita6499fb9ceddd9ea52cf7e67789a64131545295c (patch)
tree488c9768a74a71112dcfcac459fa3727aee66195 /drivers/gpu/nvgpu/gp10b
parent2e051a78a513e021ac84a3da77b778c591284983 (diff)
gpu: nvgpu: Bump FB gk20a code to gm20b
Move all code from fb_gk20a.c to fb_gm20b.c. Change-Id: I87fbdfee76599e019564d66bf248aaffcf978498 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1801422 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b')
-rw-r--r--drivers/gpu/nvgpu/gp10b/hal_gp10b.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c
index 9e42c6ba..25466e7b 100644
--- a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c
+++ b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c
@@ -29,7 +29,6 @@
29#include "common/bus/bus_gp10b.h" 29#include "common/bus/bus_gp10b.h"
30#include "common/priv_ring/priv_ring_gm20b.h" 30#include "common/priv_ring/priv_ring_gm20b.h"
31#include "common/priv_ring/priv_ring_gp10b.h" 31#include "common/priv_ring/priv_ring_gp10b.h"
32#include "common/fb/fb_gk20a.h"
33#include "common/fb/fb_gm20b.h" 32#include "common/fb/fb_gm20b.h"
34#include "common/fb/fb_gp10b.h" 33#include "common/fb/fb_gp10b.h"
35#include "common/therm/therm_gm20b.h" 34#include "common/therm/therm_gm20b.h"
@@ -368,8 +367,8 @@ static const struct gpu_ops gp10b_ops = {
368 .set_debug_mode = gm20b_gr_set_debug_mode, 367 .set_debug_mode = gm20b_gr_set_debug_mode,
369 }, 368 },
370 .fb = { 369 .fb = {
371 .reset = fb_gk20a_reset, 370 .reset = gm20b_fb_reset,
372 .init_hw = gk20a_fb_init_hw, 371 .init_hw = gm20b_fb_init_hw,
373 .init_fs_state = fb_gm20b_init_fs_state, 372 .init_fs_state = fb_gm20b_init_fs_state,
374 .set_mmu_page_size = gm20b_fb_set_mmu_page_size, 373 .set_mmu_page_size = gm20b_fb_set_mmu_page_size,
375 .set_use_full_comp_tag_line = 374 .set_use_full_comp_tag_line =
@@ -386,7 +385,7 @@ static const struct gpu_ops gp10b_ops = {
386 .read_wpr_info = gm20b_fb_read_wpr_info, 385 .read_wpr_info = gm20b_fb_read_wpr_info,
387 .is_debug_mode_enabled = gm20b_fb_debug_mode_enabled, 386 .is_debug_mode_enabled = gm20b_fb_debug_mode_enabled,
388 .set_debug_mode = gm20b_fb_set_debug_mode, 387 .set_debug_mode = gm20b_fb_set_debug_mode,
389 .tlb_invalidate = gk20a_fb_tlb_invalidate, 388 .tlb_invalidate = gm20b_fb_tlb_invalidate,
390 .mem_unlock = NULL, 389 .mem_unlock = NULL,
391 }, 390 },
392 .clock_gating = { 391 .clock_gating = {