Re: [PATCH] drm/i915: add INTEL_GEN() helper shorthand for INTEL_INFO()->gen

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

 



On Thu, Apr 07, 2016 at 12:48:17PM +0300, Jani Nikula wrote:
> Sudden realization:
> 
> $ grep -ho "INTEL_INFO([^)]*)->[a-zA-Z0-9_]*" *.[ch] | sed 's/.*->//' |\
>   sort | uniq -c | sort -rn | head -5
>   446 gen
>    24 num_pipes
>    10 ring_mask
>     9 color
>     4 subslice_per_slice

Yes, we did get a bit carried away over the years. In the beginning, it
was IS_G4X this, IS_IGDNG that and only rarely IS_GEN()!

Acked-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