diff options
author | Karol Herbst <karolherbst@gmail.com> | 2017-02-11 14:58:17 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2017-02-17 10:38:18 +0300 |
commit | 5112abc6a43372b2c1934717ed9bf132a427c46c (patch) | |
tree | d0f6eac8ffa47c5069b776e08a8e24349142dc69 /drivers/gpu/drm/nouveau/nvkm/subdev/pci/g92.c | |
parent | 800efb4c2857ec543fdc33585bbcb1fd5ef28337 (diff) | |
download | linux-5112abc6a43372b2c1934717ed9bf132a427c46c.tar.xz |
drm/nouveau/pci/g92: Fix rearm
704a6c008b7942bb7f30bb43d2a6bcad7f543662 broke pci msi rearm for g92 GPUs.
g92 needs the nv46_pci_msi_rearm, where g94+ gpus used nv40_pci_msi_rearm.
Reported-by: Andrew Randrianasulu <randrianasulu@gmail.com>
Signed-off-by: Karol Herbst <karolherbst@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/subdev/pci/g92.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/subdev/pci/g92.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/pci/g92.c b/drivers/gpu/drm/nouveau/nvkm/subdev/pci/g92.c index 654607e0faf3..48874359d5f6 100644 --- a/drivers/gpu/drm/nouveau/nvkm/subdev/pci/g92.c +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/pci/g92.c @@ -37,7 +37,7 @@ g92_pci_func = { .rd32 = nv40_pci_rd32, .wr08 = nv40_pci_wr08, .wr32 = nv40_pci_wr32, - .msi_rearm = nv40_pci_msi_rearm, + .msi_rearm = nv46_pci_msi_rearm, .pcie.init = g84_pcie_init, .pcie.set_link = g84_pcie_set_link, |