diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2012-12-20 02:50:52 (GMT) |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2012-12-23 12:59:31 (GMT) |
commit | 902530693ef38f3bb007efae594e54443d84fa56 (patch) | |
tree | c81959c7b5e088589c97f3b6ec7fd066cf0ab140 /drivers/gpu/drm/nouveau/core/engine/graph/fuc/hubnvc0.fuc | |
parent | 5ddf4d4a543dd3303b20d7e9a4b3549589c5f095 (diff) | |
download | linux-fsl-qoriq-902530693ef38f3bb007efae594e54443d84fa56.tar.xz |
drm/nvc0/graph: fix fuc, and enable acceleration on GF119
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/engine/graph/fuc/hubnvc0.fuc')
-rw-r--r-- | drivers/gpu/drm/nouveau/core/engine/graph/fuc/hubnvc0.fuc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/core/engine/graph/fuc/hubnvc0.fuc b/drivers/gpu/drm/nouveau/core/engine/graph/fuc/hubnvc0.fuc index acfc457..0bcfa4d 100644 --- a/drivers/gpu/drm/nouveau/core/engine/graph/fuc/hubnvc0.fuc +++ b/drivers/gpu/drm/nouveau/core/engine/graph/fuc/hubnvc0.fuc @@ -754,6 +754,16 @@ ctx_mmio_exec: // on load it means: "a save preceeded this load" // ctx_xfer: + // according to mwk, some kind of wait for idle + mov $r15 0xc00 + shl b32 $r15 6 + mov $r14 4 + iowr I[$r15 + 0x200] $r14 + ctx_xfer_idle: + iord $r14 I[$r15 + 0x000] + and $r14 0x2000 + bra ne #ctx_xfer_idle + bra not $p1 #ctx_xfer_pre bra $p2 #ctx_xfer_pre_load ctx_xfer_pre: |