Re: [Intel-gfx] [PATCH i-g-t v3 2/7] lib/igt_kms: Fix off-by-one bug on skip of missing pipe

2017-08-31 Thread Maarten Lankhorst
Op 31-08-17 om 09:06 schreef Maarten Lankhorst: > Op 31-08-17 om 08:18 schreef Gabriel Krisman Bertazi: >> 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 unxesting

Re: [Intel-gfx] [PATCH i-g-t v3 2/7] lib/igt_kms: Fix off-by-one bug on skip of missing pipe

2017-08-31 Thread Maarten Lankhorst
Op 31-08-17 om 08:18 schreef Gabriel Krisman Bertazi: > 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 unxesting pipe. > > Signed-off-by: Gabriel Krisman Bertazi

[Intel-gfx] [PATCH i-g-t v3 2/7] lib/igt_kms: Fix off-by-one bug on skip of missing pipe

2017-08-31 Thread Gabriel Krisman Bertazi
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 unxesting pipe. Signed-off-by: Gabriel Krisman Bertazi --- lib/igt_kms.c | 2 +- 1 file changed, 1