diff options
author | Juan Escamilla <jcescami@wasd.net> | 2024-01-10 04:03:00 +0300 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2024-01-10 23:16:20 +0300 |
commit | 284781470de227e6177e491ad091d72492290a65 (patch) | |
tree | 1954d8768c52e7650ad940d186fb1a8d75c83c4a /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 0e00a8814eec16057e783170456442adde80c0b4 (diff) | |
download | linux-284781470de227e6177e491ad091d72492290a65.tar.xz |
drm/i915/gt: Use rc6.supported flag from intel_gt for rc6_enable sysfs
Currently if rc6 is supported, it gets enabled and the sysfs files for
rc6_enable_show and rc6_enable_dev_show uses masks to check information
from drm_i915_private.
However rc6_support functions take more variables and conditions into
consideration and thus these masks are not enough for most of the modern
hardware and it is simpley lyting to the user.
Let's fix it by at least use the rc6.supported flag from intel_gt
information.
Signed-off-by: Juan Escamilla <jcescami@wasd.net>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240110010302.553597-1-jcescami@wasd.net
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions