Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Wilson <chris@chris-wilson.co.uk>
To: Adam Jackson <ajax@redhat.com>, intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH 5/6] drm/i915: Delete a misleading comment
Date: Thu, 16 Jun 2011 21:53:32 +0100	[thread overview]
Message-ID: <f80fcd$i7hkh@fmsmga001.fm.intel.com> (raw)
In-Reply-To: <1308256588-8026-5-git-send-email-ajax@redhat.com>

On Thu, 16 Jun 2011 16:36:27 -0400, Adam Jackson <ajax@redhat.com> wrote:
> It's not wrong, but the text and the code describe different predicates
> and my brain kept stumbling over it.
> 
> Signed-off-by: Adam Jackson <ajax@redhat.com>
> ---
>  drivers/gpu/drm/i915/intel_sdvo.c |    5 +----
>  1 files changed, 1 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_sdvo.c b/drivers/gpu/drm/i915/intel_sdvo.c
> index 193919e..c2272f7 100644
> --- a/drivers/gpu/drm/i915/intel_sdvo.c
> +++ b/drivers/gpu/drm/i915/intel_sdvo.c
> @@ -1320,10 +1320,7 @@ intel_sdvo_tmds_sink_detect(struct drm_connector *connector)
>  			if (edid)
>  				break;
>  		}
> -		/*
> -		 * If we found the EDID on the other bus,
> -		 * assume that is the correct DDC bus.
> -		 */
> +

How about?

If we foudn the EDID on another bus, presume that is the correct DDC bus
and keep using that bus for future queries. Otherwise, restore the
original value.

>  		if (edid == NULL)
>  			intel_sdvo->ddc_bus = saved_ddc;
>  	}

-- 
Chris Wilson, Intel Open Source Technology Centre

  reply	other threads:[~2011-06-16 20:53 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-16 20:36 [PATCH 1/6] drm/i915: Remove "i2c_speed" nonsense from child device table Adam Jackson
2011-06-16 20:36 ` [PATCH 2/6] drm/i915: Fix multifunction SDVO detection Adam Jackson
2011-06-16 20:44   ` Chris Wilson
2011-06-16 20:36 ` [PATCH 3/6] drm/i915: Rename intel_sdvo_hdmi_sink_detect Adam Jackson
2011-06-16 20:46   ` Chris Wilson
2011-06-16 20:36 ` [PATCH 4/6] drm/i915: Try harder on multifunction SDVO DDC Adam Jackson
2011-06-16 20:58   ` Chris Wilson
2011-10-20 20:51     ` Keith Packard
2012-04-15 23:10   ` Daniel Vetter
2012-04-16 14:01     ` Adam Jackson
2011-06-16 20:36 ` [PATCH 5/6] drm/i915: Delete a misleading comment Adam Jackson
2011-06-16 20:53   ` Chris Wilson [this message]
2011-06-16 20:36 ` [PATCH 6/6] drm/i915: Remove redundant bit shifting from intel_gmbus_set_speed Adam Jackson
2011-06-16 20:55   ` Chris Wilson
2011-06-16 20:44 ` [PATCH 1/6] drm/i915: Remove "i2c_speed" nonsense from child device table Chris Wilson
2011-09-22 14:00 ` Adam Jackson
2011-09-22 18:24   ` Keith Packard
2011-09-22 18:34     ` Adam Jackson

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='f80fcd$i7hkh@fmsmga001.fm.intel.com' \
    --to=chris@chris-wilson.co.uk \
    --cc=ajax@redhat.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