]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/dp: Move max DSC BPP reduction one level higher
authorJani Nikula <jani.nikula@intel.com>
Fri, 31 Jan 2025 12:49:58 +0000 (14:49 +0200)
committerJani Nikula <jani.nikula@intel.com>
Mon, 3 Feb 2025 14:31:22 +0000 (16:31 +0200)
commita38619fc93ade0d5531f88b990825fbf50a79071
tree514e71581069267620e1972eedde81311575170e
parent99f4cb4fb222b42703b43551d55c9ec2520d9d5b
drm/i915/dp: Move max DSC BPP reduction one level higher

Now that {icl,xelpd}_dsc_compute_link_config() take .4 fixed point as
parameter, move the common max DSC BPP reduction one level higher. Use
intel_dp_dsc_bpp_step() to compute the step, and pass on to both
platform specific functions. (Though it's unused for now in
icl_dsc_compute_link_config()).

We can drop the pipe_bpp and connector parameters.

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