From: Jani Nikula <jani.nikula@linux.intel.com>
To: Ville Syrjala <ville.syrjala@linux.intel.com>,
intel-gfx@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH 00/10] drm/i915: Prep work for vbt.ports[] nukage
Date: Mon, 13 Feb 2023 18:11:05 +0200 [thread overview]
Message-ID: <87k00lv946.fsf@intel.com> (raw)
In-Reply-To: <20230208015508.24824-1-ville.syrjala@linux.intel.com>
On Wed, 08 Feb 2023, Ville Syrjala <ville.syrjala@linux.intel.com> wrote:
> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
>
> We need to get rid of the vbt.ports[] array. The main
> reason being the bogus VBTs found on many ADL laptops
> that declare both eDP+HDMI child devices for the same
> port. The goal is to probe each of those in order and
> stick to the first one that works. But the vbt.ports[]
> array gets populated before we do any output probing
> and, being indexed with the port, can't handle any
> aliasing child devices.
>
> Here's a bit of prep work to reduce our reliance on
> vbt.ports[], mainly by expanding the encoder->devdata
> (a direct pointer to the correct vbt child device from
> the encoder) usage.
On the series,
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
with some nitpicks on commit messages.
>
> Ville Syrjälä (10):
> drm/i915: Pass the whole encoder to hotplug_enables()
> drm/i915: Move variables to loop context
> drm/i915: Replace intel_bios_is_lspcon_present() with
> intel_bios_encoder_is_lspcon()
> drm/i915: Replace intel_bios_is_lane_reversal_needed() with
> intel_bios_encoder_lane_reversal()
> drm/i915: Replace intel_bios_is_port_hpd_inverted() with
> intel_bios_encoder_hpd_invert()
> drm/i915: Consult the registested encoders for the ICL combo PHY w/a
> drm/i915: Populate encoder->devdata for g4x+ DP/HDMI ports
> drm/i915: Pass devdata to intel_bios_port_aux_ch()
> drm/i915: Iterate all child devs in intel_bios_is_port_present()
> drm/i915: Use encoder->devdata in eDP init
>
> drivers/gpu/drm/i915/display/g4x_dp.c | 12 +-
> drivers/gpu/drm/i915/display/g4x_hdmi.c | 12 +-
> drivers/gpu/drm/i915/display/intel_bios.c | 128 ++++++------------
> drivers/gpu/drm/i915/display/intel_bios.h | 14 +-
> drivers/gpu/drm/i915/display/intel_ddi.c | 6 +-
> .../i915/display/intel_display_power_well.c | 15 +-
> drivers/gpu/drm/i915/display/intel_dp.c | 30 ++--
> drivers/gpu/drm/i915/display/intel_hdmi.c | 2 +-
> drivers/gpu/drm/i915/display/intel_lspcon.c | 2 +-
> drivers/gpu/drm/i915/i915_irq.c | 59 ++++----
> 10 files changed, 134 insertions(+), 146 deletions(-)
--
Jani Nikula, Intel Open Source Graphics Center
next prev parent reply other threads:[~2023-02-13 16:11 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-08 1:54 [Intel-gfx] [PATCH 00/10] drm/i915: Prep work for vbt.ports[] nukage Ville Syrjala
2023-02-08 1:54 ` [Intel-gfx] [PATCH 01/10] drm/i915: Pass the whole encoder to hotplug_enables() Ville Syrjala
2023-02-08 1:55 ` [Intel-gfx] [PATCH 02/10] drm/i915: Move variables to loop context Ville Syrjala
2023-02-08 1:55 ` [Intel-gfx] [PATCH 03/10] drm/i915: Replace intel_bios_is_lspcon_present() with intel_bios_encoder_is_lspcon() Ville Syrjala
2023-02-08 1:55 ` [Intel-gfx] [PATCH 04/10] drm/i915: Replace intel_bios_is_lane_reversal_needed() with intel_bios_encoder_lane_reversal() Ville Syrjala
2023-02-08 1:55 ` [Intel-gfx] [PATCH 05/10] drm/i915: Replace intel_bios_is_port_hpd_inverted() with intel_bios_encoder_hpd_invert() Ville Syrjala
2023-02-08 1:55 ` [Intel-gfx] [PATCH 06/10] drm/i915: Consult the registested encoders for the ICL combo PHY w/a Ville Syrjala
2023-02-13 16:12 ` Jani Nikula
2023-02-08 1:55 ` [Intel-gfx] [PATCH 07/10] drm/i915: Populate encoder->devdata for g4x+ DP/HDMI ports Ville Syrjala
2023-02-13 16:12 ` Jani Nikula
2023-02-08 1:55 ` [Intel-gfx] [PATCH 08/10] drm/i915: Pass devdata to intel_bios_port_aux_ch() Ville Syrjala
2023-02-08 1:55 ` [Intel-gfx] [PATCH 09/10] drm/i915: Iterate all child devs in intel_bios_is_port_present() Ville Syrjala
2023-02-13 16:08 ` Jani Nikula
2023-02-13 16:17 ` Ville Syrjälä
2023-02-13 16:41 ` Jani Nikula
2023-02-13 16:47 ` Ville Syrjälä
2023-02-14 7:38 ` [Intel-gfx] [PATCH v2 " Ville Syrjala
2023-02-14 8:11 ` Jani Nikula
2023-02-08 1:55 ` [Intel-gfx] [PATCH 10/10] drm/i915: Use encoder->devdata in eDP init Ville Syrjala
2023-02-13 16:13 ` Jani Nikula
2023-02-08 4:39 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Prep work for vbt.ports[] nukage Patchwork
2023-02-08 8:51 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
2023-02-13 16:11 ` Jani Nikula [this message]
2023-02-14 8:20 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Prep work for vbt.ports[] nukage (rev2) Patchwork
2023-02-14 9:27 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
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=87k00lv946.fsf@intel.com \
--to=jani.nikula@linux.intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--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 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.