OSDN Git Service

drm/i915: Remove redundant on stack dpll_hw_state from icl_get_dpll()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 7 Feb 2019 17:32:27 +0000 (19:32 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 19 Mar 2019 10:56:40 +0000 (12:56 +0200)
commitdc41e918d1597718857ab1d7a599c0f63eba8139
tree9091d08d24da9b1ae8b46887c0b9da0aa04a48f3
parent3d1ed35182a0fe8dbd72b3184052e074a12defd1
drm/i915: Remove redundant on stack dpll_hw_state from icl_get_dpll()

Just store the stuff directly into crtc_state->dpll_hw_state rather
than to a temp and copying the whole thing over.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190207173230.22368-10-ville.syrjala@linux.intel.com
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/i915/intel_dpll_mgr.c