[Intel-gfx] [PATCH] drm/i915: prefer INTEL_GEN(dev_priv) to INTEL_INFO(dev)->gen

Jani Nikula jani.nikula at linux.intel.com
Tue Sep 13 09:10:48 UTC 2016


On Sat, 10 Sep 2016, Dave Gordon <david.s.gordon at intel.com> wrote:
> Thanks, the other things I was thinking of fixing in the remaining files 
> were generally things like
>
>    if (INTEL_INFO(dev)->gen < 5 || IS_G33(dev))

Is that a real or a made up example? IS_G33() would be redundant. But
I'd like to see the semantic patch to fix that! ;)

BR,
Jani.


-- 
Jani Nikula, Intel Open Source Technology Center


More information about the Intel-gfx mailing list