drm/i915: Update memory bandwidth parameters
authorRadhakrishna Sripada <radhakrishna.sripada@intel.com>
Tue, 14 Sep 2021 22:07:44 +0000 (15:07 -0700)
committerJani Nikula <jani.nikula@intel.com>
Tue, 21 Sep 2021 10:36:34 +0000 (13:36 +0300)
commit2566fffd6011df17dfba0b216fe9a154d3eb3f75
tree1de1f4c37d93c88f1818d8da0b909fa88c50bf92
parente4e737bb5c170df6135a127739a9e6148ee3da82
drm/i915: Update memory bandwidth parameters

Earlier while calculating derated bw we would use 90% of the calculated
bw. Starting ADL-P we use a non standard derating. Updating the formulae
to reflect the same.

Bspec: 64631

v2: Use the new derating value only for ADL-P(MattR)

Fixes: 4d32fe2f14a7 ("drm/i915/adl_p: Update memory bandwidth parameters")
Cc: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210914220744.16042-1-radhakrishna.sripada@intel.com
(cherry picked from commit f6d66fc8cf5f673ea76407be84dc17dbb3eda108)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_bw.c