mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-11 18:06:13 +00:00
kms_rotation_crc: Always disable the plane in cleanup
There's no need for this check, always use set_fb(NULL) on the plane. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
parent
13e979c764
commit
eb81a922c7
@ -185,11 +185,9 @@ static void cleanup_crtc(data_t *data, igt_output_t *output)
|
|||||||
data->pipe_crc = NULL;
|
data->pipe_crc = NULL;
|
||||||
|
|
||||||
igt_remove_fb(data->gfx_fd, &data->fb);
|
igt_remove_fb(data->gfx_fd, &data->fb);
|
||||||
|
igt_plane_set_fb(data->plane, NULL);
|
||||||
if (data->plane != NULL)
|
|
||||||
igt_plane_set_fb(data->plane, NULL);
|
|
||||||
|
|
||||||
igt_output_set_pipe(output, PIPE_ANY);
|
igt_output_set_pipe(output, PIPE_ANY);
|
||||||
|
|
||||||
igt_display_commit(display);
|
igt_display_commit(display);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user