]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/i915: Disable all planes for load detection, v2.
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 20 Dec 2017 09:35:45 +0000 (10:35 +0100)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 21 Dec 2017 09:50:24 +0000 (10:50 +0100)
commit20bdc112bbe4c86e1293852bb11d56f8928a4c6d
treeb7970364d4f932655abca8cdd98f1f6cf14627ac
parentf0cbd8bd877f3d8c5b80a6b1add9ca9010d7f9d8
drm/i915: Disable all planes for load detection, v2.

We don't need any active planes during load detection, so just disable
them all. This saves us from having to come up with a suitable
framebuffer. And we also avoid leaving sprite/cursor planes on and
potentially presenting them at a peculiar location during the load
detection.

Changes since v1 (Maarten):
- Add missing call to add_all_affected_planes.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102707
Link: https://patchwork.freedesktop.org/patch/msgid/20171220093545.613-4-maarten.lankhorst@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c