summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-03-29 08:57:34 +1000
committerBen Skeggs <bskeggs@redhat.com>2011-05-16 10:47:34 +1000
commite2966632ae37abdb03a09bc941ee6d7556cd3624 (patch)
treead71c65db8a50b92c648c3fd94e8d49b1d581648 /drivers/gpu/drm/nouveau
parent7a313473624d92c03d20715642ba6677cc3541d0 (diff)
downloadblackbird-op-linux-e2966632ae37abdb03a09bc941ee6d7556cd3624.tar.gz
blackbird-op-linux-e2966632ae37abdb03a09bc941ee6d7556cd3624.zip
drm/nvc0: more vm fault reasons
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau')
-rw-r--r--drivers/gpu/drm/nouveau/nvc0_fifo.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/drivers/gpu/drm/nouveau/nvc0_fifo.c b/drivers/gpu/drm/nouveau/nvc0_fifo.c
index 3eaf5d1e01cc..e6cb17a7fb3e 100644
--- a/drivers/gpu/drm/nouveau/nvc0_fifo.c
+++ b/drivers/gpu/drm/nouveau/nvc0_fifo.c
@@ -371,10 +371,15 @@ struct nouveau_enum nvc0_fifo_fault_unit[] = {
};
struct nouveau_enum nvc0_fifo_fault_reason[] = {
- { 0, "PT_NOT_PRESENT" },
- { 1, "PT_TOO_SHORT" },
- { 2, "PAGE_NOT_PRESENT" },
- { 3, "VM_LIMIT_EXCEEDED" },
+ { 0x00, "PT_NOT_PRESENT" },
+ { 0x01, "PT_TOO_SHORT" },
+ { 0x02, "PAGE_NOT_PRESENT" },
+ { 0x03, "VM_LIMIT_EXCEEDED" },
+ { 0x04, "NO_CHANNEL" },
+ { 0x05, "PAGE_SYSTEM_ONLY" },
+ { 0x06, "PAGE_READ_ONLY" },
+ { 0x0a, "COMPRESSED_SYSRAM" },
+ { 0x0c, "INVALID_STORAGE_TYPE" },
{}
};
OpenPOWER on IntegriCloud