]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: shovel compute clock into crtc->config.dpll on ilk
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 20 Apr 2013 15:19:46 +0000 (17:19 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 25 Apr 2013 19:18:22 +0000 (21:18 +0200)
commitcefd029dd22171ee309d4c61256c9dd49c0d8d8d
tree8537ed0695fb6c8bb9a1c97e1e7c07eec09ed744
parent416b6c35d22418dc21afc0a6cbba4b7d7228dd39
drm/i915: shovel compute clock into crtc->config.dpll on ilk

This was somehow lost in the pipe_config->dpll introduction in

commit 9e539d27d3f5e5e1ee7f9cce7c146339bd6d9c2e
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Thu Mar 28 10:42:02 2013 +0100

    drm/i915: create pipe_config->dpll for clock state

While at it, extract a few small helpers for common computations.

v2: Use the newly added helpers more thanks to Ville's trick to
typedef the legacy intel_clock_t as the new-world struct dpll.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c