Message ID | 20170124233400.5053-16-robert.foss@collabora.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Reviewed-by: Mika Kahola <mika.kahola@intel.com> On Tue, 2017-01-24 at 18:33 -0500, Robert Foss wrote: > Add changes reflecting the new support for dynamic number of planes > per pipe. > > Signed-off-by: Robert Foss <robert.foss@collabora.com> > --- > tests/kms_mmap_write_crc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tests/kms_mmap_write_crc.c b/tests/kms_mmap_write_crc.c > index eb8586d1..8a1331cc 100644 > --- a/tests/kms_mmap_write_crc.c > +++ b/tests/kms_mmap_write_crc.c > @@ -177,7 +177,7 @@ static void prepare_crtc(data_t *data) > DRM_FORMAT_XRGB8888, > LOCAL_DRM_FORMAT_MOD_NONE, > 1.0, 1.0, 1.0, &data->fb[0]); > > - data->primary = igt_output_get_plane(output, > IGT_PLANE_PRIMARY); > + data->primary = igt_output_get_plane_type(output, > DRM_PLANE_TYPE_PRIMARY); > > igt_plane_set_fb(data->primary, &data->fb[0]); > igt_display_commit(display);
diff --git a/tests/kms_mmap_write_crc.c b/tests/kms_mmap_write_crc.c index eb8586d1..8a1331cc 100644 --- a/tests/kms_mmap_write_crc.c +++ b/tests/kms_mmap_write_crc.c @@ -177,7 +177,7 @@ static void prepare_crtc(data_t *data) DRM_FORMAT_XRGB8888, LOCAL_DRM_FORMAT_MOD_NONE, 1.0, 1.0, 1.0, &data->fb[0]); - data->primary = igt_output_get_plane(output, IGT_PLANE_PRIMARY); + data->primary = igt_output_get_plane_type(output, DRM_PLANE_TYPE_PRIMARY); igt_plane_set_fb(data->primary, &data->fb[0]); igt_display_commit(display);
Add changes reflecting the new support for dynamic number of planes per pipe. Signed-off-by: Robert Foss <robert.foss@collabora.com> --- tests/kms_mmap_write_crc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)