diff options
| author | Ankit Nautiyal <[email protected]> | 2023-08-17 19:54:45 +0530 |
|---|---|---|
| committer | Ankit Nautiyal <[email protected]> | 2023-08-18 09:42:16 +0530 |
| commit | 8d5284765a43f4df2eae35334e697d24fad38b4f (patch) | |
| tree | e7b3ff8ca5bfcd9549f01b80684f78d76e373998 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | fd279d21edd2fc4f965ec753d756d0d996d711e8 (diff) | |
drm/i915/dp: Use consistent name for link bpp and compressed bpp
Currently there are many places where we use output_bpp for link bpp and
compressed bpp.
Lets use consistent naming:
output_bpp : The intermediate value taking into account the
output_format chroma subsampling.
compressed_bpp : target bpp for the DSC encoder.
link_bpp : final bpp used in the link.
For 444 sampling without DSC:
link_bpp = output_bpp = pipe_bpp
For 420 sampling without DSC:
output_bpp = pipe_bpp / 2
link_bpp = output_bpp
For 444 sampling with DSC:
output_bpp = pipe_bpp
link_bpp = compressed_bpp, computed with output_bpp (i.e. pipe_bpp in
this case)
For 420 sampling with DSC:
output_bpp = pipe_bpp/2
link_bpp = compressed_bpp, computed with output_bpp
Signed-off-by: Ankit Nautiyal <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions