Changeset 64425 in vbox for trunk/src/VBox/Additions/linux/drm
- Timestamp:
- Oct 26, 2016 7:26:46 AM (8 years ago)
- Location:
- trunk/src/VBox/Additions/linux/drm
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/drm/Makefile.module.kms
r64151 r64425 38 38 endif 39 39 40 ifneq ($(wildcard $(KBUILD_EXTMOD)/vboxvideo),) 41 MANGLING := $(KBUILD_EXTMOD)/vboxvideo/include/VBox/VBoxGuestMangling.h 42 else 43 MANGLING := $(KBUILD_EXTMOD)/include/VBox/VBoxGuestMangling.h 44 endif 45 MOD_CFLAGS = -Wno-declaration-after-statement -fshort-wchar -include $(MANGLING) -fno-pie 40 MOD_CFLAGS = -Wno-declaration-after-statement -fshort-wchar -fno-pie 46 41 MOD_INCL = $(addprefix -I$(KBUILD_EXTMOD),/ /include) 47 42 # What on earth is this? -
trunk/src/VBox/Additions/linux/drm/files_vboxvideo_drv
r64337 r64425 33 33 ${PATH_ROOT}/include/iprt/types.h=>include/iprt/types.h \ 34 34 ${PATH_ROOT}/include/iprt/utf16.h=>include/iprt/utf16.h \ 35 ${PATH_ROOT}/include/iprt/mangling.h=>include/iprt/mangling.h \36 35 ${PATH_ROOT}/include/VBox/cdefs.h=>include/VBox/cdefs.h \ 37 36 ${PATH_ROOT}/include/VBox/err.h=>include/VBox/err.h \ 38 37 ${PATH_ROOT}/include/VBox/types.h=>include/VBox/types.h \ 39 ${PATH_ROOT}/include/VBox/VBoxGuestMangling.h=>include/VBox/VBoxGuestMangling.h \40 38 ${PATH_ROOT}/include/VBox/VBoxVideo.h=>include/VBox/VBoxVideo.h \ 41 39 ${PATH_ROOT}/include/VBox/VBoxVideoGuest.h=>include/VBox/VBoxVideoGuest.h \ -
trunk/src/VBox/Additions/linux/drm/vbox_irq.c
r64172 r64425 101 101 rc = VBoxHGSMIGetModeHints(&vbox->submit_info, vbox->num_crtcs, 102 102 vbox->last_mode_hints); 103 AssertMsgRCReturnVoid(rc, ("VBoxHGSMIGetModeHints failed, rc=%Rrc.\n", rc)); 103 if RT_FAILURE(rc) { 104 printk("vboxvideo: VBoxHGSMIGetModeHints failed, rc=%i.\n", rc); 105 return; 106 } 104 107 #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 9, 0) 105 108 drm_modeset_lock_all(dev); -
trunk/src/VBox/Additions/linux/drm/vbox_main.c
r64172 r64425 79 79 + vram_map_offset 80 80 + i * VBVA_MIN_BUFFER_SIZE); 81 if (!VBoxVBVAEnable(&vbox->vbva_info[i], &vbox->submit_info, vbva, i)) 82 AssertReleaseMsgFailed(("VBoxVBVAEnable failed - heap allocation error, very old host or driver error.\n")); 81 if (!VBoxVBVAEnable(&vbox->vbva_info[i], &vbox->submit_info, vbva, i)) { 82 /* very old host or driver error. */ 83 printk(KERN_ERR "vboxvideo: VBoxVBVAEnable failed - heap allocation error.\n"); 84 return; 85 } 83 86 } 84 87 }
Note:
See TracChangeset
for help on using the changeset viewer.