diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-09-06 16:34:15 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-09-11 17:23:17 +0300 |
commit | 5f8a33ad1a4ab5ce0d1eb2ba68ccc284d663531c (patch) | |
tree | 8d5fae0a9c8de566b7e10c7ec86dfba6bb7df60e /tests/kms_rotation_crc.c | |
parent | b97b528d365a31a994b76ba2daf71b6b8f58575e (diff) |
lib/igt_fb: Make fb size 64bit
Switch all fb size handling to 64bits to accomodate >4GiB
framebuffers.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/kms_rotation_crc.c')
-rw-r--r-- | tests/kms_rotation_crc.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |