aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorGustavo Sousa <gustavo.sousa@intel.com>2024-11-08 09:57:17 -0300
committerMatt Roper <matthew.d.roper@intel.com>2024-11-08 09:54:05 -0800
commit5a83381fc4715e885e4951e76b4c094bda47d16a (patch)
treeb0d78384f1895291c21ac873b69101ff515da603 /tools/perf/scripts/python/task-analyzer.py
parentdrm/i915/dmc_wl: Deal with existing references when disabling (diff)
downloadlinux-5a83381fc4715e885e4951e76b4c094bda47d16a.tar.gz
linux-5a83381fc4715e885e4951e76b4c094bda47d16a.zip
drm/i915/dmc_wl: Couple enable/disable with dynamic DC states
Enabling and disabling the DMC wakelock should be done as part of enabling and disabling of dynamic DC states, respectively. We should not enable or disable DMC wakelock independently of DC states, otherwise we would risk ending up with an inconsistent state where dynamic DC states are enabled and the DMC wakelock is disabled, going against current recommendations and making MMIO transactions potentially slower. In future display IPs that could have a worse outcome if DMC trap implementation is completely removed. So, let's make things safer by tying stuff together, removing the independent calls, and also put warnings in place to detect inconsistent calls. Reviewed-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com> Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20241108130218.24125-13-gustavo.sousa@intel.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions