Skip to content

Calculate CDCLK more properly when DSC is enabled

Stanislav Lisovskiy intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/i915: Add helper function for getting number of VDSC enginesdrivers/gpu/drm/i915/display/intel_vdsc.c drivers/gpu/drm/i915/display/intel_vdsc.h+12 -41 reply
2/2drm/i915: Don't rely that 2 VDSC engines are always enough for pixel ratedrivers/gpu/drm/i915/display/intel_cdclk.c+11 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Intel-gfx] [PATCH 0/2] Calculate CDCLK more properly when DSC is enabled

We need to properly estimate our available BW when DSC is enabled because this can lead both to need in increasing or decresing CDCLK. Each DSC engine can process only single pixel at a time thus if only single DSC engine is enabled, CDCLK is obliged to be equal to pixel clock (while in non-compressed case it can be usualy lower)
However if we have 2 DSC engines CDCLK can be ~pixel clock / 2 and so on. Lets do the estimation more properly based on amount of VDSC engines used. That most likely is going to fix some FIFO underruns, we are currently having.

Stanislav Lisovskiy (2):
drm/i915: Add helper function for getting number of VDSC engines drm/i915: Don't rely that 2 VDSC engines are always enough for pixel
rate

 drivers/gpu/drm/i915/display/intel_cdclk.c | 13 +++++++++++--
 drivers/gpu/drm/i915/display/intel_vdsc.c  | 15 +++++++++++----
 drivers/gpu/drm/i915/display/intel_vdsc.h  |  1 +
 3 files changed, 23 insertions(+), 6 deletions(-)
Signature · 1 line
2.37.3