]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Refactor LPT-H VGA dotclock disabling
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 4 Dec 2015 20:21:34 +0000 (22:21 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 8 Dec 2015 14:30:21 +0000 (16:30 +0200)
commitf9e02e80eb649743eb9bfd24af67f7c6e627ab7c
tree592b8b54bcbb373af5d0e157633ba8bc635c59fc
parent87740f74b80ca98e23e117197939569009bd5bb6
drm/i915: Refactor LPT-H VGA dotclock disabling

Extract the LPT-H VGA dotclock disable to a separate function in
anticipation of further use.

While at it move the sb_lock locking inwards when enabling the VGA
dotclock, as it's only needed to protect the sideband accesses.

v2: Keep the PIXCLK_GATE_GATE name for 0 (Paulo)

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1449260494-14449-1-git-send-email-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_display.c