]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Reduce trickery in DEV_INFO_FOR_EACH_FLAG
authorJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Wed, 5 Oct 2016 10:50:16 +0000 (13:50 +0300)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Wed, 5 Oct 2016 12:24:54 +0000 (15:24 +0300)
commit0ac45536cdfb2587311ef3cdc10aec12babdf187
treebbba775a82d489af19a37154b02312409a57e371
parent9bf4408b23d3e4368140bf130ffa6b7313026501
drm/i915: Reduce trickery in DEV_INFO_FOR_EACH_FLAG

Get rid of SEP_SEMICOLON and SEP_BLANK in DEV_INFO_FOR_EACH_FLAG.
Consolidate the debug output so that instead of one huge line with
"cap1,cap2,capN" each capability is split to own line and displayed
as "capN: [yes|no]" to make the dumps more historically informative.

v2:
- Do not break auto-indent by keeping semicolon after macro (Jani)
- Consolidate and use yesno() in all locations (Chris)

Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gpu_error.c
drivers/gpu/drm/i915/intel_device_info.c