diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2018-09-20 12:27:07 +0200 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2018-09-21 19:18:19 +0200 |
commit | f59e9701dbdc275a3042e1357574e0e1779b3082 (patch) | |
tree | 8f1397a0db3a3a4dffb7f9a4752fb73a31640c11 /drivers/gpu/drm/i915/intel_atomic_plane.c | |
parent | 62ef0dd3cc0c217c3d58a1e92577c66c08598f7b (diff) |
drm/i915: Make intel_crtc_disable_planes() use active planes mask.
This will only disable planes we actually had marked as visible in
crtc_state->visible_planes and cleans up intel_crtc_disable_plane()
slightly.
This is also useful for when we start enabling NV12 support for gen11,
in which we will make the separate Y plane visible, but ignore the
Y plane's state.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180920102711.4184-5-maarten.lankhorst@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_atomic_plane.c')
0 files changed, 0 insertions, 0 deletions