autotests/drm: handle the DRM_IOCTL_MODE_RMFB ioctl

This commit is contained in:
Xaver Hugl 2023-10-16 16:27:30 +02:00
parent 5651bae432
commit da80ed4318

View file

@ -359,6 +359,8 @@ int drmIoctl(int fd, unsigned long request, void *arg)
int ret = drmModeAtomicCommit(fd, req, args->flags, reinterpret_cast<void *>(args->user_data));
drmModeAtomicFree(req);
return ret;
} else if (request == DRM_IOCTL_MODE_RMFB) {
drmModeRmFB(fd, *static_cast<const uint32_t *>(arg));
}
return -(errno = ENOTSUP);
}