Message ID | 1461164389-15726-2-git-send-email-robert.foss@collabora.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Wed, Apr 20, 2016 at 10:59:43AM -0400, robert.foss@collabora.com wrote: > From: Robert Foss <robert.foss@collabora.com> > > The VC4 DRM currently uses 10 planes which is more than any > other DRM, let's allocate space for the worst case scenario. > > Signed-off-by: Robert Foss <robert.foss@collabora.com> > --- > lib/igt_kms.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/igt_kms.h b/lib/igt_kms.h > index 2c189ed..3edfc3d 100644 > --- a/lib/igt_kms.h > +++ b/lib/igt_kms.h > @@ -267,7 +267,7 @@ struct igt_pipe { > igt_display_t *display; > enum pipe pipe; > bool enabled; > -#define IGT_MAX_PLANES 4 > +#define IGT_MAX_PLANES 10 Reading more, don't we need to update stuff like kmstest_plane_name too? -Daniel > int n_planes; > igt_plane_t planes[IGT_MAX_PLANES]; > uint64_t background; /* Background color MSB BGR 16bpc LSB */ > -- > 2.5.0 >
diff --git a/lib/igt_kms.h b/lib/igt_kms.h index 2c189ed..3edfc3d 100644 --- a/lib/igt_kms.h +++ b/lib/igt_kms.h @@ -267,7 +267,7 @@ struct igt_pipe { igt_display_t *display; enum pipe pipe; bool enabled; -#define IGT_MAX_PLANES 4 +#define IGT_MAX_PLANES 10 int n_planes; igt_plane_t planes[IGT_MAX_PLANES]; uint64_t background; /* Background color MSB BGR 16bpc LSB */