summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/include/nvif/device.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2018-05-08 20:39:46 +1000
committerBen Skeggs <bskeggs@redhat.com>2018-05-18 15:01:21 +1000
commitcc36205085bb6e3a4eed1edbe413fd2235cadb27 (patch)
tree671a9ba16943bf6c3eb84adba4dbbdd7905f5e33 /drivers/gpu/drm/nouveau/include/nvif/device.h
parentddc669e25645b32158cc2b6da26faf5dac92fffc (diff)
downloadlinux-cc36205085bb6e3a4eed1edbe413fd2235cadb27.tar.bz2
drm/nouveau/fifo/gk104-: support querying engines available on each runlist
Will be used to improve channel runlist selection. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/include/nvif/device.h')
-rw-r--r--drivers/gpu/drm/nouveau/include/nvif/device.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/include/nvif/device.h b/drivers/gpu/drm/nouveau/include/nvif/device.h
index 216dbd9fa616..76fe21e395de 100644
--- a/drivers/gpu/drm/nouveau/include/nvif/device.h
+++ b/drivers/gpu/drm/nouveau/include/nvif/device.h
@@ -8,6 +8,11 @@
struct nvif_device {
struct nvif_object object;
struct nv_device_info_v0 info;
+
+ struct nvif_fifo_runlist {
+ u64 engines;
+ } *runlist;
+ int runlists;
};
int nvif_device_init(struct nvif_object *, u32 handle, s32 oclass, void *, u32,