intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@linux.intel.com>
To: "Paulo Zanoni" <przanoni@gmail.com>,
	"Ville Syrjälä" <ville.syrjala@linux.intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>,
	Intel Graphics Development <intel-gfx@lists.freedesktop.org>,
	Egbert Eich <eich@suse.com>
Subject: Re: [PATCH 17/17] drm/i915: Pass hpd_status_i915[] to intel_get_hpd_pins() in pre-g4x
Date: Wed, 02 Sep 2015 16:40:50 +0300	[thread overview]
Message-ID: <877fo92b31.fsf@intel.com> (raw)
In-Reply-To: <CA+gsUGR+4acd19+iiAVgvwShta=LCxyvkUfG4Yd+3i9rtCZOdA@mail.gmail.com>

On Sat, 29 Aug 2015, Paulo Zanoni <przanoni@gmail.com> wrote:
> 2015-08-27 17:56 GMT-03:00  <ville.syrjala@linux.intel.com>:
>> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
>>
>> Pass the correct hpd[] array to intel_get_hpd_pins() on pre-g4x
>> platforms.
>>
>> This got broken in the following commit:
>> commit fd63e2a972c670887e5e8a08440111d3812c0996
>> Author: Imre Deak <imre.deak@intel.com>
>> Date:   Tue Jul 21 15:32:44 2015 -0700
>>
>>     drm/i915: combine i9xx_get_hpd_pins and pch_get_hpd_pins
>
> The good & old "copy, paste, then adjust only one of the two variable
> names" error.
>
> Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>

Pushed this one patch to drm-intel-next-fixes, thanks for the patch and
review.

I took the liberty of adding Reviewed-by also from Egbert and Daniel, as
Egbert submitted an identical patch [1] which Daniel reviewed. Patch
selection was purely on a first come first applied basis.

BR,
Jani.

[1] http://mid.gmane.org/1441138895-23732-4-git-send-email-eich@suse.de


>
>>
>> Cc: Imre Deak <imre.deak@intel.com>
>> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
>> ---
>>  drivers/gpu/drm/i915/i915_irq.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
>> index 1a29dfd..9866739 100644
>> --- a/drivers/gpu/drm/i915/i915_irq.c
>> +++ b/drivers/gpu/drm/i915/i915_irq.c
>> @@ -1644,7 +1644,7 @@ static void i9xx_hpd_irq_handler(struct drm_device *dev)
>>                 u32 hotplug_trigger = hotplug_status & HOTPLUG_INT_STATUS_I915;
>>
>>                 intel_get_hpd_pins(&pin_mask, &long_mask, hotplug_trigger,
>> -                                  hotplug_trigger, hpd_status_g4x,
>> +                                  hotplug_trigger, hpd_status_i915,
>>                                    i9xx_port_hotplug_long_detect);
>>                 intel_hpd_irq_handler(dev, pin_mask, long_mask);
>>         }
>> --
>> 2.4.6
>>
>> _______________________________________________
>> Intel-gfx mailing list
>> Intel-gfx@lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
>
>
>
> -- 
> Paulo Zanoni
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2015-09-02 13:37 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-27 20:55 [PATCH v2 00/17] drm/i915: Port A HPD and other HPD cleanups ville.syrjala
2015-08-27 20:55 ` [PATCH v2 01/17] drm/i915: Clean up various HPD defines ville.syrjala
2015-08-27 20:55 ` [PATCH v2 02/17] drm/i915: Extract intel_hpd_enabled_irqs() ville.syrjala
2015-08-27 20:55 ` [PATCH v2 03/17] drm/i915: Factor out ilk_update_display_irq() ville.syrjala
2015-08-27 20:55 ` [PATCH 04/17] drm/i915: Add HAS_PCH_LPT_LP() macro ville.syrjala
2015-08-27 20:56 ` [PATCH 05/17] drm/i915: Rename BXT PORTA HPD defines ville.syrjala
2015-08-27 20:56 ` [PATCH 06/17] drm/i915: Move {pin, long}_mask initialization to caller from intel_get_hpd_pins() ville.syrjala
2015-08-28 18:01   ` Paulo Zanoni
2015-08-28 18:25     ` Ville Syrjälä
2015-08-28 18:26   ` [PATCH v2 " ville.syrjala
2015-08-27 20:56 ` [PATCH v2 07/17] drm/i915: Introduce spt_irq_handler() ville.syrjala
2015-08-28 18:20   ` Paulo Zanoni
2015-08-28 18:29     ` Ville Syrjälä
2015-08-27 20:56 ` [PATCH v2 08/17] drm/i915: Add port A HPD support for ILK/SNB ville.syrjala
2015-08-27 20:56 ` [PATCH v2 09/17] drm/i915: Add port A HPD support for IVB/HSW ville.syrjala
2015-08-27 20:56 ` [PATCH v2 10/17] drm/i915: LPT:LP needs port A HPD enabled in both north and south ville.syrjala
2015-08-27 20:56 ` [PATCH v2 11/17] drm/i915: Add port A HPD support for BDW ville.syrjala
2015-08-28 20:51   ` Paulo Zanoni
2015-08-27 20:56 ` [PATCH 12/17] drm/i915: Add port A HPD support for SPT ville.syrjala
2015-08-27 20:56 ` [PATCH 13/17] drm/i915: Reinitialize HPD after runtime D3 ville.syrjala
2015-08-27 20:56 ` [PATCH 14/17] drm/i915: Rewrite bxt_hpd_handler() to look like everyone else ville.syrjala
2015-08-28 21:01   ` Paulo Zanoni
2015-08-27 20:56 ` [PATCH 15/17] drm/i915: Refactor the hpd irq handling functions ville.syrjala
2015-08-28 21:32   ` Paulo Zanoni
2015-08-27 20:56 ` [PATCH 16/17] drm/i915: Rewrite BXT HPD code to conform to pre-existing style ville.syrjala
2015-08-28 22:04   ` Paulo Zanoni
2015-08-27 20:56 ` [PATCH 17/17] drm/i915: Pass hpd_status_i915[] to intel_get_hpd_pins() in pre-g4x ville.syrjala
2015-08-28 22:10   ` Paulo Zanoni
2015-09-02 13:40     ` Jani Nikula [this message]
2015-08-30  2:01   ` shuang.he
2015-08-28 11:38 ` [PATCH v2 00/17] drm/i915: Port A HPD and other HPD cleanups Ville Syrjälä
2015-08-28 19:59 ` [PATCH 18/17] drm/i915: Don't call intel_get_hpd_pins() when there's no hotplug interrupt ville.syrjala
2015-08-28 22:15   ` Paulo Zanoni
2015-09-02 15:10     ` 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=877fo92b31.fsf@intel.com \
    --to=jani.nikula@linux.intel.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=eich@suse.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=przanoni@gmail.com \
    --cc=ville.syrjala@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).