VirtualBox

Changeset 53812 in vbox


Ignore:
Timestamp:
Jan 15, 2015 10:36:04 AM (10 years ago)
Author:
vboxsync
Message:

Additions/x11/vboxvideo: set capabilities whenever VBVA is (re-)initialised.

Location:
trunk/src/VBox/Additions/x11/vboxvideo
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/vboxvideo/getmode.c

    r53808 r53812  
    469469            if (pVBox->hACPIEventHandler == NULL)
    470470                break;
    471             /* We ignore the return value as the fall-back should be active
    472              * anyway. */
    473             VBoxHGSMISendCapsInfo(&pVBox->guestCtx, VBVACAPS_VIDEO_MODE_HINTS);
    474471            pVBox->fdACPIDevices = fd;
    475472            fd = -1;
  • trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.c

    r53544 r53812  
    10731073    pScrn->vtSema = TRUE;
    10741074
     1075#if defined(VBOXVIDEO_13) && defined(RT_OS_LINUX)
     1076    VBoxSetUpLinuxACPI(pScreen);
     1077#endif
     1078
    10751079    vbox_open (pScrn, pScreen, pVBox);
    10761080    vboxEnableVbva(pScrn);
     
    11711175#endif
    11721176
    1173 #if defined(VBOXVIDEO_13) && defined(RT_OS_LINUX)
    1174     VBoxSetUpLinuxACPI(pScreen);
    1175 #endif
    1176 
    11771177    /* Report any unused options (only for the first generation) */
    11781178    if (serverGeneration == 1)
  • trunk/src/VBox/Additions/x11/vboxvideo/vbva.c

    r53530 r53812  
    282282         vboxDisableVbva(pScrn);
    283283    }
     284#ifdef VBOXVIDEO_13
     285# ifdef RT_OS_LINUX
     286    if (rc && pVBox->hACPIEventHandler != NULL)
     287        /* We ignore the return value as the fall-back should be active
     288         * anyway. */
     289        VBoxHGSMISendCapsInfo(&pVBox->guestCtx, VBVACAPS_VIDEO_MODE_HINTS);
     290# endif
     291#endif
    284292    return rc;
    285293}
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