VirtualBox

Ignore:
Timestamp:
Oct 20, 2017 8:23:18 AM (7 years ago)
Author:
vboxsync
Message:

Devices/Graphics: VMSVGA: do not hardcode the number of GMRs, increase it 256 -> 8K.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA.h

    r65303 r69137  
    3737#define VMSVGA_MAX_GMR_PAGES            0x100000
    3838/** Maximum nr of GMR ids. */
    39 #define VMSVGA_MAX_GMR_IDS              0x100
     39#define VMSVGA_MAX_GMR_IDS              _8K
    4040/** Maximum number of GMR descriptors.  */
    4141#define VMSVGA_MAX_GMR_DESC_LOOP_COUNT  VMSVGA_MAX_GMR_PAGES
     
    195195    /** Physical address of command mmio range. */
    196196    RTIOPORT                    BasePort;
    197     RTIOPORT                    Padding3;
     197    RTIOPORT                    Padding0;
    198198    /** Port io index register. */
    199199    uint32_t                    u32IndexReg;
     
    235235    PGMPHYSHANDLERTYPE          hFifoAccessHandlerType;
    236236#endif
     237    /** Number of GMRs. */
     238    uint32_t                    cGMR;
     239    uint32_t                    u32Padding1;
    237240
    238241    /** Scratch array.
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