drm/i915: Pass crtc state to modeset_get_crtc_power_domains.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 10 Feb 2016 12:49:36 +0000 (13:49 +0100)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 25 Feb 2016 07:59:05 +0000 (08:59 +0100)
commit74bff5f92740a9dab61c695b1726f1c7c312e724
tree99d4b65a1930cb7827eb0dc4a790130ee8e5b5ec
parent6831f3e3c640ad4ca3f93601a26ee4ecf210aefa
drm/i915: Pass crtc state to modeset_get_crtc_power_domains.

Use our newly created encoder_mask to iterate over the encoders.
This makes it possible to get the crtc power domains from the
crtc_state at any time, without any locks or having to look at
the legacy state.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1455108583-29227-2-git-send-email-maarten.lankhorst@linux.intel.com
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
drivers/gpu/drm/i915/intel_display.c