Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Imre Deak <imre.deak@intel.com>
To: Jani Nikula <jani.nikula@intel.com>
Cc: <intel-gfx@lists.freedesktop.org>, <intel-xe@lists.freedesktop.org>
Subject: Re: [PATCH 2/2] drm/i915/hdmi: Use an intel_connector pointer everywhere
Date: Tue, 29 Apr 2025 17:04:26 +0300	[thread overview]
Message-ID: <aBDcajKcDOhms658@ideak-desk.fi.intel.com> (raw)
In-Reply-To: <87a57zw8xy.fsf@intel.com>

On Tue, Apr 29, 2025 at 01:36:41PM +0300, Jani Nikula wrote:
> On Mon, 28 Apr 2025, Imre Deak <imre.deak@intel.com> wrote:
> >  static void
> > -intel_hdmi_add_properties(struct intel_hdmi *intel_hdmi, struct drm_connector *connector)
> > +intel_hdmi_add_properties(struct intel_hdmi *intel_hdmi, struct drm_connector *_connector)
> >  {
> > +	struct intel_connector *connector = to_intel_connector(_connector);
> >  	struct intel_display *display = to_intel_display(intel_hdmi);
> >  
> > -	intel_attach_force_audio_property(connector);
> > -	intel_attach_broadcast_rgb_property(connector);
> > -	intel_attach_aspect_ratio_property(connector);
> > +	intel_attach_force_audio_property(&connector->base);
> > +	intel_attach_broadcast_rgb_property(&connector->base);
> > +	intel_attach_aspect_ratio_property(&connector->base);
> 
> A guess a follow-up could convert all of these and more to accept
> intel_connector as parameter.

Yes, all the intel_attach_*_property() functions look convertable now
for all output types. Can do that as well at one point, unless someone
else does it.

> BR,
> Jani.
> 
> 
> -- 
> Jani Nikula, Intel

  reply	other threads:[~2025-04-29 14:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-28 13:47 [PATCH 0/2] drm/i915: Use intel_connector for DP and HDMI Imre Deak
2025-04-28 13:47 ` [PATCH 1/2] drm/i915/dp: Use an intel_connector pointer everywhere Imre Deak
2025-04-28 13:47 ` [PATCH 2/2] drm/i915/hdmi: " Imre Deak
2025-04-29 10:36   ` Jani Nikula
2025-04-29 14:04     ` Imre Deak [this message]
2025-04-28 19:47 ` ✗ Fi.CI.SPARSE: warning for drm/i915: Use intel_connector for DP and HDMI Patchwork
2025-04-28 20:10 ` ✓ i915.CI.BAT: success " Patchwork
2025-04-28 22:42 ` ✗ i915.CI.Full: failure " Patchwork
2025-04-29 15:02   ` Imre Deak
2025-04-29 10:35 ` [PATCH 0/2] " Jani Nikula

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=aBDcajKcDOhms658@ideak-desk.fi.intel.com \
    --to=imre.deak@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@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