summaryrefslogtreecommitdiff
path: root/tests/kms_rotation_crc.c
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2014-07-08 12:02:42 +0100
committerDamien Lespiau <damien.lespiau@intel.com>2014-07-11 15:12:21 +0100
commitbbd5e2ec6c7e9ae7f8eed94305e6640b4c3adc7f (patch)
tree1cb0eac01e19db160d7996146790767c3f58cfcf /tests/kms_rotation_crc.c
parentf00f767ceaa0ee790bbe7dd71d8210fa417483c1 (diff)
kms_rotation_crc: Align a few wrapped lines to the opening brace
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'tests/kms_rotation_crc.c')
-rw-r--r--tests/kms_rotation_crc.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index b079376c..485a6dfc 100644
--- a/tests/kms_rotation_crc.c
+++ b/tests/kms_rotation_crc.c
@@ -83,10 +83,10 @@ static bool prepare_crtc(data_t *data)
igt_pipe_crc_free(data->pipe_crc);
data->pipe_crc = igt_pipe_crc_new(data->pipe,
- INTEL_PIPE_CRC_SOURCE_AUTO);
+ INTEL_PIPE_CRC_SOURCE_AUTO);
if (!data->pipe_crc) {
igt_info("auto crc not supported on this connector with pipe %i\n",
- data->pipe);
+ data->pipe);
return false;
}
@@ -143,10 +143,10 @@ static bool prepare_crtc(data_t *data)
h = mode->vdisplay;
fb_id = igt_create_fb(data->gfx_fd,
- mode->hdisplay, mode->vdisplay,
- DRM_FORMAT_XRGB8888,
- false, /* tiled */
- &data->fb);
+ mode->hdisplay, mode->vdisplay,
+ DRM_FORMAT_XRGB8888,
+ false, /* tiled */
+ &data->fb);
igt_assert(fb_id);
cr = igt_get_cairo_ctx(data->gfx_fd, &data->fb);
@@ -218,7 +218,7 @@ static int connector_find_plane(int gfx_fd, uint32_t pipe, uint32_t type)
plane_resources = drmModeGetPlaneResources(gfx_fd);
if (!plane_resources) {
igt_info("drmModeGetPlaneResources failed: %s\n",
- strerror(errno));
+ strerror(errno));
return 0;
}
@@ -226,7 +226,7 @@ static int connector_find_plane(int gfx_fd, uint32_t pipe, uint32_t type)
ovr = drmModeGetPlane(gfx_fd, plane_resources->planes[i]);
if (!ovr) {
igt_info("drmModeGetPlane failed: %s\n",
- strerror(errno));
+ strerror(errno));
continue;
}