aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorJani Nikula <[email protected]>2024-01-11 19:21:17 +0200
committerJani Nikula <[email protected]>2024-01-16 11:19:53 +0200
commit9eb4826f2856870a72432e896aab7d920cb410e1 (patch)
tree7909d178d5c15a7cf136f3671a95736c2f8ae6ab /lib/memory-notifier-error-inject.c
parent37e2100312b17ae29d38884a356e4dd686cdad5a (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 <[email protected]> Reviewed-by: Radhakrishna Sripada <[email protected]> Signed-off-by: Jani Nikula <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/1829415d3e7b29e78c46b20bca8175ef373bcd92.1704992868.git.jani.nikula@intel.com
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions