diff options
author | Ankit Nautiyal <[email protected]> | 2020-12-18 16:07:21 +0530 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2020-12-22 17:55:53 +0200 |
commit | 6e6cb758e0356032599fb5155e9261be72e629df (patch) | |
tree | 65b7a50e1ea8f2a997e0db5499a8110fe67a405e /lib/mpi/mpi-sub-ui.c | |
parent | b9d96dacdc3d983eae234b52401edb56dbceb764 (diff) |
drm/i915: Add helper functions for calculating DSC parameters for HDMI2.1
The DP-HDMI2.1 PCON spec provides way for a source to set PPS
parameters: slice height, slice width and bits_per_pixel, based on
the HDMI2.1 sink capabilities. The DSC encoder of the PCON will
respect these parameters, while preparing the 128 byte PPS.
This patch adds helper functions to calculate these PPS paremeters as
per the HDMI2.1 specification.
v2: Addressed review comments given by Uma Shankar:
-added documentation for functions
-fixed typos and errors
Signed-off-by: Ankit Nautiyal <[email protected]>
Reviewed-by: Uma Shankar <[email protected]>
[Jani: Fixed checkpatch SUSPECT_CODE_INDENT, TYPO_SPELLING]
Signed-off-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions