diff options
author | José Roberto de Souza <jose.souza@intel.com> | 2021-02-22 09:09:50 -0800 |
---|---|---|
committer | José Roberto de Souza <jose.souza@intel.com> | 2021-03-02 05:46:06 -0800 |
commit | 970aae7166c50851b62ed94f02964f402fa4b701 (patch) | |
tree | 0b6a493682dbfd3c519d306805fcfdcac121a29f /lib/igt_psr.h | |
parent | c6a54879da62c956549b89e3feaa52d4e6039b9f (diff) |
tests/kms_psr2_sf: Enable selective fetch feature in kernel
Enable PSR2 selective fetch using debugfs during test setup, this will
allow us to have some test coverage of this feature by CI.
Cc: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Cc: Pankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Diffstat (limited to 'lib/igt_psr.h')
-rw-r--r-- | lib/igt_psr.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/igt_psr.h b/lib/igt_psr.h index 25111cc2..c47b197b 100644 --- a/lib/igt_psr.h +++ b/lib/igt_psr.h @@ -32,7 +32,8 @@ enum psr_mode { PSR_MODE_1, - PSR_MODE_2 + PSR_MODE_2, + PSR_MODE_2_SEL_FETCH, }; bool psr_disabled_check(int debugfs_fd); |