diff options
author | Shrikanth Hegde <[email protected]> | 2024-03-07 14:27:24 +0530 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2024-03-26 08:58:59 +0100 |
commit | d0f5d3cefc259f498456338d319098dc84393b24 (patch) | |
tree | fafa3543636916db4cf355cc0716286f67dedd1a /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | be3a51e68f2f1b17250ce40d8872c7645b7a2991 (diff) |
sched/fair: Introduce is_rd_overutilized() helper function to access root_domain::overutilized
The root_domain::overutilized field is READ_ONCE() accessed in
multiple places, which could be simplified with a helper function.
This might also make it more apparent that it needs to be used
only in case of EAS.
No change in functionality intended.
Signed-off-by: Shrikanth Hegde <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Reviewed-by: Qais Yousef <[email protected]>
Reviewed-by: Vincent Guittot <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions