diff options
author | 2025-01-31 14:50:03 +0200 | |
---|---|---|
committer | 2025-02-03 16:31:39 +0200 | |
commit | 73ef9abb239bcf2b4ed68d808e0935a4e0ee251b (patch) | |
tree | ed5661122c093c24911a45fdc1284e0c85b72fb2 /drivers/gpu/drm/i915/display/intel_dp_mst.c | |
parent | drm/i915/dp: Inline do_dsc_compute_compressed_bpp() (diff) | |
download | wireguard-linux-73ef9abb239bcf2b4ed68d808e0935a4e0ee251b.tar.xz wireguard-linux-73ef9abb239bcf2b4ed68d808e0935a4e0ee251b.zip |
drm/i915/dp: Simplify input BPP checks in intel_dp_dsc_compute_pipe_bpp()
Drop the extra local variables and simplify the conditions. We don't
have to try to special case the loop condition and break in the validity
checks.
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/5559b14d6af4e001677f23454d6bd8b3606b3d7a.1738327620.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.c')
0 files changed, 0 insertions, 0 deletions