[Intel-gfx] [PATCH] drm/i915: Cleanup i915_param()
Chris Wilson
chris at chris-wilson.co.uk
Fri Sep 2 11:29:08 UTC 2016
On Fri, Sep 02, 2016 at 01:46:17PM +0300, David Weinehall wrote:
> Rather than having a separate case for each value where we just return
> a hardcoded value = 1, we lump them all together and rely on the awesome
> case-fallthrough feature of C.
>
> Fix all feature macros to pass dev_priv instead of dev while at it,
> and use INTEL_GEN() instead of INTEL_INFO()->gen.
>
> 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