diff options
author | Stanislav Lisovskiy <stanislav.lisovskiy@intel.com> | 2019-04-10 14:32:04 +0300 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2019-04-11 10:38:13 +0200 |
commit | 4f19828ff2a34400ad86eb43d4cb802dde46bd09 (patch) | |
tree | e1aebf44a0dbc5cb93036d39cea1bae2a025a463 /lib/intel_chipset.h | |
parent | 3e13d994529652fa63d3cf69cfa07bca121dd090 (diff) |
igt/tests/kms_atomic_transition: Skip transition, if no changes done
While fixing used amount of planes, discovered that if
wm_setup_plane is called with specific parameter that
gives parms[i].mask & mask == 0 for all used planes,
then subsequent wait_transition fails in assertion on fd_completed.
So added return value to wm_setup_plane, which would allow to
determine, if we really need to wait for any transitions.
v2: Fixed commit message, to properly describe a reasoning for
wm_setup_plane changes.
Signed-off-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Diffstat (limited to 'lib/intel_chipset.h')
0 files changed, 0 insertions, 0 deletions