diff options
author | Imre Deak <imre.deak@intel.com> | 2024-04-17 01:10:05 +0300 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2024-04-19 17:20:53 +0300 |
commit | 0f1ceeec1b207a2b2432508b6f4d7fc83842cd0e (patch) | |
tree | 852db17d4b1cbebb5337d07766cb07e9e9f37fa6 /block/blk-integrity.c | |
parent | e54cc6deecceb83d4cd004dc37f0f099c14f82ea (diff) |
drm/i915/dp_mst: Sanitize calculating the DSC DPT bpp limit
Instead of checking each compressed bpp value against the maximum
DSC/DPT bpp, simplify things by calculating the maximum bpp upfront and
limiting the range of bpps looped over using this maximum.
While at it add a comment about the origin of the DSC/DPT bpp limit.
Bspec: 49259, 68912
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240416221010.376865-7-imre.deak@intel.com
Diffstat (limited to 'block/blk-integrity.c')
0 files changed, 0 insertions, 0 deletions