aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_chan.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_chan.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_chan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_chan.c b/drivers/gpu/drm/nouveau/nouveau_chan.c
index 049c6b23e1d7..1363578bf945 100644
--- a/drivers/gpu/drm/nouveau/nouveau_chan.c
+++ b/drivers/gpu/drm/nouveau/nouveau_chan.c
@@ -346,7 +346,7 @@ nouveau_channel_init(struct nouveau_channel *chan, u32 vram, u32 gart)
346 /* allocate software object class (used for fences on <= nv05, and 346 /* allocate software object class (used for fences on <= nv05, and
347 * to signal flip completion), bind it to a subchannel. 347 * to signal flip completion), bind it to a subchannel.
348 */ 348 */
349 if (chan != chan->drm->cechan) { 349 if ((device->card_type < NV_E0) || gart /* nve0: want_nvsw */) {
350 ret = nouveau_object_new(nv_object(client), chan->handle, 350 ret = nouveau_object_new(nv_object(client), chan->handle,
351 NvSw, nouveau_abi16_swclass(chan->drm), 351 NvSw, nouveau_abi16_swclass(chan->drm),
352 NULL, 0, &object); 352 NULL, 0, &object);