]> 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)
commit6ff4c7e590956d3eed804aaebf628316543b060d
tree7079246d6eeb57669180acef43097d5722e9043d
parentf9e00e217bb889bfe6dc13cd59f2337b095b10b8
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