From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Ethan Hsieh <ethan.hsieh@canonical.com>
Cc: intel-gfx@lists.freedesktop.org, drm-intel-fixes@lists.freedesktop.org
Subject: Re: [PATCH] drm/i915: Set value of fake mst encoder's hpd pin
Date: Thu, 15 Jun 2017 13:27:38 +0300 [thread overview]
Message-ID: <20170615102738.GU12629@intel.com> (raw)
In-Reply-To: <1497490690-11281-1-git-send-email-ethan.hsieh@canonical.com>
On Thu, Jun 15, 2017 at 09:38:10AM +0800, Ethan Hsieh wrote:
> We receive hotplug event, but do not handle it. Set value of fake mst
> encoder's hpd pin to handle hotplug event.
We're not supposed to handle it like that. The HPD is for the main encoder,
the MST hotplug handling comes via the topology manager.
>
> Before applying the patch:
> [ 36.595058] [drm:intel_get_hpd_pins [i915]] hotplug event received, stat 0x00200000, dig 0x10101012, pins 0x00000020
> [ 36.595172] [drm:i915_hotplug_work_func [i915]] running encoder hotplug functions
>
> After applying the patch:
> [ 29.807410] [drm:intel_get_hpd_pins [i915]] hotplug event received, stat 0x00200000, dig 0x10101012, pins 0x00000020
> [ 29.807524] [drm:i915_hotplug_work_func [i915]] running encoder hotplug functions
> [ 30.086098] [drm:i915_hotplug_work_func [i915]] Connector DP-4 (pin 5) received hotplug event.
> [ 30.086123] [drm:i915_hotplug_work_func [i915]] [CONNECTOR:74:DP-4] status updated from connected to disconnected
> [ 30.086181] [drm:intel_dp_destroy_mst_connector [i915]]
> [ 30.087752] [drm:drm_helper_probe_single_connector_modes [drm_kms_helper]] [CONNECTOR:74:DP-4] disconnected
> [ 30.091979] [drm:drm_mode_setcrtc [drm]] [CRTC:39:pipe B]
>
> Signed-off-by: Ethan Hsieh <ethan.hsieh@canonical.com>
> ---
> drivers/gpu/drm/i915/intel_dp_mst.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/i915/intel_dp_mst.c b/drivers/gpu/drm/i915/intel_dp_mst.c
> index 3715386..2ef9f18 100644
> --- a/drivers/gpu/drm/i915/intel_dp_mst.c
> +++ b/drivers/gpu/drm/i915/intel_dp_mst.c
> @@ -563,6 +563,7 @@ intel_dp_create_fake_mst_encoder(struct intel_digital_port *intel_dig_port, enum
> intel_encoder->type = INTEL_OUTPUT_DP_MST;
> intel_encoder->power_domain = intel_dig_port->base.power_domain;
> intel_encoder->port = intel_dig_port->port;
> + intel_encoder->hpd_pin = intel_dig_port->base.hpd_pin;
> intel_encoder->crtc_mask = 0x7;
> intel_encoder->cloneable = 0;
>
> --
> 2.7.4
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Ville Syrjälä
Intel OTC
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
prev parent reply other threads:[~2017-06-15 10:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-15 1:38 [PATCH] drm/i915: Set value of fake mst encoder's hpd pin Ethan Hsieh
2017-06-15 2:00 ` ✓ Fi.CI.BAT: success for " Patchwork
2017-06-15 10:27 ` Ville Syrjälä [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=20170615102738.GU12629@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=drm-intel-fixes@lists.freedesktop.org \
--cc=ethan.hsieh@canonical.com \
--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;
as well as URLs for NNTP newsgroup(s).