autotests/drm: handle the DRM_IOCTL_MODE_RMFB ioctl
This commit is contained in:
parent
5651bae432
commit
da80ed4318
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue