mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
drm/nvc0: fix evo dma object so we display something
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
68b83a939c
commit
0165d15dba
1 changed files with 4 additions and 1 deletions
|
@ -76,7 +76,10 @@ nv50_evo_dmaobj_new(struct nouveau_channel *evo, uint32_t class, uint32_t name,
|
|||
nv_wo32(dev, obj, 2, offset);
|
||||
nv_wo32(dev, obj, 3, 0x00000000);
|
||||
nv_wo32(dev, obj, 4, 0x00000000);
|
||||
nv_wo32(dev, obj, 5, 0x00010000);
|
||||
if (dev_priv->card_type < NV_C0)
|
||||
nv_wo32(dev, obj, 5, 0x00010000);
|
||||
else
|
||||
nv_wo32(dev, obj, 5, 0x00020000);
|
||||
dev_priv->engine.instmem.flush(dev);
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue