public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Chris Wilson <chris@chris-wilson.co.uk>
To: Intel Graphics Development <intel-gfx@lists.freedesktop.org>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Subject: Re: [PATCH] drm/i915: don't probe oui for eDP panels
Date: Tue, 12 Jun 2012 11:34:09 +0100	[thread overview]
Message-ID: <1339497254_10789@CP5-2952> (raw)
In-Reply-To: <1339495367-24533-1-git-send-email-daniel.vetter@ffwll.ch>

On Tue, 12 Jun 2012 12:02:47 +0200, Daniel Vetter <daniel.vetter@ffwll.ch> wrote:
> At least not in the detect function. We'd need eDP vdd to do so if the
> panel is off, but I've figured just disabling it is easier.
> 
> This issue has been introduce in
> 
> commit 0d198328538276c4459ef5de081e68ae60e6c4c2
> Author: Adam Jackson <ajax@redhat.com>
> Date:   Mon May 14 16:05:47 2012 -0400
> 
>     drm/i915/dp: Probe branch/sink OUIs
> 
> Cc: Adam Jackson <ajax@redhat.com>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50808
> Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
> Bugreport: http://permalink.gmane.org/gmane.comp.video.dri.devel/69695
> Tested-by: Yang Guang <guang.a.yang@intel.com>
> Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
> ---
>  drivers/gpu/drm/i915/intel_dp.c |    3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
> index 296cfc2..34e1769 100644
> --- a/drivers/gpu/drm/i915/intel_dp.c
> +++ b/drivers/gpu/drm/i915/intel_dp.c
> @@ -1970,6 +1970,9 @@ intel_dp_probe_oui(struct intel_dp *intel_dp)
>  {
>  	u8 buf[3];
>  
> +	if (is_edp(intel_dp))
> +		return;

Can I be annoying and ask this be annotated that we bail here for
convenience and not due to lack of hw support? Otherwise we just add a
moment of confusion should we ever need to log oui for eDP. (If
manufacturers thought eDP -> LVDS dongles were a good idea, just imagine
the chain in a couple of years time...)
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre

  reply	other threads:[~2012-06-12 10:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-12 10:02 [PATCH] drm/i915: don't probe oui for eDP panels Daniel Vetter
2012-06-12 10:34 ` Chris Wilson [this message]
2012-06-12 11:11   ` [PATCH] drm/i915: eDP aux needs vdd Daniel Vetter
2012-06-12 11:17     ` Chris Wilson
2012-06-12 11:20   ` Daniel Vetter
2012-06-13 21:06     ` Daniel Vetter

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=1339497254_10789@CP5-2952 \
    --to=chris@chris-wilson.co.uk \
    --cc=daniel.vetter@ffwll.ch \
    --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