diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2025-06-18 21:49:58 +0300 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2025-07-01 23:53:16 +0300 |
commit | d8390768dcf6f5a78af56aa03797a076871b01f3 (patch) | |
tree | 78004bea9c064f6a9f251f4fed428c5d61d6921e /scripts/lib/kdoc/kdoc_output.py | |
parent | afcad92411772a1f361339f22c49f855c6cc7d0f (diff) | |
download | linux-d8390768dcf6f5a78af56aa03797a076871b01f3.tar.xz |
drm/xe/guc_pc: Add _locked variant for min/max freq
There are places in which the getters/setters are called one after the
other causing a multiple lock()/unlock(). These are not currently a
problem since they are all happening from the same thread, but there's a
race possibility as calls are added outside of the early init when the
max/min and stashed values need to be correlated.
Add the _locked() variants to prepare for that.
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://lore.kernel.org/r/20250618-wa-22019338487-v5-1-b888388477f2@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
(cherry picked from commit 1beae9aa2b88d3a02eb666e7b777eb2d7bc645f4)
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions