From: Maxim Levitsky Date: Sun, 9 Oct 2011 20:58:32 +0000 (+0200) Subject: drm/nv50: also report errors in MP1/MP2 when they happen. X-Git-Tag: upstream/snapshot3+hdmi~8389^2~51^2~81 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c983e6f660dd39758b032a2de4c8844ff2575278;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git drm/nv50: also report errors in MP1/MP2 when they happen. Signed-off-by: Maxim Levitsky Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nv50_graph.c b/drivers/gpu/drm/nouveau/nv50_graph.c index ac601f7..33d5711 100644 --- a/drivers/gpu/drm/nouveau/nv50_graph.c +++ b/drivers/gpu/drm/nouveau/nv50_graph.c @@ -616,9 +616,9 @@ nv50_pgraph_tp_trap(struct drm_device *dev, int type, uint32_t ustatus_old, } break; case 7: /* MP error */ - if (ustatus & 0x00010000) { + if (ustatus & 0x04030000) { nv50_pgraph_mp_trap(dev, i, display); - ustatus &= ~0x00010000; + ustatus &= ~0x04030000; } break; case 8: /* TPDMA error */