diff options
| author | Ankit Nautiyal <[email protected]> | 2023-11-10 15:40:12 +0530 |
|---|---|---|
| committer | Ankit Nautiyal <[email protected]> | 2023-11-14 15:05:22 +0530 |
| commit | 87c8812f4b009b5a5d38b1560b45d4a1cc4b24c5 (patch) | |
| tree | 398412a10a73ed544b4605aa267baf50315c6405 /tools/perf/scripts/python | |
| parent | 59a266f068b4f9f54c58e4066ac9ee9023ad9232 (diff) | |
drm/i915/display: Consider fractional vdsc bpp while computing m_n values
MTL+ supports fractional compressed bits_per_pixel, with precision of
1/16. This compressed bpp is stored in U6.4 format.
Accommodate this precision while computing m_n values.
v1:
Replace the computation of 'data_clock' with 'data_clock =
DIV_ROUND_UP(data_clock, 16).' (Sui Jingfeng).
v2:
Rebase and pass bits_per_pixel in U6.4 format.
Signed-off-by: Ankit Nautiyal <[email protected]>
Signed-off-by: Mitul Golani <[email protected]>
Reviewed-by: Suraj Kandpal <[email protected]>
Reviewed-by: Sui Jingfeng <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions