VirtualBox

Ignore:
Timestamp:
Dec 26, 2015 3:56:00 PM (9 years ago)
Author:
vboxsync
Message:

bugref:8087: Additions/x11: support non-root X server: call drm_kms_helper_hotplug_event() directly from the KMS driver rather than drm_helper_hpd_irq_event(). The second only accepts a hot-plug event as genuine if a screen is disconnected and then re-connected. Our screens are swapped without any intermediate disconnection.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/drm/vbox_mode.c

    r59224 r59225  
    532532        pVBoxConnector->modeHint.cY = (uint16_t)cY;
    533533    }
    534     drm_helper_hpd_irq_event(pVBoxConnector->base.dev);
     534    drm_kms_helper_hotplug_event(pVBoxConnector->base.dev);
    535535    if (pVBox->fbdev)
    536536        drm_fb_helper_hotplug_event(&pVBox->fbdev->helper);
     
    582582    drm_connector_register(pConnector);
    583583#endif
    584 
    585     /* The connector supports hot-plug detection: we promise to call
    586      * "drm_helper_hpd_irq_event" when hot-plugging occurs. */
    587     pConnector->polled = DRM_CONNECTOR_POLL_HPD;
    588584
    589585    drm_mode_connector_attach_encoder(pConnector, pEncoder);
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