VirtualBox

Changeset 108689 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Mar 21, 2025 1:13:47 PM (4 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
168105
Message:

Additions: Linux: vboxvideo: Build fixes for RHEL 9.7 kernel, bugref:10782, bugref:10441.

Location:
trunk/src/VBox/Additions/linux/drm
Files:
3 edited

Legend:

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

    r108379 r108689  
    373373        .unload = vbox_driver_unload,
    374374#endif
    375 #if RTLNX_VER_MAX(6,12,0)
     375#if RTLNX_VER_MAX(6,12,0) && !RTLNX_RHEL_RANGE(9,7, 9,99)
    376376        .lastclose = vbox_driver_lastclose,
    377377#endif
  • trunk/src/VBox/Additions/linux/drm/vbox_mode.c

    r107717 r108689  
    894894    dst = vbox->cursor_data;
    895895
    896 #if RTLNX_VER_MIN(6,4,0)
     896#if RTLNX_VER_MIN(6,4,0) || RTLNX_RHEL_RANGE(9,7, 9,99)
    897897    /* Make sure bo is in SYSTEM (main) memory, so we can access it directly. */
    898898    ret = vbox_bo_pin(bo, VBOX_MEM_TYPE_SYSTEM, NULL);
     
    913913    if (ret) {
    914914        vbox->cursor_data_size = 0;
    915 #if RTLNX_VER_MIN(6,4,0)
     915#if RTLNX_VER_MIN(6,4,0) || RTLNX_RHEL_RANGE(9,7, 9,99)
    916916        goto out_bo_unpin;
    917917#else
     
    939939out_unmap_bo:
    940940    ttm_bo_kunmap(&uobj_map);
    941 #if RTLNX_VER_MIN(6,4,0)
     941#if RTLNX_VER_MIN(6,4,0) || RTLNX_RHEL_RANGE(9,7, 9,99)
    942942out_bo_unpin:
    943943    vbox_bo_unpin(bo);
  • trunk/src/VBox/Additions/linux/drm/vbox_ttm.c

    r108573 r108689  
    364364        struct ttm_place *hop)
    365365{
    366 # if RTLNX_VER_MIN(6,4,0)
     366# if RTLNX_VER_MIN(6,4,0) || RTLNX_RHEL_RANGE(9,7, 9,99)
    367367        if (!bo->resource)
    368368        {
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette