mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-11 18:06:13 +00:00
lib: Don't forget to close the pipe ctl fd in igt_pipe_crc_reset()
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
parent
b1945f8c46
commit
9e21c255e7
@ -232,6 +232,8 @@ void igt_pipe_crc_reset(void)
|
|||||||
igt_pipe_crc_pipe_off(fd, PIPE_A);
|
igt_pipe_crc_pipe_off(fd, PIPE_A);
|
||||||
igt_pipe_crc_pipe_off(fd, PIPE_B);
|
igt_pipe_crc_pipe_off(fd, PIPE_B);
|
||||||
igt_pipe_crc_pipe_off(fd, PIPE_C);
|
igt_pipe_crc_pipe_off(fd, PIPE_C);
|
||||||
|
|
||||||
|
close(fd);
|
||||||
}
|
}
|
||||||
|
|
||||||
void igt_pipe_crc_free(igt_pipe_crc_t *pipe_crc)
|
void igt_pipe_crc_free(igt_pipe_crc_t *pipe_crc)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user