All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/10] drm/i915: move DSC RC tables to drm_dsc_helper.c
@ 2023-02-28 11:33 ` Dmitry Baryshkov
  0 siblings, 0 replies; 80+ messages in thread
From: Dmitry Baryshkov @ 2023-02-28 11:33 UTC (permalink / raw)
  To: David Airlie, Daniel Vetter, Jani Nikula, Joonas Lahtinen,
	Rodrigo Vivi, Tvrtko Ursulin, Rob Clark, Abhinav Kumar,
	Sean Paul, Marijn Suijten
  Cc: Ville Syrjälä, dri-devel, intel-gfx, linux-arm-msm, freedreno

Other platforms (msm) will benefit from sharing the DSC config setup
functions. This series moves parts of static DSC config data from the
i915 driver to the common helpers to be used by other drivers.

Note: the RC parameters were cross-checked against config files found in
DSC model 2021062, 20161212 (and 20150914). The first patch modifies
tables according to those config files, while preserving parameter
values using the code. I have not changed one of the values in the
pre-SCR config file as it clearly looks like a typo in the config file,
considering the table E in DSC 1.1 and in the DSC 1.1 SCR.

Dmitry Baryshkov (10):
  drm/i915/dsc: change DSC param tables to follow the DSC model
  drm/i915/dsc: move rc_buf_thresh values to common helper
  drm/i915/dsc: move DSC tables to DRM DSC helper
  drm/i915/dsc: stop using interim structure for calculated params
  drm/display/dsc: use flat array for rc_parameters lookup
  drm/display/dsc: split DSC 1.2 and DSC 1.1 (pre-SCR) parameters
  drm/display/dsc: include the rest of pre-SCR parameters
  drm/display/dsc: add YCbCr 4:2:2 and 4:2:0 RC parameters
  drm/display/dsc: add helper to set semi-const parameters
  drm/msm/dsi: use new helpers for DSC setup

 drivers/gpu/drm/display/drm_dsc_helper.c  | 1001 +++++++++++++++++++++
 drivers/gpu/drm/i915/display/intel_vdsc.c |  432 +--------
 drivers/gpu/drm/msm/dsi/dsi_host.c        |   61 +-
 include/drm/display/drm_dsc_helper.h      |   10 +
 4 files changed, 1058 insertions(+), 446 deletions(-)

-- 
2.39.2


^ permalink raw reply	[flat|nested] 80+ messages in thread

end of thread, other threads:[~2023-03-07 13:37 UTC | newest]

Thread overview: 80+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-28 11:33 [PATCH 00/10] drm/i915: move DSC RC tables to drm_dsc_helper.c Dmitry Baryshkov
2023-02-28 11:33 ` [Intel-gfx] " Dmitry Baryshkov
2023-02-28 11:33 ` Dmitry Baryshkov
2023-02-28 11:33 ` [PATCH 01/10] drm/i915/dsc: change DSC param tables to follow the DSC model Dmitry Baryshkov
2023-02-28 11:33   ` [Intel-gfx] " Dmitry Baryshkov
2023-02-28 11:33   ` Dmitry Baryshkov
2023-02-28 15:56   ` Jani Nikula
2023-02-28 15:56     ` [Intel-gfx] " Jani Nikula
2023-02-28 15:56     ` Jani Nikula
2023-02-28 16:10     ` Dmitry Baryshkov
2023-02-28 16:10       ` [Intel-gfx] " Dmitry Baryshkov
2023-02-28 16:10       ` Dmitry Baryshkov
2023-02-28 11:33 ` [PATCH 02/10] drm/i915/dsc: move rc_buf_thresh values to common helper Dmitry Baryshkov
2023-02-28 11:33   ` [Intel-gfx] " Dmitry Baryshkov
2023-02-28 11:33   ` Dmitry Baryshkov
2023-02-28 12:24   ` Jani Nikula
2023-02-28 12:24     ` [Intel-gfx] " Jani Nikula
2023-02-28 12:24     ` Jani Nikula
2023-02-28 12:35     ` Dmitry Baryshkov
2023-02-28 12:35       ` [Intel-gfx] " Dmitry Baryshkov
2023-02-28 12:35       ` Dmitry Baryshkov
2023-02-28 12:49       ` Jani Nikula
2023-02-28 12:49         ` [Intel-gfx] " Jani Nikula
2023-02-28 12:49         ` Jani Nikula
2023-02-28 13:02         ` Dmitry Baryshkov
2023-02-28 13:02           ` [Intel-gfx] " Dmitry Baryshkov
2023-02-28 13:02           ` Dmitry Baryshkov
2023-02-28 16:01   ` Jani Nikula
2023-02-28 16:01     ` [Intel-gfx] " Jani Nikula
2023-02-28 16:01     ` Jani Nikula
2023-02-28 11:33 ` [PATCH 03/10] drm/i915/dsc: move DSC tables to DRM DSC helper Dmitry Baryshkov
2023-02-28 11:33   ` [Intel-gfx] " Dmitry Baryshkov
2023-02-28 11:33   ` Dmitry Baryshkov
2023-02-28 14:49   ` kernel test robot
2023-02-28 14:49     ` [Intel-gfx] " kernel test robot
2023-02-28 14:49     ` kernel test robot
2023-02-28 15:10   ` kernel test robot
2023-02-28 15:10     ` [Intel-gfx] " kernel test robot
2023-02-28 15:10     ` kernel test robot
2023-02-28 16:11   ` Jani Nikula
2023-02-28 16:11     ` [Intel-gfx] " Jani Nikula
2023-02-28 16:11     ` Jani Nikula
2023-02-28 11:33 ` [PATCH 04/10] drm/i915/dsc: stop using interim structure for calculated params Dmitry Baryshkov
2023-02-28 11:33   ` [Intel-gfx] " Dmitry Baryshkov
2023-02-28 11:33   ` Dmitry Baryshkov
2023-02-28 16:19   ` Jani Nikula
2023-02-28 16:19     ` [Intel-gfx] " Jani Nikula
2023-02-28 16:19     ` Jani Nikula
2023-02-28 11:33 ` [PATCH 05/10] drm/display/dsc: use flat array for rc_parameters lookup Dmitry Baryshkov
2023-02-28 11:33   ` [Intel-gfx] " Dmitry Baryshkov
2023-02-28 11:33   ` Dmitry Baryshkov
2023-02-28 16:28   ` Jani Nikula
2023-02-28 16:28     ` Jani Nikula
2023-02-28 16:28     ` [Intel-gfx] " Jani Nikula
2023-02-28 11:33 ` [PATCH 06/10] drm/display/dsc: split DSC 1.2 and DSC 1.1 (pre-SCR) parameters Dmitry Baryshkov
2023-02-28 11:33   ` [Intel-gfx] " Dmitry Baryshkov
2023-02-28 11:33   ` Dmitry Baryshkov
2023-02-28 16:33   ` Jani Nikula
2023-02-28 16:33     ` [Intel-gfx] " Jani Nikula
2023-02-28 16:33     ` Jani Nikula
2023-02-28 11:33 ` [PATCH 07/10] drm/display/dsc: include the rest of pre-SCR parameters Dmitry Baryshkov
2023-02-28 11:33   ` [Intel-gfx] " Dmitry Baryshkov
2023-02-28 11:33   ` Dmitry Baryshkov
2023-02-28 16:31   ` Jani Nikula
2023-02-28 16:31     ` [Intel-gfx] " Jani Nikula
2023-02-28 16:31     ` Jani Nikula
2023-03-07 13:37     ` [Intel-gfx] " Dmitry Baryshkov
2023-03-07 13:37       ` Dmitry Baryshkov
2023-03-07 13:37       ` Dmitry Baryshkov
2023-02-28 11:33 ` [PATCH 08/10] drm/display/dsc: add YCbCr 4:2:2 and 4:2:0 RC parameters Dmitry Baryshkov
2023-02-28 11:33   ` [Intel-gfx] " Dmitry Baryshkov
2023-02-28 11:33   ` Dmitry Baryshkov
2023-02-28 11:33 ` [PATCH 09/10] drm/display/dsc: add helper to set semi-const parameters Dmitry Baryshkov
2023-02-28 11:33   ` [Intel-gfx] " Dmitry Baryshkov
2023-02-28 11:33   ` Dmitry Baryshkov
2023-02-28 11:33 ` [PATCH 10/10] drm/msm/dsi: use new helpers for DSC setup Dmitry Baryshkov
2023-02-28 11:33   ` [Intel-gfx] " Dmitry Baryshkov
2023-02-28 11:33   ` Dmitry Baryshkov
2023-02-28 12:03 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: move DSC RC tables to drm_dsc_helper.c Patchwork
2023-02-28 12:57 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.