diff --git a/autotests/drm/mock_drm.cpp b/autotests/drm/mock_drm.cpp index 495a0316d7..462f3c189b 100644 --- a/autotests/drm/mock_drm.cpp +++ b/autotests/drm/mock_drm.cpp @@ -359,6 +359,8 @@ int drmIoctl(int fd, unsigned long request, void *arg) int ret = drmModeAtomicCommit(fd, req, args->flags, reinterpret_cast(args->user_data)); drmModeAtomicFree(req); return ret; + } else if (request == DRM_IOCTL_MODE_RMFB) { + drmModeRmFB(fd, *static_cast(arg)); } return -(errno = ENOTSUP); }