diff options
author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | 2019-03-15 11:04:41 -0400 |
---|---|---|
committer | Harry Wentland <harry.wentland@amd.com> | 2019-03-27 11:17:54 -0400 |
commit | 66abe6748004ff7a6e46e08d96c36be31889d063 (patch) | |
tree | 9f31d7864deb52dba233a038a11ab9c0ec49d1f2 /tests/drm_import_export.c | |
parent | f1894f3239f417bfade0bb2bcdefc5e43701c5ec (diff) |
lib/debugfs: Don't do CRC sanity checks on amdgpu
A black FB on amdgpu returns a CRC of (0, 0, 0), which IGT considers
suspicious. All our CRC values are also 16-bit so a value of 0xffffffff
can't be obtained.
Drop the suspicious CRC checks on amdgpu by checking the device in
crc_sanity_checks. We need the drm_fd for this so pass in pipe_crc
to the function to get it. It makes more sense to me to do it this
way than to duplicate code and the explanation on both calls to
crc_sanity_checks.
v2: rebase
Cc: Leo Li <sunpeng.li@amd.com>
Cc: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Diffstat (limited to 'tests/drm_import_export.c')
0 files changed, 0 insertions, 0 deletions