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)
commit171d156257eeb2ae4171adae3807700da724451d
treee02c5dae7de89b28b7da93194820555ec9a3da49
parent7ca60367dd5256e277c1d7fda8b15dcb33afc65b
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