diff options
| author | Ohad Sharabi <[email protected]> | 2021-05-29 23:26:10 +0300 |
|---|---|---|
| committer | Oded Gabbay <[email protected]> | 2021-06-18 15:23:41 +0300 |
| commit | 6a785e368a675008dc7a09938480a07ac1aa8956 (patch) | |
| tree | 1d4bdeeafcfd2fb1005fd27afed502ba908ca17e /tools/perf/scripts/python/stackcollapse.py | |
| parent | 84586de496103453c0c8dbf5c233f10381644cf5 (diff) | |
habanalabs: skip valid test for boot_dev_sts regs
Get rid of the need to check if boot_dev_sts is valid on every access
to value read from these registers.
This is done by storing the register value in hdev props ONLY if
register is enabled.
This way if register is NOT enabled all capability bits will not be set.
Signed-off-by: Ohad Sharabi <[email protected]>
Reviewed-by: Oded Gabbay <[email protected]>
Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions