Re: [Intel-gfx] [PATCH 07/13] drm/i915: Stop using gtt_total_entries

2013-01-17 Thread Ben Widawsky
On Fri, 18 Jan 2013 00:04:24 +0100 Daniel Vetter wrote: > On Thu, Jan 17, 2013 at 12:45:18PM -0800, Ben Widawsky wrote: > > Similar to gtt_mappable_entries we don't usually want the entries, > > it's easy enough to calculate it when you need. > > > > v2: Move relevant fields above pre-gen6 init

Re: [Intel-gfx] [PATCH 07/13] drm/i915: Stop using gtt_total_entries

2013-01-17 Thread Daniel Vetter
On Thu, Jan 17, 2013 at 12:45:18PM -0800, Ben Widawsky wrote: > Similar to gtt_mappable_entries we don't usually want the entries, > it's easy enough to calculate it when you need. > > v2: Move relevant fields above pre-gen6 init > > Reviewed-by: Rodrigo Vivi > Signed-off-by: Ben Widawsky [sni

[Intel-gfx] [PATCH 07/13] drm/i915: Stop using gtt_total_entries

2013-01-17 Thread Ben Widawsky
Similar to gtt_mappable_entries we don't usually want the entries, it's easy enough to calculate it when you need. v2: Move relevant fields above pre-gen6 init Reviewed-by: Rodrigo Vivi Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/i915_drv.h | 3 +++ drivers/gpu/drm/i915/i915_gem_

[Intel-gfx] [PATCH 07/13] drm/i915: Stop using gtt_total_entries

2013-01-15 Thread Ben Widawsky
Similar to gtt_mappable_entries we don't usually want the entries, it's easy enough to calculate it when you need. Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/i915_drv.h | 3 +++ drivers/gpu/drm/i915/i915_gem_gtt.c | 28 2 files changed, 19 insertions(+