]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/xelpd: Calculate VDSC RC parameters
authorVandita Kulkarni <vandita.kulkarni@intel.com>
Wed, 19 May 2021 00:06:09 +0000 (17:06 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 20 May 2021 06:59:11 +0000 (23:59 -0700)
commitdb514cac08fd4861a3b221bed5f21b441a1242c3
treec2a8c78ee084ae4bf46d590213b97278e11ed941
parent32f9402d56d876055ce0b75f41130de33072d5a7
drm/i915/xelpd: Calculate VDSC RC parameters

Add methods to calculate rc parameters for all bpps, against the fixed
arrays that we already have for 8,10,12 valid o/p bpps, to cover RGB 444
formats.  Our hw doesn't support YUV compression yet.  The calculations
used here are from VESA C model for DSC 1.1

v2:
 - Checkpatch fixes

Cc: Manasi Navare <manasi.d.navare@intel.com>
Cc: Juha-Pekka Heikkil <juha-pekka.heikkila@intel.com>
Signed-off-by: Vandita Kulkarni <vandita.kulkarni@intel.com>
Signed-off-by: Mohammed Khajapasha <mohammed.khajapasha@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210519000625.3184321-2-lucas.demarchi@intel.com
drivers/gpu/drm/i915/display/intel_vdsc.c