VirtualBox

Changeset 55245 in vbox


Ignore:
Timestamp:
Apr 14, 2015 12:59:39 PM (9 years ago)
Author:
vboxsync
Message:

WDDM: experimantal fix against VBVA ring buffer overflow.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp

    r55227 r55245  
    904904     * Estimate max 4KB per command.
    905905     */
    906     ULONG cbCmdVbva = VBOXCMDVBVA_BUFFERSIZE(4096);
     906    //ULONG cbCmdVbva = VBOXCMDVBVA_BUFFERSIZE(4096);
     907    ULONG cbCmdVbva = RT_MIN(_4M, cbAvailable / 4); /* <- temporary fix against ring buffer overflow. */
    907908
    908909    if (cbCmdVbva >= cbAvailable)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette