| Submitter | Herton Ronaldo Krzesinski |
|---|---|
| Date | Jan. 24, 2013, 5:52 p.m. |
| Message ID | <20130124175226.GC3038@herton-Z68MA-D2H-B3> |
| Download | mbox | patch |
| Permalink | /patch/215460/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/drivers/gpu/drm/nouveau/nv10_fence.c b/drivers/gpu/drm/nouveau/nv10_fence.c index 8a1b750..c20370c 100644 --- a/drivers/gpu/drm/nouveau/nv10_fence.c +++ b/drivers/gpu/drm/nouveau/nv10_fence.c @@ -155,6 +155,10 @@ nv10_fence_fini(struct drm_device *dev, int engine, bool suspend) static int nv10_fence_init(struct drm_device *dev, int engine) { + struct nv10_fence_priv *priv = nv_engine(dev, engine); + + if (priv->bo) + nouveau_bo_wr32(priv->bo, 0, priv->sequence); return 0; }