diff options
| author | Lucas De Marchi <[email protected]> | 2025-06-18 18:49:58 +0000 |
|---|---|---|
| committer | Lucas De Marchi <[email protected]> | 2025-07-01 20:53:16 +0000 |
| commit | d8390768dcf6f5a78af56aa03797a076871b01f3 (patch) | |
| tree | 78004bea9c064f6a9f251f4fed428c5d61d6921e /fs/btrfs/dev-replace.c | |
| parent | drm/xe: Make WA BB part of LRC BO (diff) | |
| download | kernel-d8390768dcf6f5a78af56aa03797a076871b01f3.tar.gz kernel-d8390768dcf6f5a78af56aa03797a076871b01f3.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lucas De Marchi <[email protected]>
(cherry picked from commit 1beae9aa2b88d3a02eb666e7b777eb2d7bc645f4)
Signed-off-by: Lucas De Marchi <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
