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_rotation_crc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/kms_rotation_crc.c') diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c index 5ed0c0b3..f73c6a39 100644 --- a/tests/kms_rotation_crc.c +++ b/tests/kms_rotation_crc.c @@ -403,7 +403,8 @@ static void test_plane_rotation_exhaust_fences(data_t *data, int fd = data->gfx_fd; drmModeModeInfo *mode; struct igt_fb fb[MAX_FENCES+1] = {}; - unsigned int stride, size, w, h; + uint64_t size; + unsigned int stride, w, h; uint64_t total_aperture_size, total_fbs_size; int i; -- cgit v1.2.3