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)
commit604db6509ddaa7df7765dbddc7b48036a2b31dfa
treebbba775a82d489af19a37154b02312409a57e371
parent5cb651a7959310ef4dbb0b93f005b10286789656
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