提交 f8656f0b 编写于 作者: B Ben Skeggs

drm/nouveau: use NULL file_priv for DRM-created channels

Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 3f0a68d8
......@@ -449,8 +449,8 @@ nouveau_card_init_channel(struct drm_device *dev)
struct drm_nouveau_private *dev_priv = dev->dev_private;
int ret;
ret = nouveau_channel_alloc(dev, &dev_priv->channel,
(struct drm_file *)-2, NvDmaFB, NvDmaTT);
ret = nouveau_channel_alloc(dev, &dev_priv->channel, NULL,
NvDmaFB, NvDmaTT);
if (ret)
return ret;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册