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

Chris Wilson chris at chris-wilson.co.uk
Fri Aug 12 12:15:45 UTC 2016


On Fri, Aug 12, 2016 at 02:10:07PM +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.
> 
> v2: Rebase
> 
> 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