drm/i915: Use new_config and new_enabled to simplify the VLV cdclk code
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 10 Jan 2014 09:28:08 +0000 (11:28 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 24 Jan 2014 16:22:42 +0000 (17:22 +0100)
commit2f2d7aa15499aaa8fb43c88f150e00923b0e0fee
treeb971c8b1c3207b3947572ee85e119e0f78998c6b
parent50741abcd1b022c6555925837601624ca5a238cd
drm/i915: Use new_config and new_enabled to simplify the VLV cdclk code

On VLV we need to compute the new cdclk before we've updated the current
state. The code achieved that in a somewhat complex way. Now that we
have new_enabled and new_config, we can simplify the code quite a bit.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c
This page took 0.029272 seconds and 5 git commands to generate.