]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: add INTEL_GEN() helper shorthand for INTEL_INFO()->gen
authorJani Nikula <jani.nikula@intel.com>
Thu, 7 Apr 2016 09:48:17 +0000 (12:48 +0300)
committerJani Nikula <jani.nikula@intel.com>
Wed, 13 Apr 2016 11:36:14 +0000 (14:36 +0300)
commit3f10e82fe10d87d2fd558ef51c34abaf2ee538d2
tree47d763f9f9e43da15763b7b9a8d10224f0337686
parent7d774cacf0b5d9fc4abac00fd25df09d019619f9
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
drivers/gpu/drm/i915/i915_drv.h