drm/i915: Unify VLV/CHV DPOunit clock gating disable/enable
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 18 Apr 2016 16:18:25 +0000 (19:18 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 27 Apr 2016 17:31:55 +0000 (20:31 +0300)
commitd1877c0f074e152f4578ca8dae7b4ce1e96eee6c
tree2442b68ff3689b7b8a5d6fc1fd8f80e7863748bb
parent64c050dbaeb8a03fe3cd3eaa4197cd9e64ffe405
drm/i915: Unify VLV/CHV DPOunit clock gating disable/enable

Check for VLV/CHV instead if !BXT when re-enabling DPOunit clock gating
after DSI disable. That's what we checked when disabling the clock
gating when enabling DSI.

Also use the same temporary variable name in both cases, and toss in a
bit of dev vs. dev_priv cleanup while at it.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1460996305-30453-1-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_dsi.c