[Nouveau] [PATCH] drm/nouveau: fix suspend bug in nvc0 fence implementation

Marcin Slusarz marcin.slusarz at gmail.com
Tue Feb 19 13:17:26 PST 2013


On Tue, Feb 19, 2013 at 10:09:12PM +0100, Michael Weirauch wrote:
> 2013/2/19 Marcin Slusarz <marcin.slusarz at gmail.com>:
> > Yay. It will probably fix https://bugs.freedesktop.org/show_bug.cgi?id=59168.
> > (note: it doesn't apply on top of nouveau/master)
> 
> Please correct me if I am wrong, but doesn't nv84_fence_[resume,suspend]
> on current nouveau-3.8.0_rc7 (master) which is "used" by nvc0_fence.c
> "identical" to what this patch does?
> 
> nvc0_fence_create->
> nv84_fence_create sets up:
> 	priv->base.suspend = nv84_fence_suspend;
> 	priv->base.resume = nv84_fence_resume;
> 
> There is no dedicated nvc0_fence_[resume,suspend] impl from what I grasped.
> 
> c.f.:
> http://cgit.freedesktop.org/nouveau/linux-2.6/tree/drivers/gpu/drm/nouveau/nv84_fence.c#n178

This patch is only for 3.7 and 3.8 kernels. Nouveau/master contains refactored
fence code which will be submitted for 3.9.

Marcin


More information about the dri-devel mailing list