]> 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)
commit8baff8a8a6076032964c6b11d6281ef3c2fa0470
treee02c5dae7de89b28b7da93194820555ec9a3da49
parent248e9e4797f0d3de4a2bdf24312f3c06fef9f01d
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