mirror of https://gitee.com/openkylin/linux.git
drm/nouveau: oops, create m2mf for nvd9 too
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
3fa016a0b5
commit
4a206ffc0b
|
@ -642,7 +642,7 @@ nouveau_card_channel_init(struct drm_device *dev)
|
||||||
OUT_RING (chan, chan->vram_handle);
|
OUT_RING (chan, chan->vram_handle);
|
||||||
OUT_RING (chan, chan->gart_handle);
|
OUT_RING (chan, chan->gart_handle);
|
||||||
} else
|
} else
|
||||||
if (dev_priv->card_type <= NV_C0) {
|
if (dev_priv->card_type <= NV_D0) {
|
||||||
ret = nouveau_gpuobj_gr_new(chan, 0x9039, 0x9039);
|
ret = nouveau_gpuobj_gr_new(chan, 0x9039, 0x9039);
|
||||||
if (ret)
|
if (ret)
|
||||||
goto error;
|
goto error;
|
||||||
|
|
Loading…
Reference in New Issue