drm/i915: Start using plane scale factor for relative data rate
authorStanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Wed, 19 Jul 2023 10:48:33 +0000 (13:48 +0300)
committerStanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Thu, 20 Jul 2023 08:08:14 +0000 (11:08 +0300)
commita86c75dcdd0374444514c1e40411177ff7afe9bd
treee95921ce7036180861b284c7539ccbfe89cd9d70
parentc5741c5c1122b7944d9af185c83ab7056153259e
drm/i915: Start using plane scale factor for relative data rate

BSpec clearly instructs us to use plane scale factor when calculating
relative data rate to be used when allocating DDB blocks for each plane.
For some reason we use scale factor for data_rate calculation, which is
used for BW calculations, however we are not using it for DDB calculations.
So lets fix it as described in BSpec 68907.

Signed-off-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Reviewed-by: Garg, Nemesa <nemesa.garg@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230719104833.25366-1-stanislav.lisovskiy@intel.com
drivers/gpu/drm/i915/display/intel_atomic_plane.c