mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-21 21:32:56 +00:00
lib/igt.cocci: Add stanza for for_each_pipe
Damien dodged this ... Also run the script while at it. v2: Don't just capture identifiers for pipe, but also expressions. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
@@ -303,7 +303,7 @@ static void run_test(data_t *data, void (*testfunc)(data_t *), int cursor_w, int
|
||||
|
||||
for_each_connected_output(display, output) {
|
||||
data->output = output;
|
||||
for (p = 0; p < igt_display_get_n_pipes(display); p++) {
|
||||
for_each_pipe(display, p) {
|
||||
data->pipe = p;
|
||||
|
||||
if (!prepare_crtc(data, output, cursor_w, cursor_h))
|
||||
|
||||
Reference in New Issue
Block a user