[Nouveau] [RFC PATCH 5/5] drm/nouveau: gpu lockup recovery

Marcin Slusarz marcin.slusarz at gmail.com
Mon Apr 23 10:33:19 PDT 2012


On Mon, Apr 23, 2012 at 06:46:41PM +0200, Martin Peres wrote:
> Hey,
> 
> Just a minor mistake spotted while skimming through the patch.
> 
> Le 23/04/2012 00:18, Marcin Slusarz a écrit :
> > +static inline uint64_t nv_timeout(struct drm_device *dev)
> > +{
> > +	uint64_t tm = 2000000000ULL;
> > +	if (nouveau_gpu_reset_in_progress(dev))
> > +		tm /= 40; /* 50ms */
> This will cause a problem on 32 bit kernels. You should use do_div.
> 

Thanks. I'll fix this later.

Marcin


More information about the Nouveau mailing list