gr/fuc: Store $r0 in interrupt handler
PATCH 1/1 gr/fuc: Store $r0 in interrupt handler
It's supposed to always be 0, but at least nv_iowr() temporarily violates this. Since the ih touches $r0, it should be stored.
--- drm/nouveau/nvkm/engine/gr/fuc/gpc.fuc | 2 + drm/nouveau/nvkm/engine/gr/fuc/gpcgf100.fuc3.h | 80 ++++---- drm/nouveau/nvkm/engine/gr/fuc/gpcgf117.fuc3.h | 82 ++++---- drm/nouveau/nvkm/engine/gr/fuc/gpcgk104.fuc3.h | 82 ++++---- drm/nouveau/nvkm/engine/gr/fuc/gpcgk110.fuc3.h | 82 ++++---- drm/nouveau/nvkm/engine/gr/fuc/gpcgk208.fuc5.h | 68 +++---- drm/nouveau/nvkm/engine/gr/fuc/gpcgm107.fuc5.h | 70 +++---- drm/nouveau/nvkm/engine/gr/fuc/hub.fuc | 2 + drm/nouveau/nvkm/engine/gr/fuc/hubgf100.fuc3.h | 252 ++++++++++++------------- drm/nouveau/nvkm/engine/gr/fuc/hubgf117.fuc3.h | 252 ++++++++++++------------- drm/nouveau/nvkm/engine/gr/fuc/hubgk104.fuc3.h | 238 +++++++++++------------ drm/nouveau/nvkm/engine/gr/fuc/hubgk110.fuc3.h | 238 +++++++++++------------ drm/nouveau/nvkm/engine/gr/fuc/hubgk208.fuc5.h | 210 ++++++++++----------- drm/nouveau/nvkm/engine/gr/fuc/hubgm107.fuc5.h | 210 ++++++++++----------- 14 files changed, 936 insertions(+), 932 deletions(-)
drm/nouveau/nvkm/engine/gr/fuc/gpc.fuc +2 -0
@@ -322,6 +322,7 @@ main: // interrupt handler ih: + push $r0 push $r8 mov $r8 $flags push $r8
@@ -358,6 +359,7 @@ ih: pop $r8 mov $flags $r8 pop $r8 + pop $r0 bclr $flags $p0 iret
drm/nouveau/nvkm/engine/gr/fuc/gpcgf100.fuc3.h +40 -40
121 lines not on this page · raw message
drm/nouveau/nvkm/engine/gr/fuc/gpcgf117.fuc3.h +41 -41
125 lines not on this page · raw message
drm/nouveau/nvkm/engine/gr/fuc/gpcgk104.fuc3.h +41 -41
125 lines not on this page · raw message
drm/nouveau/nvkm/engine/gr/fuc/gpcgk110.fuc3.h +41 -41
125 lines not on this page · raw message
drm/nouveau/nvkm/engine/gr/fuc/gpcgk208.fuc5.h +34 -34
110 lines not on this page · raw message
drm/nouveau/nvkm/engine/gr/fuc/gpcgm107.fuc5.h +35 -35
118 lines not on this page · raw message
drm/nouveau/nvkm/engine/gr/fuc/hub.fuc +2 -0
@@ -306,6 +306,7 @@ main: // interrupt handler ih: + push $r0 push $r8 mov $r8 $flags push $r8
@@ -380,6 +381,7 @@ ih: pop $r8 mov $flags $r8 pop $r8 + pop $r0 bclr $flags $p0 iret
drm/nouveau/nvkm/engine/gr/fuc/hubgf100.fuc3.h +126 -126
416 lines not on this page · raw message
drm/nouveau/nvkm/engine/gr/fuc/hubgf117.fuc3.h +126 -126
416 lines not on this page · raw message
drm/nouveau/nvkm/engine/gr/fuc/hubgk104.fuc3.h +119 -119
393 lines not on this page · raw message
drm/nouveau/nvkm/engine/gr/fuc/hubgk110.fuc3.h +119 -119
393 lines not on this page · raw message
drm/nouveau/nvkm/engine/gr/fuc/hubgk208.fuc5.h +105 -105
359 lines not on this page · raw message
drm/nouveau/nvkm/engine/gr/fuc/hubgm107.fuc5.h +105 -105
271 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 6 lines
1.9.1 _______________________________________________ Nouveau mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/nouveau
Part of the diff is not shown here. View the raw message.