All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Vetter <daniel.vetter@ffwll.ch>
To: Egbert Eich <eich@suse.com>
Cc: Egbert Eich <eich@suse.de>,
	Intel Graphics Development <intel-gfx@lists.freedesktop.org>
Subject: Re: [PATCH] drm/i915: implement ibx_hpd_irq_setup
Date: Mon, 1 Apr 2013 20:13:54 +0200	[thread overview]
Message-ID: <CAKMK7uH2aUFCs8o66bSEgk6P6tPx6B+tedco+7P0bo7t2Rk_NQ@mail.gmail.com> (raw)
In-Reply-To: <20821.49894.224817.938315@linux-qknr.site>

On Fri, Mar 29, 2013 at 5:35 PM, Egbert Eich <eich@suse.com> wrote:
> Daniel Vetter writes:
>  > diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
>  > index 43436e0..1279a44 100644
>  > --- a/drivers/gpu/drm/i915/i915_irq.c
>  > +++ b/drivers/gpu/drm/i915/i915_irq.c
>  > @@ -2084,7 +2084,7 @@ static void ibx_enable_hotplug(struct drm_device *dev)
>  >      I915_WRITE(PCH_PORT_HOTPLUG, hotplug);
>  >  }
>  >
>  > -static void ibx_irq_postinstall(struct drm_device *dev)
>  > +static void ibx_hpd_irq_setup(struct drm_device *dev)
>  >  {
>  >      drm_i915_private_t *dev_priv = (drm_i915_private_t *) dev->dev_private;
>  >      struct drm_mode_config *mode_config = &dev->mode_config;
>  > @@ -2095,12 +2095,10 @@ static void ibx_irq_postinstall(struct drm_device *dev)
>  >              mask &= ~SDE_HOTPLUG_MASK;
>                 ^^^^^^^^^^^^^^^^^^^^^^^
> I'm missing those lines in the committed version of the patch.
>
>  >              list_for_each_entry(intel_encoder, &mode_config->encoder_list, base.head)
>  >                      mask |= hpd_ibx[intel_encoder->hpd_pin];
>  > -            mask |= SDE_GMBUS | SDE_AUX_MASK;
>  >      } else {
>  >              mask &= ~SDE_HOTPLUG_MASK_CPT;
>                 ^^^^^^^^^^^^^^^^^^^^^^^
>  >              list_for_each_entry(intel_encoder, &mode_config->encoder_list, base.head)
>  >                      mask |= hpd_cpt[intel_encoder->hpd_pin];
>  > -            mask |= SDE_GMBUS_CPT | SDE_AUX_MASK_CPT;
>  >      }
>  >      I915_WRITE(SDEIIR, I915_READ(SDEIIR));
>
> These are not really relevant in the present code, however they are
> important once I've got the hotplug stuff refitted as one needs to be
> able to turn off individual interrupts.
> I'm going to prepare a commit for this and will send it with the hpd
> irq storm patches.

Yeah, makes sense now that I think about it - I've simply didn't look
ahead in your patch series while writing this little fixup ;-) Can you
just re-add this when resending your patches again please?

Thanks, Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch

  reply	other threads:[~2013-04-01 18:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-26 23:44 [PATCH] drm/i915: implement ibx_hpd_irq_setup Daniel Vetter
2013-03-27 14:03 ` Ville Syrjälä
2013-03-27 14:47   ` [PATCH] drm/i915: clear crt hotplug compare voltage field before setting Daniel Vetter
2013-03-27 15:02     ` Ville Syrjälä
2013-03-27 15:41       ` Daniel Vetter
2013-03-27 14:55   ` [PATCH] drm/i915: implement ibx_hpd_irq_setup Daniel Vetter
2013-03-27 15:05     ` Ville Syrjälä
2013-03-27 15:42       ` Daniel Vetter
2013-03-29 16:35 ` Egbert Eich
2013-04-01 18:13   ` Daniel Vetter [this message]
2013-04-02  8:49     ` Egbert Eich

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=CAKMK7uH2aUFCs8o66bSEgk6P6tPx6B+tedco+7P0bo7t2Rk_NQ@mail.gmail.com \
    --to=daniel.vetter@ffwll.ch \
    --cc=eich@suse.com \
    --cc=eich@suse.de \
    --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 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.