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, 07 Apr 2016, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> wrote:
> 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>

Thanks, pushed to drm-intel-next-queued, everybody go wild and start
using it.

BR,
Jani.


-- 
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
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