aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorJosé Roberto de Souza <[email protected]>2021-10-12 18:00:46 -0700
committerJani Nikula <[email protected]>2021-10-19 10:45:52 +0300
commit59be177a909ac320e5f4b2a461ac09e20f35b2d8 (patch)
tree18cf567d4efbb83a5f3e204b0e1a9cab535951a6 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent519d81956ee277b4419c723adfb154603c2565ba (diff)
drm/i915: Remove memory frequency calculation
This memory frequency calculated is only used to check if it is zero, what is not useful as it will never actually be zero. Also the calculation is wrong, we should be checking other bit to select the appropriate frequency multiplier while this code is stuck with a fixed multiplier. So here dropping it as whole. v2: - Also remove memory frequency calculation for gen9 LP platforms Cc: Yakui Zhao <[email protected]> Cc: Matt Roper <[email protected]> Fixes: 5d0c938ec9cc ("drm/i915/gen11+: Only load DRAM information from pcode") Signed-off-by: José Roberto de Souza <[email protected]> Reviewed-by: Matt Roper <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit 83f52364b15265aec47d07e02b0fbf4093ab8554) Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions