Changeset 63771 in vbox for trunk/src/VBox/Additions/linux/drm/vbox_mode.c
- Timestamp:
- Sep 8, 2016 6:46:39 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/drm/vbox_mode.c
r62568 r63771 107 107 pitch, width, height, 108 108 vbox_crtc->blanked ? 0 : bpp, flags); 109 VBoxHGSMIReportFlagsLocation(&vbox->submit_info, vbox->vram_map_start110 + vbox->host_flags_offset);111 109 LogFunc(("vboxvideo: %d\n", __LINE__)); 112 110 } … … 507 505 vbox_connector = to_vbox_connector(connector); 508 506 vbox = connector->dev->dev_private; 507 /* Heuristic: we do not want to tell the host that we support dynamic 508 * resizing unless we feel confident that the user space client using 509 * the video driver can handle hot-plug events. So the first time modes 510 * are queried after a "master" switch we tell the host that we do not, 511 * and immediately after we send the client a hot-plug notification as 512 * a test to see if they will respond and query again. 513 * That is also the reason why capabilities are reported to the host at 514 * this place in the code rather than elsewhere. 515 * We need to report the flags location before reporting the IRQ 516 * capability. */ 517 VBoxHGSMIReportFlagsLocation(&vbox->submit_info, vbox->vram_map_start 518 + vbox->host_flags_offset); 509 519 if (vbox_connector->vbox_crtc->crtc_id == 0) 510 vbox_ enable_caps(vbox);520 vbox_report_caps(vbox); 511 521 if (!vbox->initial_mode_queried) { 512 522 if (vbox_connector->vbox_crtc->crtc_id == 0) {
Note:
See TracChangeset
for help on using the changeset viewer.