drm/i915: abstract ddi being audio enabled
authorLibin Yang <libin.yang@intel.com>
Mon, 28 Nov 2016 12:07:06 +0000 (20:07 +0800)
committerJani Nikula <jani.nikula@intel.com>
Tue, 29 Nov 2016 15:41:46 +0000 (17:41 +0200)
commit9935f7fa2854355203e3976762eecfb218079aac
tree0033c2fe603c8f61c91ef1b642ce916bb1cebe9c
parent9a148a96fc3a654ddcf142a7ab7db37b972ba5d8
drm/i915: abstract ddi being audio enabled

Prepare for using the same code for judging ddi being audio enabled.
No functional changes.

Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Signed-off-by: Libin Yang <libin.yang@intel.com>
Reviewed-by: Lyude <cpaul@redhat.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1480334827-112273-2-git-send-email-libin.yang@intel.com
drivers/gpu/drm/i915/intel_ddi.c
drivers/gpu/drm/i915/intel_drv.h