Commit a1020afe authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau: add support for gm20x fifo channels

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 89025bd4
...@@ -184,7 +184,8 @@ static int ...@@ -184,7 +184,8 @@ static int
nouveau_channel_ind(struct nouveau_drm *drm, struct nvif_device *device, nouveau_channel_ind(struct nouveau_drm *drm, struct nvif_device *device,
u32 handle, u32 engine, struct nouveau_channel **pchan) u32 handle, u32 engine, struct nouveau_channel **pchan)
{ {
static const u16 oclasses[] = { KEPLER_CHANNEL_GPFIFO_A, static const u16 oclasses[] = { MAXWELL_CHANNEL_GPFIFO_A,
KEPLER_CHANNEL_GPFIFO_A,
FERMI_CHANNEL_GPFIFO, FERMI_CHANNEL_GPFIFO,
G82_CHANNEL_GPFIFO, G82_CHANNEL_GPFIFO,
NV50_CHANNEL_GPFIFO, NV50_CHANNEL_GPFIFO,
......
...@@ -181,6 +181,7 @@ nouveau_accel_init(struct nouveau_drm *drm) ...@@ -181,6 +181,7 @@ nouveau_accel_init(struct nouveau_drm *drm)
break; break;
case FERMI_CHANNEL_GPFIFO: case FERMI_CHANNEL_GPFIFO:
case KEPLER_CHANNEL_GPFIFO_A: case KEPLER_CHANNEL_GPFIFO_A:
case MAXWELL_CHANNEL_GPFIFO_A:
ret = nvc0_fence_create(drm); ret = nvc0_fence_create(drm);
break; break;
default: default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment