Re: [Intel-gfx] [PATCH 5/5] drm/i915: Use intel_fb_gtt_offset() also for gen2/3 primary plane

2016-11-08 Thread Ville Syrjälä
On Mon, Nov 07, 2016 at 09:20:05PM +, Chris Wilson wrote: > On Mon, Nov 07, 2016 at 10:20:57PM +0200, ville.syrj...@linux.intel.com wrote: > > From: Ville Syrjälä > > > > The code to determine the primary plane offset for gen2/3 looks > > different than the

Re: [Intel-gfx] [PATCH 5/5] drm/i915: Use intel_fb_gtt_offset() also for gen2/3 primary plane

2016-11-07 Thread Chris Wilson
On Mon, Nov 07, 2016 at 10:20:57PM +0200, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > The code to determine the primary plane offset for gen2/3 looks > different than the code for gen4+, but in fact it's doing the same > thing. Let's make it

[Intel-gfx] [PATCH 5/5] drm/i915: Use intel_fb_gtt_offset() also for gen2/3 primary plane

2016-11-07 Thread ville . syrjala
From: Ville Syrjälä The code to determine the primary plane offset for gen2/3 looks different than the code for gen4+, but in fact it's doing the same thing. Let's make it uniform. Allows us to eliminate the 'obj' from the list of local variables as well.