Re: [Intel-gfx] [PATCH 3/5] drm/i915: Create a USES_PPGTT macro

2014-01-26 Thread Daniel Vetter
On Sun, Jan 26, 2014 at 6:45 AM, Ben Widawsky wrote: >> > diff --git a/drivers/gpu/drm/i915/i915_drv.h >> > b/drivers/gpu/drm/i915/i915_drv.h >> > index e851a82..6f68515 100644 >> > --- a/drivers/gpu/drm/i915/i915_drv.h >> > +++ b/drivers/gpu/drm/i915/i915_drv.h >> > @@ -1844,6 +1844,7 @@ struct

Re: [Intel-gfx] [PATCH 3/5] drm/i915: Create a USES_PPGTT macro

2014-01-25 Thread Ben Widawsky
On Sat, Jan 25, 2014 at 09:41:22PM +0100, Daniel Vetter wrote: > On Fri, Jan 24, 2014 at 06:17:43PM -0800, Ben Widawsky wrote: > > There are cases where we want to know if there is a full, or aliased > > ppgtt. Having to always to the || is annoying. This shorthand will keep > > the code a bit clea

Re: [Intel-gfx] [PATCH 3/5] drm/i915: Create a USES_PPGTT macro

2014-01-25 Thread Daniel Vetter
On Fri, Jan 24, 2014 at 06:17:43PM -0800, Ben Widawsky wrote: > There are cases where we want to know if there is a full, or aliased > ppgtt. Having to always to the || is annoying. This shorthand will keep > the code a bit cleaner/easier to read. > > Signed-off-by: Ben Widawsky > --- > drivers/

[Intel-gfx] [PATCH 3/5] drm/i915: Create a USES_PPGTT macro

2014-01-24 Thread Ben Widawsky
There are cases where we want to know if there is a full, or aliased ppgtt. Having to always to the || is annoying. This shorthand will keep the code a bit cleaner/easier to read. Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/i915_drv.h | 1 + 1 file changed, 1 insertion(+) diff --git a/