]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: Fix fractional bpp handling in intel_link_bw_reduce_bpp()
authorImre Deak <imre.deak@intel.com>
Tue, 14 Nov 2023 14:10:12 +0000 (16:10 +0200)
committerImre Deak <imre.deak@intel.com>
Wed, 15 Nov 2023 17:27:30 +0000 (19:27 +0200)
commit7c8601aea3a5e8a829a73cc9e572309c12ce9aca
treea4144257b1ac9385f38deebbf83b51c794beb6bf
parentef75c25e8fedbfcf07ae4223fb7cc9ea5fb342a7
drm/i915: Fix fractional bpp handling in intel_link_bw_reduce_bpp()

Convert crtc_state->pipe_bpp to U6.4 format as expected by the rest of
the function.

Fixes: 59a266f068b4 ("drm/i915/display: Store compressed bpp in U6.4 format")
Cc: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Cc: Suraj Kandpal <suraj.kandpal@intel.com>
Cc: Sui Jingfeng <suijingfeng@loongson.cn>
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/20231114141012.603960-1-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_link_bw.c