diff options
author | David Zhang <dingchen.zhang@amd.com> | 2022-04-06 10:48:38 -0400 |
---|---|---|
committer | Aurabindo Pillai <aurabindo.pillai@amd.com> | 2022-04-06 15:31:50 -0400 |
commit | b4d8d30a4ec8dae5c1c403f41348c073a9591d9f (patch) | |
tree | 22a0f6ee4186fe4573ef6fba23ceac664ecf0e76 /scripts/code_cov_gather_on_test.py | |
parent | 7506029428b3740395ce086daf86b9498fbbeb77 (diff) |
lib/igt_amd: add helper to R/W DM visual confirm debug option
[why & how]
AMDGPU DM exposure a debugfs interface entry of visual confirm
debug option which is configured for debugging like surface
programming. It also supports the PSR feature visual confirm
debugging. We'd add helpers to read/write visual confirm debug
option from/to such interface entry.
The interface entry "amdgpu_dm_visual_confirm" is located in the
debugfs directory. We'd add the enumeration of visual confirm
option which is aligned to the amdgpu kernel driver.
Changes in v2:
--------------------
- close the file descriptor before return in helper of setting
visual confirm
- drop the '_dm_' from helpers to check visual confirm debugfs
existence, get/set option from/to the debugfs entry.
Cc: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Cc: Harry Wentland <harry.wentland@amd.com>
Cc: Leo Li <sunpeng.li@amd.com>
Cc: Aurabindo Pillai <aurabindo.pillai@amd.com>
Cc: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: David Zhang <dingchen.zhang@amd.com>
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Diffstat (limited to 'scripts/code_cov_gather_on_test.py')
0 files changed, 0 insertions, 0 deletions