From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: "Garg, Nemesa" <nemesa.garg@intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>,
"intel-gfx@lists.freedesktop.org"
<intel-gfx@lists.freedesktop.org>
Subject: Re: [PATCH 2/2] drm/i915/display: Call panel_fitting from pipe_config
Date: Mon, 9 Sep 2024 17:08:58 +0300 [thread overview]
Message-ID: <Zt8BeoxfpnmhB5fn@intel.com> (raw)
In-Reply-To: <IA1PR11MB64675961872D4D12CD82D4B1E3992@IA1PR11MB6467.namprd11.prod.outlook.com>
On Mon, Sep 09, 2024 at 06:21:49AM +0000, Garg, Nemesa wrote:
>
>
> > -----Original Message-----
> > From: Jani Nikula <jani.nikula@linux.intel.com>
> > Sent: Tuesday, August 13, 2024 1:22 PM
> > To: Garg, Nemesa <nemesa.garg@intel.com>; intel-gfx@lists.freedesktop.org;
> > Ville Syrjala <ville.syrjala@linux.intel.com>
> > Cc: Garg, Nemesa <nemesa.garg@intel.com>
> > Subject: Re: [PATCH 2/2] drm/i915/display: Call panel_fitting from pipe_config
> >
> > On Thu, 08 Aug 2024, Nemesa Garg <nemesa.garg@intel.com> wrote:
> > > In panel fitter/pipe scaler scenario the pch_pfit configuration
> > > currently takes place before accounting for pipe_src width for joiner.
> > > This causes issue when pch_pfit and joiner get enabled together.
> > >
> > > Introduce a new boolean flag need_joiner which is set during dp
> > > compute_config in joiner case and later is used to compute
> > > panel_fitting in pipe_config. Modify pch_panel_fitting to handle
> > > joiner pipes by adjusting crtc_hdisplay accordingly.
> >
> > So I still don't like the fact that intel_panel_fitting() is called in different ways for
> > different connectors, controlled by a flag in crtc state.
> >
> > That said, I couldn't come up with a better idea either, apart from moving *all*
> > panel fitting intel_modeset_pipe_config().
> >
> > Cc: Ville, in case he has some ideas for this. Please hold off on merging until we
> > get some input from him.
> >
> > Hi Ville,
> Can you please suggest how should I proceed further on this patch.
I think we want to move the whole thing to happen after we've computed
final pipe_src and pipe_mode (which can then be used intead of
adjusted_mode in the pfit calculaitons).
The one annoying part of this is that we probably can only do it for the
ilk+ pfit ("pch"), but the old gmch pfit probably has to stay where it
is now because it may have to adjust the actual transcoder timings for
the purposes of adding borders.
Also I don't think we should really need any extra flags in the crtc
state. The pfit code should be able to figure it all out on its own.
--
Ville Syrjälä
Intel
next prev parent reply other threads:[~2024-09-09 14:09 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-05 6:25 [PATCH 0/2] Consider joiner calculation for panel fitting Nemesa Garg
2024-08-05 6:25 ` [PATCH 1/2] drm/i915/display: Refactor pch_panel_fitting to use local variables for crtc dimensions Nemesa Garg
2024-08-06 3:37 ` Nautiyal, Ankit K
2024-08-05 6:25 ` [PATCH 2/2] drm/i915/display: Call panel_fitting from pipe_config Nemesa Garg
2024-08-06 3:35 ` Nautiyal, Ankit K
2024-08-08 4:54 ` Nemesa Garg
2024-08-13 5:18 ` Nautiyal, Ankit K
2024-08-13 7:52 ` Jani Nikula
2024-09-09 6:21 ` Garg, Nemesa
2024-09-09 14:08 ` Ville Syrjälä [this message]
2024-08-05 7:04 ` ✓ Fi.CI.BAT: success for Consider joiner calculation for panel fitting (rev2) Patchwork
2024-08-05 17:45 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-08-08 5:58 ` ✓ Fi.CI.BAT: success for Consider joiner calculation for panel fitting (rev3) Patchwork
2024-08-08 8:11 ` ✗ Fi.CI.IGT: failure " Patchwork
-- strict thread matches above, loose matches on Subject: below --
2024-07-26 9:53 [PATCH 0/2] Consider joiner calculation for panel fitting Nemesa Garg
2024-07-26 9:53 ` [PATCH 2/2] drm/i915/display: Call panel_fitting from pipe_config Nemesa Garg
2024-07-29 15:06 ` Nautiyal, Ankit K
2024-07-30 7:56 ` Jani Nikula
2024-07-30 16:20 ` Garg, Nemesa
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=Zt8BeoxfpnmhB5fn@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jani.nikula@linux.intel.com \
--cc=nemesa.garg@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