VirtualBox

Ignore:
Timestamp:
Jul 19, 2023 2:35:39 PM (19 months ago)
Author:
vboxsync
Message:

Additions: Linux: vboxvideo: additional fixes for RHEL 9.3 kernel, bugref:10381.

This commit accumulates fixes for REHEL 9.3 kernel which needed
after it received DRM backports from vanilla kernel 5.19, 6.2 and 6.3.
Also fixes lost-in-time mutex_lock in vbox_crtc_page_flip.

File:
1 edited

Legend:

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

    r100025 r100653  
    173173#endif
    174174
    175 #if RTLNX_VER_MIN(6,3,0)
     175#if RTLNX_VER_MIN(6,3,0) || RTLNX_RHEL_MAJ_PREREQ(9,3)
    176176# include <drm/ttm/ttm_bo.h>
    177177#else
     
    250250 * now represents number of bytes. This macro handles this change. Input
    251251 * argument is a pointer to struct ttm_resource. */
    252 #if RTLNX_VER_MIN(6,2,0)
     252#if RTLNX_VER_MIN(6,2,0) || RTLNX_RHEL_MAJ_PREREQ(9,3)
    253253# define VBOX_BO_RESOURCE_NUM_PAGES(_resource) PFN_UP(_resource->size)
    254254#else
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