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

Michał Winiarski michal.winiarski at intel.com
Sun Apr 3 21:12:26 UTC 2016


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 <chris at chris-wilson.co.uk>
> Cc: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> Cc: Michał Winiarski <michal.winiarski at intel.com>

s/electons/electrons ;)

Reviewed-by: Michał Winiarski <michal.winiarski at intel.com>

-Michał

> ---
>  drivers/gpu/drm/i915/i915_gem_userptr.c | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)


More information about the Intel-gfx mailing list