From: Ben Skeggs Date: Wed, 4 Aug 2010 07:24:57 +0000 (+1000) Subject: drm/nvc0: fix evo dma object so we display something X-Git-Tag: MMI-PSA29.97-13-9~22407^2~4^2~33 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0165d15dba2cec6ae2e6eb9c4eb6f2a5b38d4944;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git drm/nvc0: fix evo dma object so we display something Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nv50_display.c b/drivers/gpu/drm/nouveau/nv50_display.c index f13ad0de9c8f..612fa6d6a0cb 100644 --- a/drivers/gpu/drm/nouveau/nv50_display.c +++ b/drivers/gpu/drm/nouveau/nv50_display.c @@ -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;