summaryrefslogtreecommitdiff
path: root/scripts/code_cov_gather_on_test.py
diff options
context:
space:
mode:
authorAbhinav Kumar <quic_abhinavk@quicinc.com>2022-03-23 12:00:54 -0700
committerAbhinav Kumar <quic_abhinavk@quicinc.com>2022-03-28 12:50:16 -0700
commit49582e9bdf9378f2df62f911a15a2349ab8be0d1 (patch)
tree4b9bc44b06be32f3ae746afe88bf3dc193bf1679 /scripts/code_cov_gather_on_test.py
parente0746d25f9d913e1235cda992690f7aebc83cccc (diff)
lib/igt_kms: commit only the primary plane which is prepared
kms_atomic's test-only sub-test prepares only one primary plane but igt_plane_commit() tries to commit all the primary planes. For drivers having only one primary plane per display still work fine but when there is more than one primary plane, since FB_ID is not assigned for the second one, the API igt_primary_plane_commit_legacy() ends up calling the CRTC disable path incorrectly and hence failing the test. Since only one primary plane has been prepared, commit only that one by matching the primary_plane handle with the plane which has been passed. changes in v2: - compare the primary_plane and current plane's handle to determine whether the current plane is the primary plane instead of comparing the index Reviewed-by: Mark Yacoub <markyacoub@chromium.org> Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Diffstat (limited to 'scripts/code_cov_gather_on_test.py')
0 files changed, 0 insertions, 0 deletions