Re: [PATCH] drm/i915: Cleanup i915_param()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx>
Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux