mbox series

[RFC,v1,0/4] Update VRR guardband for HRR panel

Message ID 20241112085039.1258860-1-mitulkumar.ajitkumar.golani@intel.com (mailing list archive)
Headers show
Series Update VRR guardband for HRR panel | expand

Message

Golani, Mitulkumar Ajitkumar Nov. 12, 2024, 8:50 a.m. UTC
Compute guardband based on enabled feature latency.

Mitul Golani (4):
  drm/i915/scaler: Calculate scaler prefill latency
  drm/i915/watermark: Add WM0 prefill latency
  drm/i915/psr: Add latency for PSR
  display/vrr: Update guardband based on enabled latency

 drivers/gpu/drm/i915/display/intel_psr.c     | 23 ++++++++++++
 drivers/gpu/drm/i915/display/intel_psr.h     |  1 +
 drivers/gpu/drm/i915/display/intel_vrr.c     | 18 ++++++++-
 drivers/gpu/drm/i915/display/skl_scaler.c    | 39 ++++++++++++++++++++
 drivers/gpu/drm/i915/display/skl_scaler.h    |  1 +
 drivers/gpu/drm/i915/display/skl_watermark.c | 21 +++++++++++
 drivers/gpu/drm/i915/display/skl_watermark.h |  1 +
 7 files changed, 102 insertions(+), 2 deletions(-)

Comments

Ville Syrjälä Nov. 22, 2024, 7:53 a.m. UTC | #1
On Tue, Nov 12, 2024 at 02:20:35PM +0530, Mitul Golani wrote:
> Compute guardband based on enabled feature latency.
> 

We already have some of this stuff in skl_wm_check_vblank().
But it's missing some of scaler/dsc/etc. prefill stuff. That is
the place where all this needs to be checked.

> Mitul Golani (4):
>   drm/i915/scaler: Calculate scaler prefill latency
>   drm/i915/watermark: Add WM0 prefill latency
>   drm/i915/psr: Add latency for PSR
>   display/vrr: Update guardband based on enabled latency
> 
>  drivers/gpu/drm/i915/display/intel_psr.c     | 23 ++++++++++++
>  drivers/gpu/drm/i915/display/intel_psr.h     |  1 +
>  drivers/gpu/drm/i915/display/intel_vrr.c     | 18 ++++++++-
>  drivers/gpu/drm/i915/display/skl_scaler.c    | 39 ++++++++++++++++++++
>  drivers/gpu/drm/i915/display/skl_scaler.h    |  1 +
>  drivers/gpu/drm/i915/display/skl_watermark.c | 21 +++++++++++
>  drivers/gpu/drm/i915/display/skl_watermark.h |  1 +
>  7 files changed, 102 insertions(+), 2 deletions(-)
> 
> -- 
> 2.46.0