summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2018-05-25 11:39:06 -0400
committerTejal Kudav <tkudav@nvidia.com>2018-06-14 09:44:07 -0400
commit5c8f1619ce5ab1cf46484c8914fa29bcc208b9a0 (patch)
tree04e18a7b0070a82a6374af732a0461204f02a172 /drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c
parent75b6385490e35234976b55854fc2d01a454ab535 (diff)
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 <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1730895 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c')
-rw-r--r--drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c3
1 files changed, 2 insertions, 1 deletions
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 @@
21 */ 21 */
22 22
23#include "common/bus/bus_gk20a.h" 23#include "common/bus/bus_gk20a.h"
24#include "common/bus/bus_gm20b.h"
24#include "common/clock_gating/gp10b_gating_reglist.h" 25#include "common/clock_gating/gp10b_gating_reglist.h"
25 26
26#include "vgpu/fifo_vgpu.h" 27#include "vgpu/fifo_vgpu.h"
@@ -523,7 +524,7 @@ static const struct gpu_ops vgpu_gp10b_ops = {
523 .bus = { 524 .bus = {
524 .init_hw = gk20a_bus_init_hw, 525 .init_hw = gk20a_bus_init_hw,
525 .isr = gk20a_bus_isr, 526 .isr = gk20a_bus_isr,
526 .bar1_bind = gk20a_bus_bar1_bind, 527 .bar1_bind = gm20b_bus_bar1_bind,
527 .set_bar0_window = gk20a_bus_set_bar0_window, 528 .set_bar0_window = gk20a_bus_set_bar0_window,
528 }, 529 },
529 .ptimer = { 530 .ptimer = {