diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2019-06-13 13:58:50 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2019-08-23 12:55:32 +1000 |
commit | cf9518b50a9c68cafb07e05fc54731071228ced3 (patch) | |
tree | ef4cf6a0762b4a0a8c406b07d1afeaa6ddc11751 /drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c | |
parent | 9f9b450752d38c86f4f830214bb9276ed174d5d3 (diff) |
drm/nouveau/fifo/gf1xx: convert to using nvkm_fault_data
Would like to be able to reuse gf100_fifo_intr_fault() for (some of) the
later chipsets too, as it's identical.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c b/drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c index 1053fe796466..ac9abcc1470a 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c +++ b/drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c @@ -666,7 +666,7 @@ gk104_fifo_intr_fault(struct gk104_fifo *fifo, int unit) info.client = (type & 0x00001f00) >> 8; info.access = (type & 0x00000080) >> 7; info.hub = (type & 0x00000040) >> 6; - info.reason = (type & 0x000000ff); + info.reason = (type & 0x0000001f); nvkm_fifo_fault(&fifo->base, &info); } |