Re: [Intel-gfx] [PATCH 3/3] drm/i915: Store i915 pointer for userptr i915_mm_struct

2016-04-03 Thread Michał Winiarski
On Sun, Apr 03, 2016 at 06:14:07PM +0100, Chris Wilson wrote: > Since we only ever use the drm_i915_private from the stored > i915_mm_struct->dev, save some electons by storing the right > backpointer. > > Signed-off-by: Chris Wilson > Cc: Tvrtko Ursulin > Cc: Michał Winiarski s/electons/elect

[Intel-gfx] [PATCH 3/3] drm/i915: Store i915 pointer for userptr i915_mm_struct

2016-04-03 Thread Chris Wilson
Since we only ever use the drm_i915_private from the stored i915_mm_struct->dev, save some electons by storing the right backpointer. Signed-off-by: Chris Wilson Cc: Tvrtko Ursulin Cc: Michał Winiarski --- drivers/gpu/drm/i915/i915_gem_userptr.c | 10 +- 1 file changed, 5 insertions(+)