commit | 3f10e82fe10d87d2fd558ef51c34abaf2ee538d2 | [log] [tgz] |
---|---|---|
author | Jani Nikula <jani.nikula@intel.com> | Thu Apr 07 12:48:17 2016 +0300 |
committer | Jani Nikula <jani.nikula@intel.com> | Wed Apr 13 14:36:14 2016 +0300 |
tree | 47d763f9f9e43da15763b7b9a8d10224f0337686 | |
parent | 7d774cacf0b5d9fc4abac00fd25df09d019619f9 [diff] |
drm/i915: add INTEL_GEN() helper shorthand for INTEL_INFO()->gen 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 Acked-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1460022497-29304-1-git-send-email-jani.nikula@intel.com