From 5c8f1619ce5ab1cf46484c8914fa29bcc208b9a0 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Fri, 25 May 2018 08:39:06 -0700 Subject: gpu: nvgpu: Use gm20b version of BAR1 bind All chips should use the waiting version of BAR1 bind since gm20b. Change gp10b and gp106 to do that. BAR1 is not used in Volta. JIRa NVGPU-588 Change-Id: Ib6957ebea4effa7c64f4d71522447fa6245728ed Signed-off-by: Terje Bergstrom Reviewed-on: https://git-master.nvidia.com/r/1730895 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c') diff --git a/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c b/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c index 3fa78e54..c4ffe126 100644 --- a/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c +++ b/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c @@ -21,6 +21,7 @@ */ #include "common/bus/bus_gk20a.h" +#include "common/bus/bus_gm20b.h" #include "common/clock_gating/gp10b_gating_reglist.h" #include "vgpu/fifo_vgpu.h" @@ -523,7 +524,7 @@ static const struct gpu_ops vgpu_gp10b_ops = { .bus = { .init_hw = gk20a_bus_init_hw, .isr = gk20a_bus_isr, - .bar1_bind = gk20a_bus_bar1_bind, + .bar1_bind = gm20b_bus_bar1_bind, .set_bar0_window = gk20a_bus_set_bar0_window, }, .ptimer = { -- cgit v1.2.2