public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
To: Daniel Vetter <daniel.vetter@ffwll.ch>,
	Intel Graphics Development <intel-gfx@lists.freedesktop.org>
Cc: Daniel Vetter <daniel.vetter@intel.com>
Subject: Re: [PATCH] drm/i915: remove stale comment from sanitize_encoder
Date: Tue, 21 Nov 2017 11:01:09 +0100	[thread overview]
Message-ID: <b905518f-33c6-bbe4-c27d-01ae2790b2fa@linux.intel.com> (raw)
In-Reply-To: <20171121094241.9129-1-daniel.vetter@ffwll.ch>

Op 21-11-17 om 10:42 schreef Daniel Vetter:
> 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>
> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
> ---
>  drivers/gpu/drm/i915/intel_display.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> index 84817ccc5305..b16c563b453f 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -14860,8 +14860,6 @@ static void intel_sanitize_encoder(struct intel_encoder *encoder)
>  		connector->base.dpms = DRM_MODE_DPMS_OFF;
>  		connector->base.encoder = NULL;
>  	}
> -	/* Enabled encoders without active connectors will be fixed in
> -	 * the crtc fixup. */
>  }
>  
>  void i915_redisable_vga_power_on(struct drm_i915_private *dev_priv)

Lets hope so,

Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2017-11-21 10:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-21  9:42 [PATCH] drm/i915: remove stale comment from sanitize_encoder Daniel Vetter
2017-11-21 10:01 ` Maarten Lankhorst [this message]
2017-11-22  8:32   ` Daniel Vetter
2017-11-21 10:52 ` ✓ Fi.CI.BAT: success for " Patchwork
2017-11-21 12:10 ` ✗ Fi.CI.IGT: warning " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b905518f-33c6-bbe4-c27d-01ae2790b2fa@linux.intel.com \
    --to=maarten.lankhorst@linux.intel.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=daniel.vetter@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox