drm/i915: Introduce and use intel_atomic_crtc_state_for_each_plane_state.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fri, 4 Oct 2019 11:34:53 +0000 (13:34 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 10 Oct 2019 14:01:03 +0000 (16:01 +0200)
commitaf9fbfa657c86dd0c5ee0e24da3e2da79353c0fb
tree8513ee9ae693e26a3b5e2b3c3678d0ad818a8587
parent9a3a41dfe2239abe65944cfa1f8cd3aff5a03944
drm/i915: Introduce and use intel_atomic_crtc_state_for_each_plane_state.

Instead of looking at drm_plane_state, look at intel_plane_state directly.

This will allow us to make the watermarks bigjoiner aware, when we make it
work for bigjoiner slave pipes as well.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191004113514.17064-4-maarten.lankhorst@linux.intel.com
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
drivers/gpu/drm/i915/display/intel_display.h
drivers/gpu/drm/i915/intel_pm.c