diff options
author | Chris Wilson <chris.p.wilson@intel.com> | 2022-03-11 13:13:16 +0100 |
---|---|---|
committer | Zbigniew Kempczyński <zbigniew.kempczynski@intel.com> | 2022-03-11 18:00:51 +0100 |
commit | 2a557449956ad2519c6d0cd893ef27e9aaf9b32d (patch) | |
tree | 1e9f07eaceb7f7d564108890d67c2b0c560cdd0d /scripts/code_cov_gather_on_test.py | |
parent | dbabc151cbfc263e5d5810e96d908216d896b781 (diff) |
i915/gem_engine_topology: Add helpers for checking driver capabilities
If driver is able to report capabilities we want to use them in easy way.
For example it can support blitter "block_copy" (XY_BLOCK_COPY_BLT
command) and reports it in sysfs. We add then capabilities helpers to
read these properties. Helpers allows checking does driver knows
capability (by checking sysfs "known_capabilities" file) and supports it
(by checking sysfs "capabilities" file). Dedicated helper was added to
verify "block_copy" capability.
Signed-off-by: Chris Wilson <chris.p.wilson@intel.com>
Signed-off-by: Apoorva Singh <apoorva1.singh@intel.com>
Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Cc: Arjun Melkaveri <arjun.melkaveri@intel.com>
Reviewed-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Diffstat (limited to 'scripts/code_cov_gather_on_test.py')
0 files changed, 0 insertions, 0 deletions