From 5f8a33ad1a4ab5ce0d1eb2ba68ccc284d663531c Mon Sep 17 00:00:00 2001 From: Ville Syrjälä Date: Thu, 6 Sep 2018 16:34:15 +0300 Subject: lib/igt_fb: Make fb size 64bit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Switch all fb size handling to 64bits to accomodate >4GiB framebuffers. Signed-off-by: Ville Syrjälä Reviewed-by: Chris Wilson --- tests/kms_frontbuffer_tracking.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/kms_frontbuffer_tracking.c') diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c index e9abceb6..b33f3128 100644 --- a/tests/kms_frontbuffer_tracking.c +++ b/tests/kms_frontbuffer_tracking.c @@ -465,7 +465,8 @@ static void create_fb(enum pixel_format pformat, int width, int height, uint64_t tiling, int plane, struct igt_fb *fb) { uint32_t format; - unsigned int size, stride; + uint64_t size; + unsigned int stride; uint64_t tiling_for_size; switch (pformat) { -- cgit v1.2.3