]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Simplify i830 DVO 2x clock handling
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 5 Mar 2019 19:24:00 +0000 (21:24 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 6 Mar 2019 15:23:27 +0000 (17:23 +0200)
commit44db7ebe72bd8ff11a0e39a451ce671dd5011003
treee02c5dae7de89b28b7da93194820555ec9a3da49
parent1e3b4890f4ad39d91e4c651c485db4ce194c142c
drm/i915: Simplify i830 DVO 2x clock handling

Let's just always enable the DVO 2x clock on i830. This way we don't
have to track if DVO is being used or not. The spec does suggest we
should disable the clock when it isn't needed, but this does appear
to work just fine.

This removes another crtc->config usage.

v2: Split the DPLL enable sequence change to a separate patch

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> #v1
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190305192400.23121-2-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_display.c