From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: "Nautiyal, Ankit K" <ankit.k.nautiyal@intel.com>
Cc: jani.nikula@intel.com, intel-gfx@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH 4/4] drm/i915/dp: Limit max_requested_bpc based on src DSC bpc limits
Date: Thu, 26 Oct 2023 15:27:42 +0300 [thread overview]
Message-ID: <ZTpbPtR0e3JqWfJv@intel.com> (raw)
In-Reply-To: <1e1777bf-561a-5f22-b578-9a20f0afd48b@intel.com>
On Thu, Oct 26, 2023 at 11:24:38AM +0530, Nautiyal, Ankit K wrote:
>
> On 10/25/2023 6:20 PM, Ville Syrjälä wrote:
> > On Wed, Oct 25, 2023 at 05:43:18PM +0530, Ankit Nautiyal wrote:
> >> At the moment the max requested bpc is limited to 6 to 10/12.
> >> For platforms that support DSC, min and max src bpc with DSC are
> >> different.
> >>
> >> Account for DSC bpc limitations, when setting min and max value for
> >> max_requested_bpc property.
> > NAK. DSC capabiliies change dynamically, the property does not.
>
> Hmm, perhaps I should remove the check for sink DSC support and have
> only Platform check HAS_DSC.
>
> The problem I am trying to fix is that our HW does not support DSC with
> 6bpc, but we are allowing the max_requested_bpc to be 6 bpc.
>
> This can be a problem with some eDP panels that support modes like
> 4k@120 which will always need DSC and when max requested bpc property is
> set to 6.
>
> I am wondering how to avoid this. Does it make sense to have the min
> value for the max_requested_bpc to be 8, for platforms that support DSC?
I think the easy fix is to just use 'min_bpc = max(dsc_min_bpc, max_bpc*3)'
with DSC. And likely we should do something like that for YCbCr output
as well.
--
Ville Syrjälä
Intel
next prev parent reply other threads:[~2023-10-26 12:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-25 12:13 [Intel-gfx] [PATCH 0/4] DP DSC min/max src bpc fixes Ankit Nautiyal
2023-10-25 12:13 ` [Intel-gfx] [PATCH 1/4] drm/i915/dp: Simplify checks for helper intel_dp_dsc_max_src_input_bpc Ankit Nautiyal
2023-10-25 12:13 ` [Intel-gfx] [PATCH 2/4] drm/i915/dp: Fix the max DSC bpc supported by source Ankit Nautiyal
2023-10-25 12:13 ` [Intel-gfx] [PATCH 3/4] drm/i915/dp_mst: Use helpers to get dsc min/max input bpc Ankit Nautiyal
2023-10-25 12:13 ` [Intel-gfx] [PATCH 4/4] drm/i915/dp: Limit max_requested_bpc based on src DSC bpc limits Ankit Nautiyal
2023-10-25 12:50 ` Ville Syrjälä
2023-10-26 5:54 ` Nautiyal, Ankit K
2023-10-26 12:27 ` Ville Syrjälä [this message]
2023-10-25 20:43 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for DP DSC min/max src bpc fixes Patchwork
2023-10-25 20:56 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2023-10-27 6:46 ` [Intel-gfx] ✗ Fi.CI.IGT: 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=ZTpbPtR0e3JqWfJv@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=ankit.k.nautiyal@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