]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Zero the mode in intel_sanitize_crtc when force disabling.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Tue, 14 Jul 2015 11:45:32 +0000 (13:45 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 14 Jul 2015 15:18:30 +0000 (17:18 +0200)
commit2d88b62b85d8a7878bd51e5bd7961536adb01b04
treec1d76290d4950bdc9fb8aad09e2ce609fbbb0488
parentc830a103f8bc7d7cada9d2e3f9dc7e99557aafcb
drm/i915: Zero the mode in intel_sanitize_crtc when force disabling.

There is a WARN_ON in drm_atomic_crtc_check for this when exposing the atomic property.
If the mode_blob still exists, but enable = false then all updates are rejected with -EINVAL.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c