]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Only touch WRPLL hw state in enable/disable hooks
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 25 Jun 2014 19:02:03 +0000 (22:02 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 10 Jul 2014 20:13:31 +0000 (22:13 +0200)
commit23cc7198a5922e365a7d2f0b24b09508d744807b
tree6297999ad809760fdde59de8f77362763a1f008d
parent6da104a51c420b6132cdfce4cb4e9d468c483416
drm/i915: Only touch WRPLL hw state in enable/disable hooks

To be able to do this we need to separately keep track of how many
crtcs need a given WRPLL and how many actually actively use it. The
common shared dpll framework already has all this, including massive
state readout and cross checking. Which allows us to do this switch in
a fairly small patch.

Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ddi.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h