summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/core/engine/graph/fuc/com.fuc
diff options
context:
space:
mode:
authorBen Skeggs2013-07-04 06:56:38 +0200
committerBen Skeggs2013-07-05 05:44:35 +0200
commit60a4acd7c9a5cde05ec17685072504f991fea321 (patch)
treee133b4b50c850e05c358e8c34ebf5d02924cdb7c /drivers/gpu/drm/nouveau/core/engine/graph/fuc/com.fuc
parentdrm/nvc0-/gr: remove hardcoding of UNK count/mask in GPCCS ucode (diff)
downloadkernel-qcow2-linux-60a4acd7c9a5cde05ec17685072504f991fea321.tar.gz
kernel-qcow2-linux-60a4acd7c9a5cde05ec17685072504f991fea321.tar.xz
kernel-qcow2-linux-60a4acd7c9a5cde05ec17685072504f991fea321.zip
drm/nvf0-/gr: ctxsw scratch reg count got bumped to 16
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/engine/graph/fuc/com.fuc')
-rw-r--r--drivers/gpu/drm/nouveau/core/engine/graph/fuc/com.fuc8
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/gpu/drm/nouveau/core/engine/graph/fuc/com.fuc b/drivers/gpu/drm/nouveau/core/engine/graph/fuc/com.fuc
index da18885c559c..5d24b6de16cc 100644
--- a/drivers/gpu/drm/nouveau/core/engine/graph/fuc/com.fuc
+++ b/drivers/gpu/drm/nouveau/core/engine/graph/fuc/com.fuc
@@ -149,13 +149,9 @@ watchdog_clear:
//
wait_donez:
trace_set(T_WAIT);
- mov $r8 0x818
- shl b32 $r8 6
- iowr I[$r8 + 0x000] $r10
+ nv_iowr(NV_PGRAPH_FECS_CC_SCRATCH_VAL(6), 0, $r10)
wait_donez_ne:
- mov $r8 0x400
- shl b32 $r8 6
- iord $r8 I[$r8 + 0x000]
+ nv_iord($r8, NV_PGRAPH_FECS_SIGNAL, 0)
xbit $r8 $r8 $r10
bra ne #wait_donez_ne
trace_clr(T_WAIT)