Skip to content

Add DSC fractional bpp support

Mitul Golani dri-devel intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8drm/display/dp: Add helper function to get DSC bpp prescisiondrivers/gpu/drm/display/drm_dp_helper.c include/drm/display/drm_dp_helper.h+28 -01 reply
2/8drm/i915/display: Store compressed bpp in U6.4 formatdrivers/gpu/drm/i915/display/icl_dsi.c drivers/gpu/drm/i915/display/intel_audio.c drivers/gpu/drm/i915/display/intel_bios.c +7 more+85 -371 reply
3/8drm/i915/display: Consider fractional vdsc bpp while computing m_n valuesdrivers/gpu/drm/i915/display/intel_display.c drivers/gpu/drm/i915/display/intel_display.h drivers/gpu/drm/i915/display/intel_dp.c +2 more+14 -70 replies
4/8drm/i915/audio : Consider fractional vdsc bpp while computing tu_datadrivers/gpu/drm/i915/display/intel_audio.c+8 -80 replies
5/8drm/i915/dsc/mtl: Add support for fractional bppdrivers/gpu/drm/i915/display/intel_qp_tables.c drivers/gpu/drm/i915/display/intel_vdsc.c+20 -80 replies
6/8drm/i915/dp: Iterate over output bpp with fractional step sizedrivers/gpu/drm/i915/display/intel_dp.c+23 -140 replies
7/8drm/i915/dsc: Add debugfs entry to validate DSC fractional bppdrivers/gpu/drm/i915/display/intel_display_debugfs.c drivers/gpu/drm/i915/display/intel_display_types.h+84 -00 replies
8/8drm/i915/dsc: Allow DSC only with fractional bpp when forced from debugfsdrivers/gpu/drm/i915/display/intel_dp.c+7 -00 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchSuraj Kandpal
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] Add DSC fractional bpp support

This patch series adds support for DSC fractional compressed bpp for MTL+. The series starts with some fixes, followed by patches that lay groundwork to iterate over valid compressed bpps to select the 'best' compressed bpp with optimal link configuration (taken from upstream series: https://patchwork.freedesktop.org/series/105200/).

The later patches, add changes to accommodate compressed bpp with fractional part, including changes to QP calculations.
To get the 'best' compressed bpp, we iterate over the valid compressed bpp values, but with fractional step size 1/16, 1/8, 1/4 or 1/2 as per sink support.

The last 2 patches add support to depict DSC sink's fractional support, and debugfs to enforce use of fractional bpp, while choosing an appropriate compressed bpp.

Ankit Nautiyal (5):
drm/display/dp: Add helper function to get DSC bpp prescision drm/i915/display: Store compressed bpp in U6.4 format drm/i915/display: Consider fractional vdsc bpp while computing m_n
values
drm/i915/audio : Consider fractional vdsc bpp while computing tu_data drm/i915/dp: Iterate over output bpp with fractional step size

Swati Sharma (2):
drm/i915/dsc: Add debugfs entry to validate DSC fractional bpp drm/i915/dsc: Allow DSC only with fractional bpp when forced from
debugfs

Vandita Kulkarni (1):
drm/i915/dsc/mtl: Add support for fractional bpp

Ankit Nautiyal (5):
drm/display/dp: Add helper function to get DSC bpp prescision drm/i915/display: Store compressed bpp in U6.4 format drm/i915/display: Consider fractional vdsc bpp while computing m_n
values
drm/i915/audio : Consider fractional vdsc bpp while computing tu_data drm/i915/dp: Iterate over output bpp with fractional step size

Swati Sharma (2):
drm/i915/dsc: Add debugfs entry to validate DSC fractional bpp drm/i915/dsc: Allow DSC only with fractional bpp when forced from
debugfs

Vandita Kulkarni (1):
drm/i915/dsc/mtl: Add support for fractional bpp

Ankit Nautiyal (5):
drm/display/dp: Add helper function to get DSC bpp prescision drm/i915/display: Store compressed bpp in U6.4 format drm/i915/display: Consider fractional vdsc bpp while computing m_n
values
drm/i915/audio : Consider fractional vdsc bpp while computing tu_data drm/i915/dp: Iterate over output bpp with fractional step size

Swati Sharma (2):
drm/i915/dsc: Add debugfs entry to validate DSC fractional bpp drm/i915/dsc: Allow DSC only with fractional bpp when forced from
debugfs

Vandita Kulkarni (1):
drm/i915/dsc/mtl: Add support for fractional bpp

 drivers/gpu/drm/display/drm_dp_helper.c       | 27 ++++++
 drivers/gpu/drm/i915/display/icl_dsi.c        | 11 +--
 drivers/gpu/drm/i915/display/intel_audio.c    | 17 ++--
 drivers/gpu/drm/i915/display/intel_bios.c     |  6 +-
 drivers/gpu/drm/i915/display/intel_cdclk.c    |  5 +-
 drivers/gpu/drm/i915/display/intel_display.c  |  8 +-
 drivers/gpu/drm/i915/display/intel_display.h  |  2 +-
 .../drm/i915/display/intel_display_debugfs.c  | 83 +++++++++++++++++++
 .../drm/i915/display/intel_display_types.h    |  4 +-
 drivers/gpu/drm/i915/display/intel_dp.c       | 78 ++++++++++-------
 drivers/gpu/drm/i915/display/intel_dp_mst.c   | 28 ++++---
 drivers/gpu/drm/i915/display/intel_fdi.c      |  2 +-
 .../i915/display/intel_fractional_helper.h    | 36 ++++++++
 .../gpu/drm/i915/display/intel_qp_tables.c    |  3 -
 drivers/gpu/drm/i915/display/intel_vdsc.c     | 30 +++++--
 include/drm/display/drm_dp_helper.h           |  1 +
 16 files changed, 268 insertions(+), 73 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_fractional_helper.h
Signature · 1 line
2.25.1