diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-03-28 18:57:34 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-05-15 20:47:34 -0400 |
commit | e2966632ae37abdb03a09bc941ee6d7556cd3624 (patch) | |
tree | ad71c65db8a50b92c648c3fd94e8d49b1d581648 /drivers/gpu | |
parent | 7a313473624d92c03d20715642ba6677cc3541d0 (diff) |
drm/nvc0: more vm fault reasons
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvc0_fifo.c | 13 |
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[] = { | |||
371 | }; | 371 | }; |
372 | 372 | ||
373 | struct nouveau_enum nvc0_fifo_fault_reason[] = { | 373 | struct nouveau_enum nvc0_fifo_fault_reason[] = { |
374 | { 0, "PT_NOT_PRESENT" }, | 374 | { 0x00, "PT_NOT_PRESENT" }, |
375 | { 1, "PT_TOO_SHORT" }, | 375 | { 0x01, "PT_TOO_SHORT" }, |
376 | { 2, "PAGE_NOT_PRESENT" }, | 376 | { 0x02, "PAGE_NOT_PRESENT" }, |
377 | { 3, "VM_LIMIT_EXCEEDED" }, | 377 | { 0x03, "VM_LIMIT_EXCEEDED" }, |
378 | { 0x04, "NO_CHANNEL" }, | ||
379 | { 0x05, "PAGE_SYSTEM_ONLY" }, | ||
380 | { 0x06, "PAGE_READ_ONLY" }, | ||
381 | { 0x0a, "COMPRESSED_SYSRAM" }, | ||
382 | { 0x0c, "INVALID_STORAGE_TYPE" }, | ||
378 | {} | 383 | {} |
379 | }; | 384 | }; |
380 | 385 | ||