Lines Matching refs:f_16
368 struct drm_mode_fb_cmd2 f_16 = {}; in size_tests() local
376 f_16.width = 1024; in size_tests()
377 f_16.height = 1024*2; in size_tests()
378 f_16.pixel_format = DRM_FORMAT_RGB565; in size_tests()
379 f_16.pitches[0] = 1024*2; in size_tests()
396 f_16.handles[0] = gem_bo; in size_tests()
403 igt_assert(drmIoctl(fd, DRM_IOCTL_MODE_ADDFB2, &f_16) == 0); in size_tests()
404 igt_assert(drmIoctl(fd, DRM_IOCTL_MODE_RMFB, &f_16.fb_id) == 0); in size_tests()
412 f_16.width++; in size_tests()
417 igt_assert(drmIoctl(fd, DRM_IOCTL_MODE_ADDFB2, &f_16) == -1 && in size_tests()
423 f_16.width--; in size_tests()
426 f_16.height++; in size_tests()
431 igt_assert(drmIoctl(fd, DRM_IOCTL_MODE_ADDFB2, &f_16) == -1 && in size_tests()