drm/i915: Introduce new intel_output_name()
authorDamien Lespiau <damien.lespiau@intel.com>
Wed, 8 Jan 2014 14:18:23 +0000 (14:18 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 10 Jan 2014 16:58:03 +0000 (17:58 +0100)
commitba0fbca474939e9b4086796ddcca1510f303a60b
tree033d392acfb7c25b3245488e43272843d65862ec
parent5a65f3582e011d0de947420b89c13442a2fda5b8
drm/i915: Introduce new intel_output_name()

That we can use for debugging purposes.

v2: Use designated initializers for the 'names' array (Paulo Zanoni,
    Jani Nikula).
    Add a check in case the array has a hole (which can now remain
    unnoticed with designated initializers) (Jani Nikula)

Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com> (for v1)
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h