]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/i915/dp: Pass .4 BPP values to {icl,xelpd}_dsc_compute_link_config()
authorJani Nikula <jani.nikula@intel.com>
Fri, 31 Jan 2025 12:49:57 +0000 (14:49 +0200)
committerJani Nikula <jani.nikula@intel.com>
Mon, 3 Feb 2025 14:31:18 +0000 (16:31 +0200)
commit99f4cb4fb222b42703b43551d55c9ec2520d9d5b
tree4d2ec8b21d6b7e76f253669f62c057d75075e897
parent2e74748c4c0249930c8edcf5ae7b6e5c8c391f7a
drm/i915/dp: Pass .4 BPP values to {icl,xelpd}_dsc_compute_link_config()

Try to keep the variables in the same domain a bit longer to reduce
juggling between integers and .4 fixed point. Change parameter order to
min, max while at it.

For now, keep the juggling in dsc_compute_compressed_bpp() ensure
min/max will always have 0 fractional part. To be fixed later.

Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/e72f153fd28755e41ee8c5a7b9e6de257c3b27ac.1738327620.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_dp.c