All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: Zhenyu Wang <zhenyuw@linux.intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH 2/6] drm/i915/dp: Correctly report eDP in the core connector type
Date: Sun, 3 Oct 2010 08:04:58 -0700	[thread overview]
Message-ID: <20101003080458.0e6d2679@jbarnes-x201> (raw)
In-Reply-To: <20100902153726.GB22015@zhen-devel.sh.intel.com>

On Thu, 2 Sep 2010 23:37:26 +0800
Zhenyu Wang <zhenyuw@linux.intel.com> wrote:

> On 2010.07.16 14:46:28 -0400, Adam Jackson wrote:
> > +	if (output_reg == DP_A || IS_PCH_eDP(dp_priv)) {
> > +		type = DRM_MODE_CONNECTOR_eDP;
> > +		intel_encoder->type = INTEL_OUTPUT_EDP;
> > +	} else {
> > +		type = DRM_MODE_CONNECTOR_DisplayPort;
> > +		intel_encoder->type = INTEL_OUTPUT_DISPLAYPORT;
> > +	}
> > +
> 
> Adam, I believe this one causes regression on PCH eDP port as
> for bug 27220. It changes behavior in mode_set path to program
> FDI link properly. 
> 
> I think above part should be reverted for .36 kernel. What's your
> idea? 
> 
> Thanks Yakui to remind me about this recent change.

Did PCH eDP ever work?  I'll try going back to a kernel before this
change, but current code definitely seems broken (we get never try to
get a real clock value for PCH eDP, and I don't think we program the
transcoder regs at all).

Even with those fixed though (among other things), I haven't been able
to get my Vaio with switchable graphics working.  Which platforms did
you have working, and what changeset is most likely to work?

Thanks,
-- 
Jesse Barnes, Intel Open Source Technology Center

  reply	other threads:[~2010-10-03 15:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-16 18:46 [PATCH 1/6] drm/i915/dp: Rename has_edp to is_pch_edp to reflect its real meaning Adam Jackson
2010-07-16 18:46 ` [PATCH 2/6] drm/i915/dp: Correctly report eDP in the core connector type Adam Jackson
2010-09-02 15:37   ` Zhenyu Wang
2010-10-03 15:04     ` Jesse Barnes [this message]
2010-10-04 13:13       ` Jan-Hendrik Zab
2010-10-04 16:45         ` Jesse Barnes
2010-07-16 18:46 ` [PATCH 3/6] drm/i915: Initialize LVDS and eDP outputs before anything else Adam Jackson
2010-07-16 18:46 ` [PATCH 4/6] drm/i915/pch: Set transcoder sync polarity for DP based on actual mode Adam Jackson
2010-07-16 18:46 ` [PATCH 5/6] drm/i915/hdmi: Set sync polarity " Adam Jackson
2010-07-16 18:46 ` [PATCH 6/6] drm/i915/sdvo: " Adam Jackson
2010-08-02  2:38   ` Eric Anholt

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=20101003080458.0e6d2679@jbarnes-x201 \
    --to=jbarnes@virtuousgeek.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=zhenyuw@linux.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.