diff options
| author | Lucas De Marchi <lucas.demarchi@intel.com> | 2025-10-29 16:45:04 -0700 |
|---|---|---|
| committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2025-10-30 23:20:25 -0700 |
| commit | f90556a41fe5f4aa3d573451f7cb3e4471a3fd6d (patch) | |
| tree | 80c6f20a13d6e7f0ebbaae2de7f7b2a09798632a /tools/lib/python/kdoc/parse_data_structs.py | |
| parent | 59ab71d3db4bea8f884a3de95a23b13f67c8bb8e (diff) | |
drm/xe/gt_throttle: Tidy up perf reasons reading
There's no need to be so verbose with two functions per bit:
read_reason_xxxxx() and reason_xxxxx_show(). Drop the former and just
use a new is_throttled_by() that receives the mask as parameter.
Reviewed-by: Raag Jadav <raag.jadav@intel.com>
Link: https://patch.msgid.link/20251029-gt-throttle-cri-v3-2-d1f5abbb8114@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'tools/lib/python/kdoc/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions
