Re: [Intel-gfx] [PATCH 07/15] drm/i915: clean up PPGTT checking logic

2014-08-06 Thread Daniel Vetter
On Tue, Aug 05, 2014 at 07:51:18AM -0700, Rodrigo Vivi wrote: > From: Jesse Barnes > > sanitize_enable_ppgtt is the function that checks all the conditions, > honoring a forced ppgtt status or doing auto-detect as necessary. Just > make sure it returns the right value in all cases and use that i

[Intel-gfx] [PATCH 07/15] drm/i915: clean up PPGTT checking logic

2014-08-05 Thread Rodrigo Vivi
From: Jesse Barnes sanitize_enable_ppgtt is the function that checks all the conditions, honoring a forced ppgtt status or doing auto-detect as necessary. Just make sure it returns the right value in all cases and use that in the macros instead of the confusing intel_enable_ppgtt() function. Si