diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2018-05-08 12:39:46 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2018-05-18 07:01:21 +0200 |
commit | f9360c3aa61f792de3c839c63bfadf8640255d8c (patch) | |
tree | ba5dc37747b4c5dd453cf0f133214cda9bbf08fc /drivers/gpu/drm/nouveau/nvkm/engine/fifo/gm20b.c | |
parent | drm/nouveau/fifo/gk104-: require explicit runlist selection for channel alloc... (diff) | |
download | linux-f9360c3aa61f792de3c839c63bfadf8640255d8c.tar.xz linux-f9360c3aa61f792de3c839c63bfadf8640255d8c.zip |
drm/nouveau/fifo/gk104-: simplify definition of channel classes
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/engine/fifo/gm20b.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/engine/fifo/gm20b.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/fifo/gm20b.c b/drivers/gpu/drm/nouveau/nvkm/engine/fifo/gm20b.c index 66399b9572a6..844787c6fb62 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/fifo/gm20b.c +++ b/drivers/gpu/drm/nouveau/nvkm/engine/fifo/gm20b.c @@ -22,6 +22,8 @@ #include "gk104.h" #include "changk104.h" +#include <nvif/class.h> + static const struct gk104_fifo_func gm20b_fifo = { .fault.access = gk104_fifo_fault_access, @@ -29,10 +31,7 @@ gm20b_fifo = { .fault.reason = gk104_fifo_fault_reason, .fault.hubclient = gk104_fifo_fault_hubclient, .fault.gpcclient = gk104_fifo_fault_gpcclient, - .chan = { - &gm200_fifo_gpfifo_oclass, - NULL - }, + .chan = {{0,0,MAXWELL_CHANNEL_GPFIFO_A}, gk104_fifo_gpfifo_new }, }; int |