public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Daniel Vetter <daniel@ffwll.ch>
To: "Jindal, Sonika" <sonika.jindal@intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>,
	Intel Graphics Development <intel-gfx@lists.freedesktop.org>
Subject: Re: [PATCH] drm/i915: mdelay(10) considered harmful
Date: Wed, 16 Dec 2015 09:53:16 +0100	[thread overview]
Message-ID: <20151216085316.GF30437@phenom.ffwll.local> (raw)
In-Reply-To: <566E7FC3.2060804@intel.com>

On Mon, Dec 14, 2015 at 02:07:23PM +0530, Jindal, Sonika wrote:
> %s/cpy/cpu
> 
> Reviewed-by: Sonika Jindal <sonika.jindal@intel.com>

Queued for -next, thanks for the review.
-Daniel

> 
> On 12/12/2015 12:14 AM, Daniel Vetter wrote:
> >I missed this myself when reviewing
> >
> >commit 237ed86c693d8a8e4db476976aeb30df4deac74b
> >Author: Sonika Jindal <sonika.jindal@intel.com>
> >Date:   Tue Sep 15 09:44:20 2015 +0530
> >
> >     drm/i915: Check live status before reading edid
> >
> >Long sleeps like this really shouldn't waste cpy cycles spinning.
> >
> >Cc: Sonika Jindal <sonika.jindal@intel.com>
> >Cc: "Wang, Gary C" <gary.c.wang@intel.com>
> >Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
> >---
> >  drivers/gpu/drm/i915/intel_hdmi.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> >diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi.c
> >index c3978bad5ca0..b0a5a883227c 100644
> >--- a/drivers/gpu/drm/i915/intel_hdmi.c
> >+++ b/drivers/gpu/drm/i915/intel_hdmi.c
> >@@ -1397,7 +1397,7 @@ intel_hdmi_detect(struct drm_connector *connector, bool force)
> >  	while (!live_status && --retry) {
> >  		live_status = intel_digital_port_connected(dev_priv,
> >  				hdmi_to_dig_port(intel_hdmi));
> >-		mdelay(10);
> >+		msleep(10);
> >  	}
> >  	if (!live_status)
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

      reply	other threads:[~2015-12-16  8:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-11 18:44 [PATCH] drm/i915: mdelay(10) considered harmful Daniel Vetter
2015-12-11 20:54 ` Chris Wilson
2015-12-14  8:37 ` Jindal, Sonika
2015-12-16  8:53   ` Daniel Vetter [this message]

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=20151216085316.GF30437@phenom.ffwll.local \
    --to=daniel@ffwll.ch \
    --cc=daniel.vetter@ffwll.ch \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=sonika.jindal@intel.com \
    /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