|
|
4882915 |
From 16f4f5f0dc33698b841bce71cbc0dd991935b7e1 Mon Sep 17 00:00:00 2001
|
|
|
4882915 |
From: Hans de Goede <hdegoede@redhat.com>
|
|
|
4882915 |
Date: Thu, 23 Jul 2015 17:20:12 +0200
|
|
|
4882915 |
Subject: [PATCH] nv46: Change mc subdev oclass from nv44 to nv4c
|
|
|
4882915 |
|
|
|
4882915 |
MSI interrupts appear to not work for nv46 based cards. Change the mc
|
|
|
4882915 |
subdev oclass for these cards from nv44 to nv4c, the nv4c mc code is
|
|
|
4882915 |
identical to the nv44 mc code except that it does not use msi
|
|
|
4882915 |
(it does not define a msi_rearm callback).
|
|
|
4882915 |
|
|
|
4882915 |
BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=90435
|
|
|
4882915 |
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
|
|
|
4882915 |
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
|
|
|
4882915 |
---
|
|
|
4882915 |
drivers/gpu/drm/nouveau/nvkm/engine/device/nv40.c | 2 +-
|
|
|
4882915 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
4882915 |
|
|
|
4882915 |
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/device/nv40.c b/drivers/gpu/drm/nouveau/nvkm/engine/device/nv40.c
|
|
|
4882915 |
index c6301361d14f..b4ad791b4851 100644
|
|
|
4882915 |
--- a/drivers/gpu/drm/nouveau/nvkm/engine/device/nv40.c
|
|
|
4882915 |
+++ b/drivers/gpu/drm/nouveau/nvkm/engine/device/nv40.c
|
|
|
4882915 |
@@ -265,7 +265,7 @@ nv40_identify(struct nvkm_device *device)
|
|
|
4882915 |
device->oclass[NVDEV_SUBDEV_CLK ] = &nv40_clk_oclass;
|
|
|
4882915 |
device->oclass[NVDEV_SUBDEV_THERM ] = &nv40_therm_oclass;
|
|
|
4882915 |
device->oclass[NVDEV_SUBDEV_DEVINIT] = nv1a_devinit_oclass;
|
|
|
4882915 |
- device->oclass[NVDEV_SUBDEV_MC ] = nv44_mc_oclass;
|
|
|
4882915 |
+ device->oclass[NVDEV_SUBDEV_MC ] = nv4c_mc_oclass;
|
|
|
4882915 |
device->oclass[NVDEV_SUBDEV_BUS ] = nv31_bus_oclass;
|
|
|
4882915 |
device->oclass[NVDEV_SUBDEV_TIMER ] = &nv04_timer_oclass;
|
|
|
4882915 |
device->oclass[NVDEV_SUBDEV_FB ] = nv46_fb_oclass;
|
|
|
4882915 |
--
|
|
|
4882915 |
2.4.3
|
|
|
4882915 |
|