mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:57:45 +00:00
Kernel/Graphics: Increase VirtIO GPU transfer buffer size to 4MiB
This is necessary to allow transferring frame buffers larger than ~500x500 pixels back to user space. Until the buffer management is improved this allows us to at least test the existing game ports.
This commit is contained in:
parent
2658351fa6
commit
07053d32dd
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ private:
|
|||
HashMap<OpenFileDescription*, LockRefPtr<PerContextState>> m_context_state_lookup;
|
||||
// Memory management for backing buffers
|
||||
NonnullOwnPtr<Memory::Region> m_transfer_buffer_region;
|
||||
constexpr static size_t NUM_TRANSFER_REGION_PAGES = 256;
|
||||
constexpr static size_t NUM_TRANSFER_REGION_PAGES = 1024;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue