VirtualBox

Ignore:
Timestamp:
Oct 26, 2016 7:26:46 AM (8 years ago)
Author:
vboxsync
Message:

bugref:8614: Additions/common/VBoxVideo: make the code more self-contained: remove final dependencies on vboxguest in vboxvideo.

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  
    3838endif
    3939
    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
     40MOD_CFLAGS = -Wno-declaration-after-statement -fshort-wchar -fno-pie
    4641MOD_INCL   = $(addprefix -I$(KBUILD_EXTMOD),/ /include)
    4742# What on earth is this?
  • trunk/src/VBox/Additions/linux/drm/files_vboxvideo_drv

    r64337 r64425  
    3333    ${PATH_ROOT}/include/iprt/types.h=>include/iprt/types.h \
    3434    ${PATH_ROOT}/include/iprt/utf16.h=>include/iprt/utf16.h \
    35     ${PATH_ROOT}/include/iprt/mangling.h=>include/iprt/mangling.h \
    3635    ${PATH_ROOT}/include/VBox/cdefs.h=>include/VBox/cdefs.h \
    3736    ${PATH_ROOT}/include/VBox/err.h=>include/VBox/err.h \
    3837    ${PATH_ROOT}/include/VBox/types.h=>include/VBox/types.h \
    39     ${PATH_ROOT}/include/VBox/VBoxGuestMangling.h=>include/VBox/VBoxGuestMangling.h \
    4038    ${PATH_ROOT}/include/VBox/VBoxVideo.h=>include/VBox/VBoxVideo.h \
    4139    ${PATH_ROOT}/include/VBox/VBoxVideoGuest.h=>include/VBox/VBoxVideoGuest.h \
  • trunk/src/VBox/Additions/linux/drm/vbox_irq.c

    r64172 r64425  
    101101    rc = VBoxHGSMIGetModeHints(&vbox->submit_info, vbox->num_crtcs,
    102102                               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    }
    104107#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 9, 0)
    105108    drm_modeset_lock_all(dev);
  • trunk/src/VBox/Additions/linux/drm/vbox_main.c

    r64172 r64425  
    7979                                           + vram_map_offset
    8080                                           + 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            }
    8386        }
    8487    }
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