diff options
author | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2016-12-22 18:42:06 -0200 |
---|---|---|
committer | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2017-01-04 16:06:20 -0200 |
commit | 8aa7ea4f84b0e1384b78f4cc9b136ea5b641055a (patch) | |
tree | 7460f6266f154e71169c07fb62cb2eb6f22aa1bc /man | |
parent | b97f5241139a29457d8fabd429b751e6a3247181 (diff) |
kms_frontbuffer_tracking: refactor sink CRC reliability handling
What I'm currently seeing is that sometimes the first check during
setup_sink_crc() returns valid sink CRC, but then the subsequent
checks return ETIMEDOUT. In these cases, we keep getting flooded by
messages saying that our sink CRC is unreliable and that the results
differ. This is annoying for the FBC tests where sink CRC is not
mandatory.
Since this case shows it's useless to try to check for sink CRC
reliability before the actual tests, refactor the code in a way that
if at any point we detect that sink CRC is unreliable we'll mark it as
such and stop flooding the logs. For the tests where it's mandatory
we'll still keep the same SKIP behavior.
This refactor also allows us to just call get_sink_crc() in the
setup_sink_crc() function instead of having to reimplement the same
logic.
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions