From: "Manna, Animesh" <animesh.manna@intel.com>
To: "Nikula, Jani" <jani.nikula@intel.com>,
"intel-gfx@lists.freedesktop.org"
<intel-gfx@lists.freedesktop.org>
Subject: Re: [Intel-gfx] [PATCH v3] drm/i915/bios: calculate panel type as per child device index in VBT
Date: Mon, 20 Jun 2022 06:57:10 +0000 [thread overview]
Message-ID: <d1dbebf8d3104e5e9e0a88f29270bed5@intel.com> (raw)
In-Reply-To: <874k0jv5bp.fsf@intel.com>
> > @@ -5224,7 +5225,8 @@ static bool intel_edp_init_connector(struct intel_dp
> *intel_dp,
> > }
> > intel_connector->edid = edid;
> >
> > - intel_bios_init_panel(dev_priv, &intel_connector->panel,
> > + devdata = dev_priv->vbt.ports[intel_connector->encoder->port];
>
> Sorry, i915->vbt.ports[] is supposed to be private to intel_bios.c. I tried to
> explain that we already look up devdata for some of the encoders. See
> intel_ddi_init() which is relevant for new platforms.
>
> We've got
>
> devdata = intel_bios_encoder_data_lookup(dev_priv, port);
>
> and
>
> encoder->devdata = devdata;
>
> So you just need to get at the encoder here (via intel_dp), and pass
> encoder->devdata.
>
> With that fixed, this LGTM.
Thanks Jani for review, updated the same in v4
Regards,
Animesh
next prev parent reply other threads:[~2022-06-20 6:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-17 10:26 [Intel-gfx] [PATCH v3] drm/i915/bios: calculate panel type as per child device index in VBT Animesh Manna
2022-06-17 12:32 ` Jani Nikula
2022-06-20 6:57 ` Manna, Animesh [this message]
2022-06-17 14:51 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/bios: calculate panel type as per child device index in VBT (rev2) Patchwork
2022-06-17 23:30 ` [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=d1dbebf8d3104e5e9e0a88f29270bed5@intel.com \
--to=animesh.manna@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jani.nikula@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