drm/i915: Enable/disable TMDS output buffers in DP++ adaptor as needed
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 2 May 2016 19:08:24 +0000 (22:08 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 9 May 2016 11:08:32 +0000 (14:08 +0300)
commitb2ccb822d376d1bbbe5d1f9118d1488b25e6bc6d
tree3c4f6195ef7b33e001604ed13962590b8ede4bbd
parentb1ba124d8e95cca48d33502a4a76b1ed09d213ce
drm/i915: Enable/disable TMDS output buffers in DP++ adaptor as needed

To save a bit of power, let's try to turn off the TMDS output buffers
in DP++ adaptors when we're not driving the port.

v2: Let's not forget DDI, toss in a debug message while at it
v3: Just do the TMDS output control based on adaptor type. With the
    helper getting passed the type, we wouldn't actually have to
    check at all in the driver, but the check eliminates the debug
    output more honest

Cc: stable@vger.kernel.org
Cc: Tore Anderson <tore@fud.no>
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Cc: Shashank Sharma <shashank.sharma@intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1462216105-20881-4-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Shashank Sharma <shashank.sharma@intel.com>
drivers/gpu/drm/i915/intel_ddi.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_hdmi.c