OSDN Git Service

drm/i915: Move pll state commit into intel_modeset_update_state
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 3 Nov 2014 14:04:55 +0000 (15:04 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 7 Nov 2014 17:41:47 +0000 (18:41 +0100)
commitba41c0dec7786ca2d5f630d0f364c5f5331b34c1
tree67a197fad985a57f716336641bb4154c356d9864
parente9f1af393477bd4a60e23531b579b325cf1918da
drm/i915: Move pll state commit into intel_modeset_update_state

It's really part of the "push all new_* state into current state
pointers" done in that function. So let's move it there to make this
clear.

Also, with the conversion done the num_shared_dpll check the function
does in it's loop is enough, so we can drop the check for the dpll
compute callback, too.

Cc: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
drivers/gpu/drm/i915/intel_display.c