[Intel-gfx] [PATCH 4/4] drm/i915: pdev cleanup

Chris Wilson chris at chris-wilson.co.uk
Mon Aug 1 19:03:22 UTC 2016


On Mon, Aug 01, 2016 at 06:38:55PM +0300, David Weinehall wrote:
> In an effort to simplify things for a future push of dev_priv instead
> of dev wherever possible, always take pdev via dev_priv where
> feasible, eliminating the direct access from dev. Right now this
> only eliminates a few cases of dev, but it also obviates that we pass
> dev into a lot of functions where dev_priv would be the more obvious
> choice.
> 
> Signed-off-by: David Weinehall <david.weinehall at linux.intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list