projects
/
platform
/
upstream
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aef475b
)
kms_rotation_crc: Remove the test on output->valid
author
Damien Lespiau
<damien.lespiau@intel.com>
Tue, 8 Jul 2014 17:45:16 +0000
(18:45 +0100)
committer
Damien Lespiau
<damien.lespiau@intel.com>
Fri, 11 Jul 2014 14:12:22 +0000
(15:12 +0100)
This test is already done by the for_each_connected_output() macro.
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
tests/kms_rotation_crc.c
patch
|
blob
|
history
diff --git
a/tests/kms_rotation_crc.c
b/tests/kms_rotation_crc.c
index
ae0ca21
..
a68aece
100644
(file)
--- a/
tests/kms_rotation_crc.c
+++ b/
tests/kms_rotation_crc.c
@@
-83,15
+83,11
@@
static bool prepare_crtc(data_t *data, enum pipe pipe)
{
drmModeModeInfo *mode;
igt_display_t *display = &data->display;
- igt_output_t *output = data->output;
int fb_id;
igt_output_set_pipe(output, pipe);
igt_display_commit(display);
- if (!data->output->valid)
- return false;
-
/* create the pipe_crc object for this pipe */
if (data->pipe_crc)
igt_pipe_crc_free(data->pipe_crc);