OSDN Git Service

drm/i915: Fix timeslots argument for DP DSC SST case
authorStanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Mon, 9 Jan 2023 14:02:10 +0000 (16:02 +0200)
committerStanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Mon, 9 Jan 2023 14:04:23 +0000 (16:04 +0200)
commita6fd6f94d36122d8962ba8a24194299a6bb1ecc1
tree23ba7200bb529a24aab7402ff264d49fb0eaa38c
parent7e095a4ca32a7169d7c9cce16318b532c85bb39b
drm/i915: Fix timeslots argument for DP DSC SST case

We now accept timeslots param exactly how the variable
sounds: amount of timeslots, but not ratio timeslots/64.
So for SST case(when we have all timeslots for use), it
should be 64, but not 1.
This caused some issues in the tests.

v2: Fixed comments

References: https://gitlab.freedesktop.org/drm/intel/-/issues/6860
Fixes: 52f14682ac4d ("drm/i915: Bpp/timeslot calculation fixes for DP MST DSC")
Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
Signed-off-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230109140210.25822-1-stanislav.lisovskiy@intel.com
drivers/gpu/drm/i915/display/intel_dp.c