From: "Ville Syrjälä" <ville.syrjala@intel.com>
To: "Kandpal, Suraj" <suraj.kandpal@intel.com>
Cc: "Ville Syrjälä" <ville.syrjala@linux.intel.com>,
"intel-xe@lists.freedesktop.org" <intel-xe@lists.freedesktop.org>,
"intel-gfx@lists.freedesktop.org"
<intel-gfx@lists.freedesktop.org>,
"Nautiyal, Ankit K" <ankit.k.nautiyal@intel.com>,
"Roper, Matthew D" <matthew.d.roper@intel.com>
Subject: Re: [PATCH 1/5] drm/i915/display: Fix the plane max height and width limits
Date: Fri, 25 Oct 2024 10:15:30 +0300 [thread overview]
Message-ID: <ZxtFkv3MAIi-4d7G@intel.com> (raw)
In-Reply-To: <SN7PR11MB67508BC9455963CD8311ADCEE34F2@SN7PR11MB6750.namprd11.prod.outlook.com>
On Fri, Oct 25, 2024 at 06:26:10AM +0000, Kandpal, Suraj wrote:
>
>
> > -----Original Message-----
> > From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> > Sent: Friday, October 25, 2024 11:51 AM
> > To: Kandpal, Suraj <suraj.kandpal@intel.com>
> > Cc: intel-xe@lists.freedesktop.org; intel-gfx@lists.freedesktop.org; Nautiyal,
> > Ankit K <ankit.k.nautiyal@intel.com>; Roper, Matthew D
> > <matthew.d.roper@intel.com>
> > Subject: Re: [PATCH 1/5] drm/i915/display: Fix the plane max height and width
> > limits
> >
> > On Fri, Oct 25, 2024 at 11:31:32AM +0530, Suraj Kandpal wrote:
> > > Fix the plane max height and width limits taking into account the
> > > joined pipe limits too.
> > >
> > > Bspec: 28692, 49199, 68858
> > > Fixes: 63dc014e37b9 ("drm/i915/dp: Allow big joiner modes in
> > > intel_dp_mode_valid(), v3.")
> > > Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
> > > ---
> > > drivers/gpu/drm/i915/display/intel_display.c | 19 ++++++++++++++++---
> > > 1 file changed, 16 insertions(+), 3 deletions(-)
> > >
> > > diff --git a/drivers/gpu/drm/i915/display/intel_display.c
> > > b/drivers/gpu/drm/i915/display/intel_display.c
> > > index ef1436146325..fc578af4f394 100644
> > > --- a/drivers/gpu/drm/i915/display/intel_display.c
> > > +++ b/drivers/gpu/drm/i915/display/intel_display.c
> > > @@ -8450,9 +8450,22 @@ intel_mode_valid_max_plane_size(struct
> > drm_i915_private *dev_priv,
> > > * plane so let's not advertize modes that are
> > > * too big for that.
> > > */
> > > - if (DISPLAY_VER(dev_priv) >= 11) {
> > > - plane_width_max = 5120 * num_joined_pipes;
> > > - plane_height_max = 4320;
> > > + if (DISPLAY_VER(dev_priv) >= 20) {
> > > + if (num_joined_pipes > 1) {
> > > + plane_width_max = 8192;
> > > + plane_height_max = 4800;
> > > + } else {
> > > + plane_width_max = 5120;
> > > + plane_height_max = 4096;
> >
> > The joiner operates on horizontal lines. Why would the vertical resolution
> > change here?
> >
>
> This is what I got from the bspec when pipe are joined the vertical resolution ends up
> Changing
Those bspec pages look very confused.
--
Ville Syrjälä
Intel
---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki
Business Identity Code: 0357606 - 4
Domiciled in Helsinki
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
next prev parent reply other threads:[~2024-10-25 7:15 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-25 6:01 [PATCH 0/5] Add 6k resolution support for a single CRTC Suraj Kandpal
2024-10-25 6:01 ` [PATCH 1/5] drm/i915/display: Fix the plane max height and width limits Suraj Kandpal
2024-10-25 6:21 ` Ville Syrjälä
2024-10-25 6:26 ` Kandpal, Suraj
2024-10-25 7:15 ` Ville Syrjälä [this message]
2024-10-25 7:24 ` Nautiyal, Ankit K
2024-10-25 8:04 ` Ville Syrjälä
2024-10-28 4:13 ` Kandpal, Suraj
2024-10-25 6:01 ` [PATCH 2/5] drm/i915/xe3lpd: Increase resolution for plane to support 6k Suraj Kandpal
2024-10-25 6:01 ` [PATCH 3/5] drm/i915/psr: Increase psr size limits for Xe2 Suraj Kandpal
2024-10-25 22:01 ` Matt Roper
2024-10-28 3:51 ` Kandpal, Suraj
2024-10-28 7:22 ` Hogander, Jouni
2024-10-28 5:00 ` Kandpal, Suraj
2024-10-25 6:01 ` [PATCH 4/5] drm/i915/xe3lpd: Increase max_h max_v for PSR Suraj Kandpal
2024-10-25 6:01 ` [PATCH 5/5] drm/i914/xe3lpd: Increase bigjoiner limitations Suraj Kandpal
2024-10-25 6:07 ` ✓ CI.Patch_applied: success for Add 6k resolution support for a single CRTC (rev3) Patchwork
2024-10-25 6:08 ` ✓ CI.checkpatch: " Patchwork
2024-10-25 6:09 ` ✓ CI.KUnit: " Patchwork
2024-10-25 6:20 ` ✓ CI.Build: " Patchwork
2024-10-25 6:23 ` ✓ CI.Hooks: " Patchwork
2024-10-25 6:24 ` ✗ CI.checksparse: warning " Patchwork
2024-10-25 6:46 ` ✓ CI.BAT: success " Patchwork
2024-10-26 16:11 ` ✗ 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=ZxtFkv3MAIi-4d7G@intel.com \
--to=ville.syrjala@intel.com \
--cc=ankit.k.nautiyal@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=matthew.d.roper@intel.com \
--cc=suraj.kandpal@intel.com \
--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