]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Handle cursor updating active_planes correctly, v2.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 20 Sep 2018 10:27:05 +0000 (12:27 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fri, 21 Sep 2018 17:12:05 +0000 (19:12 +0200)
commitc249c5f64336ca7f8b314c16dbf440b091514f50
tree7079246d6eeb57669180acef43097d5722e9043d
parenta1cccdcf330e2a59b72b1588a7ef87cbaaa8a4e9
drm/i915: Handle cursor updating active_planes correctly, v2.

While we may not update new_crtc_state, we may clear active_planes
if the new cursor update state will disable the cursor, but we fail
after. If this is immediately followed by a modeset disable, we may
soon not disable the planes correctly when we start depending on
active_planes.

Changes since v1:
- Clarify why we cannot swap crtc_state. (Matt)

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-3-maarten.lankhorst@linux.intel.com
drivers/gpu/drm/i915/intel_display.c