1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:28:10 +00:00

Kernel/Graphics: Implement basic support for VMWare SVGA adapter

This commit is contained in:
Liav A 2022-03-18 16:46:55 +02:00 committed by Linus Groh
parent 530aa51816
commit 340773ddb7
11 changed files with 640 additions and 1 deletions

View file

@ -293,6 +293,8 @@ ErrorOr<void> DisplayConnector::ioctl(OpenFileDescription&, unsigned request, Us
return copy_to_user(user_head_vertical_buffer_offset, &head_vertical_buffer_offset);
}
case GRAPHICS_IOCTL_FLUSH_HEAD_BUFFERS: {
if (console_mode())
return {};
if (!partial_flush_support())
return Error::from_errno(ENOTSUP);
MutexLocker locker(m_flushing_lock);