diff options
-rw-r--r-- | drivers/gpu/drm/nouveau/nv50_display.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nv50_display.c b/drivers/gpu/drm/nouveau/nv50_display.c index 7a1aa9161982..2c2c64507661 100644 --- a/drivers/gpu/drm/nouveau/nv50_display.c +++ b/drivers/gpu/drm/nouveau/nv50_display.c | |||
@@ -1726,6 +1726,11 @@ nv50_head_core_set(struct nv50_head *head, struct nv50_head_atom *asyh) | |||
1726 | evo_data(push, asyh->core.handle); | 1726 | evo_data(push, asyh->core.handle); |
1727 | evo_mthd(push, 0x08c0 + head->base.index * 0x400, 1); | 1727 | evo_mthd(push, 0x08c0 + head->base.index * 0x400, 1); |
1728 | evo_data(push, (asyh->core.y << 16) | asyh->core.x); | 1728 | evo_data(push, (asyh->core.y << 16) | asyh->core.x); |
1729 | /* EVO will complain with INVALID_STATE if we have an | ||
1730 | * active cursor and (re)specify HeadSetContextDmaIso | ||
1731 | * without also updating HeadSetOffsetCursor. | ||
1732 | */ | ||
1733 | asyh->set.curs = asyh->curs.visible; | ||
1729 | } else | 1734 | } else |
1730 | if (core->base.user.oclass < GF110_DISP_CORE_CHANNEL_DMA) { | 1735 | if (core->base.user.oclass < GF110_DISP_CORE_CHANNEL_DMA) { |
1731 | evo_mthd(push, 0x0860 + head->base.index * 0x400, 1); | 1736 | evo_mthd(push, 0x0860 + head->base.index * 0x400, 1); |