]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
drm/i915: remove stale comment from sanitize_encoder
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 21 Nov 2017 09:42:41 +0000 (10:42 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 23 Nov 2017 13:59:07 +0000 (14:59 +0100)
commit6a44e1772177ed9f987447bb6c601ee7451eeb52
tree4864c30e2c174a245a97dba676b7d67033b558ba
parent42e5e65765265485ecf2a480c244d76c2c624449
drm/i915: remove stale comment from sanitize_encoder

This goes back to pre-atomic, where due to intermediate dpms states
connectors and encoder states might indeed not have matched.

With atomic that's all smashed together (and hopefully no bios ever
enables a vga output in dpms standby/suspedn state or we're toast).
In

commit 873ffe69a9097fb241fff2967ea6f0bf2c179195
Author: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Date:   Wed Aug 5 12:37:07 2015 +0200

    drm/i915: Remove connectors_active from sanitization, v2.

sanitize_encoders was changed to disable the encoder in all cases,
which made the comment obsolete.

Remove the misleading comment.

Reported-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171121094241.9129-1-daniel.vetter@ffwll.ch
drivers/gpu/drm/i915/intel_display.c