From: Jani Nikula <jani.nikula@linux.intel.com>
To: "Taylor, Clinton A" <clinton.a.taylor@intel.com>,
Intel-gfx@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH] drm/i915/hdmi: SPD infoframe updated for discrete
Date: Fri, 21 Oct 2022 13:21:24 +0300 [thread overview]
Message-ID: <877d0tfpej.fsf@intel.com> (raw)
In-Reply-To: <20221019203527.1682301-1-clinton.a.taylor@intel.com>
On Wed, 19 Oct 2022, "Taylor, Clinton A" <clinton.a.taylor@intel.com> wrote:
> Replace internal with discrete on dgfx platforms
Please use the imperative mood in the commit subject, i.e. "update" not
"updated".
>
> Signed-off-by: Taylor, Clinton A <clinton.a.taylor@intel.com>
> ---
> drivers/gpu/drm/i915/display/intel_hdmi.c | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_hdmi.c b/drivers/gpu/drm/i915/display/intel_hdmi.c
> index 93519fb23d9d..9070da469bdd 100644
> --- a/drivers/gpu/drm/i915/display/intel_hdmi.c
> +++ b/drivers/gpu/drm/i915/display/intel_hdmi.c
> @@ -766,6 +766,7 @@ intel_hdmi_compute_spd_infoframe(struct intel_encoder *encoder,
> struct intel_crtc_state *crtc_state,
> struct drm_connector_state *conn_state)
> {
> + struct drm_i915_private *dev_priv = to_i915(encoder->base.dev);
Always struct drm_i915_private *i915 for new code please.
> struct hdmi_spd_infoframe *frame = &crtc_state->infoframes.spd.spd;
> int ret;
>
> @@ -775,7 +776,10 @@ intel_hdmi_compute_spd_infoframe(struct intel_encoder *encoder,
> crtc_state->infoframes.enable |=
> intel_hdmi_infoframe_enable(HDMI_INFOFRAME_TYPE_SPD);
>
> - ret = hdmi_spd_infoframe_init(frame, "Intel", "Integrated gfx");
> + if (IS_DGFX(dev_priv))
> + ret = hdmi_spd_infoframe_init(frame, "Intel", "Discrete gfx");
> + else
> + ret = hdmi_spd_infoframe_init(frame, "Intel", "Integrated gfx");
> if (drm_WARN_ON(encoder->base.dev, ret))
> return false;
--
Jani Nikula, Intel Open Source Graphics Center
next prev parent reply other threads:[~2022-10-21 10:21 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-19 20:35 [Intel-gfx] [PATCH] drm/i915/hdmi: SPD infoframe updated for discrete Taylor, Clinton A
2022-10-19 21:35 ` [Intel-gfx] ✓ Fi.CI.BAT: success for " Patchwork
2022-10-20 2:02 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2022-10-21 10:21 ` Jani Nikula [this message]
2022-10-24 9:38 ` [Intel-gfx] [PATCH] " Jani Nikula
2022-10-21 21:05 ` [Intel-gfx] [PATCH v2] drm/i915/hdmi: SPD infoframe update " Taylor, Clinton A
2022-10-21 22:30 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/hdmi: SPD infoframe updated for discrete (rev2) Patchwork
2022-10-22 18:59 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2022-10-27 22:13 ` [Intel-gfx] [PATCH v3] drm/i915/hdmi: SPD infoframe update for discrete Taylor, Clinton A
2022-11-19 0:05 ` Matt Roper
2022-10-28 0:08 ` [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/hdmi: SPD infoframe updated for discrete (rev3) 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=877d0tfpej.fsf@intel.com \
--to=jani.nikula@linux.intel.com \
--cc=Intel-gfx@lists.freedesktop.org \
--cc=clinton.a.taylor@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