[Intel-gfx] [RFC] Convert INTEL_INFO(...)->gen to INTEL_GEN(...)

Jani Nikula jani.nikula at intel.com
Fri Apr 8 08:24:25 UTC 2016


On Thu, 07 Apr 2016, Dave Gordon <david.s.gordon at intel.com> wrote:
> Since Jani has given us this macro, I thought I'd make use of it by
> converting all existing instances of this construct with a really
> simple little Coccinelle script:
>
> @intel_gen@
>     expression E;
> @@
>     <...
> -   INTEL_INFO(E)->gen
> +   INTEL_GEN(E)
>     ...>

I intentionally did not do this because I think it causes more trouble
than it's worth. Basically this will conflict with roughly all patches
currently in flight. Yes, I admit I did tell people to go wild, but
please let's do this piecemeal.


BR,
Jani.


-- 
Jani Nikula, Intel Open Source Technology Center


More information about the Intel-gfx mailing list