diff options
author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | 2019-01-31 09:48:46 -0500 |
---|---|---|
committer | Harry Wentland <harry.wentland@amd.com> | 2019-02-05 14:17:22 -0500 |
commit | 3bb24a9f2ae732a1299d18e921d88945c6bb00ea (patch) | |
tree | 0059d51d24277c2734b3dd26e1564471ec90f02d /tools/intel_infoframes.c | |
parent | 1f89f1a04016cef20aa278ad05508cafdb9976f5 (diff) |
lib/igt_kms: Don't reset VRR_ENABLED on every commit
If the VRR tests failed then there was a chance that VRR could be
left enabled when exiting the test so the VRR_ENABLED property was
reset to 0 whenever the pipe was reset.
However, in doing so the pipe's state was considered changed even
if VRR_ENABLED was already 0. This causes the pipe to be added to
commits where it previously wasn't.
Other tests with properties that can persist for failures (like color
management) don't bother resetting the properties - so this patch
changes VRR_ENABLED to work the same.
Cc: Harry Wentland <harry.wentland@amd.com>
Cc: Petri Latvala <petri.latvala@intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109490
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Diffstat (limited to 'tools/intel_infoframes.c')
0 files changed, 0 insertions, 0 deletions