diff options
author | Jani Nikula <jani.nikula@intel.com> | 2024-01-11 19:21:17 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2024-01-16 11:19:53 +0200 |
commit | 9eb4826f2856870a72432e896aab7d920cb410e1 (patch) | |
tree | 7909d178d5c15a7cf136f3671a95736c2f8ae6ab /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 37e2100312b17ae29d38884a356e4dd686cdad5a (diff) |
drm/i915/opregion: abstract ASLE presence check
Add a function to check the opregion ASLE presence instead of accessing
the opregion structures directly.
Reorder the checks in i915_has_asle() to avoid the function call if
possible.
Cc: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
Reviewed-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1829415d3e7b29e78c46b20bca8175ef373bcd92.1704992868.git.jani.nikula@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions