summaryrefslogtreecommitdiff
path: root/tests/kms_ccs.c
diff options
context:
space:
mode:
authorGabriel Krisman Bertazi <krisman@collabora.co.uk>2017-11-15 17:36:57 -0200
committerArkadiusz Hiler <arkadiusz.hiler@intel.com>2017-12-04 16:13:55 +0200
commit5763c89080e3abb3955092f895896c9ee408e9e1 (patch)
treeec2236fe516f80e3f9e891ce91432dee74d0969c /tests/kms_ccs.c
parent5ab074fc1081c29fe3e9ccc53ce4cc43520faded (diff)
lib/igt_kms: Fix off-by-one bug on skip of missing pipe
display->n_pipes is zero-indexed, so N returned in igt_display_get_n_pipes is already not a valid pipe. This patch prevents kms_ccs from going nuts when testing the first unexisting pipe. Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk> Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Diffstat (limited to 'tests/kms_ccs.c')
0 files changed, 0 insertions, 0 deletions