From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Cc: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org,
suraj.kandpal@intel.com
Subject: Re: [PATCH 12/15] drm/i915/dp: Simplify helper to get slice count with joiner
Date: Thu, 26 Sep 2024 14:28:48 +0300 [thread overview]
Message-ID: <ZvVFcLT8IvSdCCmF@intel.com> (raw)
In-Reply-To: <20240926072638.3689367-13-ankit.k.nautiyal@intel.com>
On Thu, Sep 26, 2024 at 12:56:35PM +0530, Ankit Nautiyal wrote:
> From: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
>
> When bigjoiner is used, we need at least 2 dsc slices per pipe.
> Modify the condition in intel_dp_dsc_get_slice_count() to reflect the
> same.
>
> Signed-off-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
> Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> ---
> drivers/gpu/drm/i915/display/intel_dp.c | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
> index a0afb4991334..eb92fda21e87 100644
> --- a/drivers/gpu/drm/i915/display/intel_dp.c
> +++ b/drivers/gpu/drm/i915/display/intel_dp.c
> @@ -999,8 +999,12 @@ u8 intel_dp_dsc_get_slice_count(const struct intel_connector *connector,
> drm_dp_dsc_sink_max_slice_count(connector->dp.dsc_dpcd, false))
> break;
>
> - /* big joiner needs small joiner to be enabled */
> - if (num_joined_pipes == 2 && test_slice_count < 4)
> + /*
> + * Bigjoiner needs small joiner to be enabled.
> + * So there should be at least 2 dsc slices per pipe,
> + * whenever bigjoiner is enabled.
> + */
> + if (num_joined_pipes > 1 && valid_dsc_slicecount[i] < 2)
> continue;
>
> if (min_slice_count <= test_slice_count)
> --
> 2.45.2
--
Ville Syrjälä
Intel
next prev parent reply other threads:[~2024-09-26 11:28 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-26 7:26 [PATCH 00/15] Ultrajoiner basic functionality series Ankit Nautiyal
2024-09-26 7:26 ` [PATCH 01/15] drm/i915/display_device: Add Check HAS_DSC for bigjoiner Ankit Nautiyal
2024-09-26 7:26 ` [PATCH 02/15] drm/i915/display_debugfs: Allow force joiner only if supported Ankit Nautiyal
2024-09-26 11:14 ` Ville Syrjälä
2024-09-26 13:07 ` Nautiyal, Ankit K
2024-09-26 13:21 ` Ville Syrjälä
2024-09-26 7:26 ` [PATCH 03/15] drm/i915/display: Modify debugfs for joiner to force n pipes Ankit Nautiyal
2024-09-26 7:26 ` [PATCH 04/15] drm/i915/dp: Add helper to compute num pipes required Ankit Nautiyal
2024-09-26 7:26 ` [PATCH 05/15] drm/i915: Split current joiner hw state readout Ankit Nautiyal
2024-09-26 7:26 ` [PATCH 06/15] drm/i915: Add bigjoiner and uncompressed joiner hw readout sanity checks Ankit Nautiyal
2024-09-26 7:26 ` [PATCH 07/15] drm/i915/display: Add macro HAS_ULTRAJOINER() Ankit Nautiyal
2024-09-26 7:26 ` [PATCH 08/15] drm/i915/display: Refactor enable_joiner_pipes Ankit Nautiyal
2024-09-26 11:19 ` Ville Syrjälä
2024-09-26 13:15 ` Nautiyal, Ankit K
2024-09-26 13:28 ` Ville Syrjälä
2024-09-26 7:26 ` [PATCH 09/15] drm/i915: Implement hw state readout and checks for ultrajoiner Ankit Nautiyal
2024-09-26 11:21 ` Ville Syrjälä
2024-09-26 7:26 ` [PATCH 10/15] drm/i915/display/vdsc: Add ultrajoiner support with DSC Ankit Nautiyal
2024-09-26 7:26 ` [PATCH 11/15] drm/i915/dp: Modify compressed bpp limitations for ultrajoiner Ankit Nautiyal
2024-09-26 22:36 ` Ville Syrjälä
2024-09-26 7:26 ` [PATCH 12/15] drm/i915/dp: Simplify helper to get slice count with joiner Ankit Nautiyal
2024-09-26 11:28 ` Ville Syrjälä [this message]
2024-09-26 7:26 ` [PATCH 13/15] drm/i915: Compute config and mode valid changes for ultrajoiner Ankit Nautiyal
2024-09-26 7:26 ` [PATCH 14/15] drm/i915/display: Consider ultrajoiner for computing maxdotclock Ankit Nautiyal
2024-09-26 7:26 ` [PATCH 15/15] drm/i915/intel_dp: Add support for forcing ultrajoiner Ankit Nautiyal
2024-09-26 17:44 ` ✓ CI.Patch_applied: success for Ultrajoiner basic functionality series (rev4) Patchwork
2024-09-26 17:44 ` ✗ CI.checkpatch: warning " Patchwork
2024-09-26 17:46 ` ✓ CI.KUnit: success " Patchwork
2024-09-26 17:57 ` ✓ CI.Build: " Patchwork
2024-09-26 17:59 ` ✓ CI.Hooks: " Patchwork
2024-09-26 18:01 ` ✗ CI.checksparse: warning " Patchwork
2024-09-26 18:19 ` ✓ CI.BAT: success " Patchwork
2024-09-27 17:23 ` ✗ CI.FULL: failure " 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=ZvVFcLT8IvSdCCmF@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=ankit.k.nautiyal@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=suraj.kandpal@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).