summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_chan.c
diff options
context:
space:
mode:
authorBen Skeggs2016-03-11 04:09:28 +0100
committerBen Skeggs2016-03-14 01:13:48 +0100
commit63f8c9b7f6b7d85e0fa942d0319f72df6aa188c3 (patch)
treec0211157fd5d390741d5eeadaa82b109f470c810 /drivers/gpu/drm/nouveau/nouveau_chan.c
parentdrm/nouveau/fifo/gk104: submit NOP after all PBDMA_INTR_0, not just DEVICE (diff)
downloadkernel-qcow2-linux-63f8c9b7f6b7d85e0fa942d0319f72df6aa188c3.tar.gz
kernel-qcow2-linux-63f8c9b7f6b7d85e0fa942d0319f72df6aa188c3.tar.xz
kernel-qcow2-linux-63f8c9b7f6b7d85e0fa942d0319f72df6aa188c3.zip
drm/nouveau/fifo/gk110: expose KeplerChannelGpfifoB
This class supports a WFI method (0x0078) that's not present on the KeplerChannelGpfifoA class. The binary driver exposes both classes on these GPUs for some reason, though there doesn't appear to be any difference in the setup that's done for each (ie. even if you allocate GpfifoA, the WFI method will still work). We shall just expose GpfifoB, as I don't see a good reason to report the presence of both. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_chan.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_chan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_chan.c b/drivers/gpu/drm/nouveau/nouveau_chan.c
index 9b62311f8429..879655c03ae9 100644
--- a/drivers/gpu/drm/nouveau/nouveau_chan.c
+++ b/drivers/gpu/drm/nouveau/nouveau_chan.c
@@ -192,6 +192,7 @@ nouveau_channel_ind(struct nouveau_drm *drm, struct nvif_device *device,
u32 engine, struct nouveau_channel **pchan)
{
static const u16 oclasses[] = { MAXWELL_CHANNEL_GPFIFO_A,
+ KEPLER_CHANNEL_GPFIFO_B,
KEPLER_CHANNEL_GPFIFO_A,
FERMI_CHANNEL_GPFIFO,
G82_CHANNEL_GPFIFO,