drm/nv50-/mc: also pass PMGR interrupts onto I2C subdev
authorBen Skeggs <bskeggs@redhat.com>
Tue, 13 May 2014 04:36:49 +0000 (14:36 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 11 Jun 2014 06:09:15 +0000 (16:09 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/mc/nv50.c
drivers/gpu/drm/nouveau/core/subdev/mc/nv98.c
drivers/gpu/drm/nouveau/core/subdev/mc/nvc0.c

index 90d8bf8ce0dc5039735f46953e0ac0e134de8869..9ca93e2718f79d50fca7436bacf639ac88588733 100644 (file)
@@ -34,7 +34,8 @@ nv50_mc_intr[] = {
        { 0x00008000, NVDEV_ENGINE_BSP },       /* NV84- */
        { 0x00020000, NVDEV_ENGINE_VP },        /* NV84- */
        { 0x00100000, NVDEV_SUBDEV_TIMER },
-       { 0x00200000, NVDEV_SUBDEV_GPIO },
+       { 0x00200000, NVDEV_SUBDEV_GPIO },      /* PMGR->GPIO */
+       { 0x00200000, NVDEV_SUBDEV_I2C },       /* PMGR->I2C/AUX */
        { 0x10000000, NVDEV_SUBDEV_BUS },
        { 0x80000000, NVDEV_ENGINE_SW },
        { 0x0002d101, NVDEV_SUBDEV_FB },
index 95b3d35388a86ee71d893d01b539f4087f1dd9e5..3c76d9038f3828d5e6a5c991244cd065dc4430a5 100644 (file)
@@ -36,7 +36,8 @@ nv98_mc_intr[] = {
        { 0x00040000, NVDEV_SUBDEV_PWR },       /* NVA3:NVC0 */
        { 0x00080000, NVDEV_SUBDEV_THERM },     /* NVA3:NVC0 */
        { 0x00100000, NVDEV_SUBDEV_TIMER },
-       { 0x00200000, NVDEV_SUBDEV_GPIO },
+       { 0x00200000, NVDEV_SUBDEV_GPIO },      /* PMGR->GPIO */
+       { 0x00200000, NVDEV_SUBDEV_I2C },       /* PMGR->I2C/AUX */
        { 0x00400000, NVDEV_ENGINE_COPY0 },     /* NVA3-     */
        { 0x10000000, NVDEV_SUBDEV_BUS },
        { 0x80000000, NVDEV_ENGINE_SW },
index ac7f99a15fa7b530e47316919a2aee655817f5a3..f9c6a678b47d81b1509215fe14d7f34c7398ca20 100644 (file)
@@ -38,7 +38,8 @@ nvc0_mc_intr[] = {
        { 0x00040000, NVDEV_SUBDEV_THERM },
        { 0x00020000, NVDEV_ENGINE_VP },
        { 0x00100000, NVDEV_SUBDEV_TIMER },
-       { 0x00200000, NVDEV_SUBDEV_GPIO },
+       { 0x00200000, NVDEV_SUBDEV_GPIO },      /* PMGR->GPIO */
+       { 0x00200000, NVDEV_SUBDEV_I2C },       /* PMGR->I2C/AUX */
        { 0x01000000, NVDEV_SUBDEV_PWR },
        { 0x02000000, NVDEV_SUBDEV_LTCG },
        { 0x08000000, NVDEV_SUBDEV_FB },