intel-xe.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@intel.com>
To: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
Cc: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org,
	stable@vger.kernel.org, Imre Deak <imre.deak@intel.com>
Subject: Re: [PATCH] drm/i915/mst: update max stream count to match number of pipes
Date: Thu, 27 Feb 2025 12:18:51 +0200	[thread overview]
Message-ID: <871pvj4rn8.fsf@intel.com> (raw)
In-Reply-To: <Z782CKSDNBjlmjct@intel.com>

On Wed, 26 Feb 2025, Ville Syrjälä <ville.syrjala@linux.intel.com> wrote:
> On Wed, Feb 26, 2025 at 03:56:26PM +0200, Jani Nikula wrote:
>> We create the stream encoders and attach connectors for each pipe we
>> have. As the number of pipes has increased, we've failed to update the
>> topology manager maximum number of payloads to match that. Bump up the
>> max stream count to match number of pipes, enabling the fourth stream on
>> platforms that support four pipes.
>> 
>> Cc: stable@vger.kernel.org
>> Cc: Imre Deak <imre.deak@intel.com>
>> Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
>> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
>
> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>

Thanks, pushed to din.

BR,
Jani.

>
>> ---
>>  drivers/gpu/drm/i915/display/intel_dp_mst.c | 3 ++-
>>  1 file changed, 2 insertions(+), 1 deletion(-)
>> 
>> diff --git a/drivers/gpu/drm/i915/display/intel_dp_mst.c b/drivers/gpu/drm/i915/display/intel_dp_mst.c
>> index 167e4a70ab12..822218d8cfd4 100644
>> --- a/drivers/gpu/drm/i915/display/intel_dp_mst.c
>> +++ b/drivers/gpu/drm/i915/display/intel_dp_mst.c
>> @@ -1896,7 +1896,8 @@ intel_dp_mst_encoder_init(struct intel_digital_port *dig_port, int conn_base_id)
>>  	/* create encoders */
>>  	mst_stream_encoders_create(dig_port);
>>  	ret = drm_dp_mst_topology_mgr_init(&intel_dp->mst_mgr, display->drm,
>> -					   &intel_dp->aux, 16, 3, conn_base_id);
>> +					   &intel_dp->aux, 16,
>> +					   INTEL_NUM_PIPES(display), conn_base_id);
>>  	if (ret) {
>>  		intel_dp->mst_mgr.cbs = NULL;
>>  		return ret;
>> -- 
>> 2.39.5

-- 
Jani Nikula, Intel

  reply	other threads:[~2025-02-27 10:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-26 13:56 [PATCH] drm/i915/mst: update max stream count to match number of pipes Jani Nikula
2025-02-26 14:46 ` ✓ CI.Patch_applied: success for " Patchwork
2025-02-26 14:46 ` ✗ CI.checkpatch: warning " Patchwork
2025-02-26 14:47 ` ✓ CI.KUnit: success " Patchwork
2025-02-26 15:03 ` ✓ CI.Build: " Patchwork
2025-02-26 15:06 ` ✓ CI.Hooks: " Patchwork
2025-02-26 15:07 ` ✓ CI.checksparse: " Patchwork
2025-02-26 15:26 ` ✓ Xe.CI.BAT: " Patchwork
2025-02-26 15:40 ` [PATCH] " Ville Syrjälä
2025-02-27 10:18   ` Jani Nikula [this message]
2025-02-26 16:22 ` ✗ Xe.CI.Full: failure for " 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=871pvj4rn8.fsf@intel.com \
    --to=jani.nikula@intel.com \
    --cc=imre.deak@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=stable@vger.kernel.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 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).