VirtualBox

Changeset 102794 in vbox for trunk


Ignore:
Timestamp:
Jan 9, 2024 1:00:46 PM (13 months ago)
Author:
vboxsync
Message:

Additions: Linux: vboxvideo: Additional fixes for RHEL 9.4 kernel, bugref:10482, bugref:10524.

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

Legend:

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

    r101079 r102794  
    388388        .dumb_destroy = drm_gem_dumb_destroy,
    389389#endif
    390 #if RTLNX_VER_MAX(6,6,0)
     390#if RTLNX_VER_MAX(6,6,0) && !RTLNX_RHEL_MAJ_PREREQ(9,4)
    391391        .prime_handle_to_fd = drm_gem_prime_handle_to_fd,
    392392        .prime_fd_to_handle = drm_gem_prime_fd_to_handle,
     
    394394        .gem_prime_import = drm_gem_prime_import,
    395395        .gem_prime_import_sg_table = vbox_gem_prime_import_sg_table,
    396 #if RTLNX_VER_MAX(6,6,0)
     396#if RTLNX_VER_MAX(6,6,0) && !RTLNX_RHEL_MAJ_PREREQ(9,4)
    397397        .gem_prime_mmap = vbox_gem_prime_mmap,
    398398#endif
  • trunk/src/VBox/Additions/linux/drm/vbox_drv.h

    r101079 r102794  
    530530void *vbox_gem_prime_vmap(struct drm_gem_object *obj);
    531531void vbox_gem_prime_vunmap(struct drm_gem_object *obj, void *vaddr);
    532 #if RTLNX_VER_MAX(6,6,0)
     532#if RTLNX_VER_MAX(6,6,0) && !RTLNX_RHEL_MAJ_PREREQ(9,4)
    533533int vbox_gem_prime_mmap(struct drm_gem_object *obj,
    534534                        struct vm_area_struct *area);
  • trunk/src/VBox/Additions/linux/drm/vbox_fb.c

    r102399 r102794  
    197197        .fb_check_var = drm_fb_helper_check_var,
    198198        .fb_set_par = drm_fb_helper_set_par,
    199 #if RTLNX_VER_MIN(6,5,0)
     199#if RTLNX_VER_MIN(6,5,0) || RTLNX_RHEL_MAJ_PREREQ(9,4)
    200200        .fb_read    = fb_sys_read,
    201201        .fb_write   = fb_sys_write,
  • trunk/src/VBox/Additions/linux/drm/vbox_prime.c

    r101079 r102794  
    7474}
    7575
    76 #if RTLNX_VER_MAX(6,6,0)
     76#if RTLNX_VER_MAX(6,6,0) && !RTLNX_RHEL_MAJ_PREREQ(9,4)
    7777int vbox_gem_prime_mmap(struct drm_gem_object *obj, struct vm_area_struct *area)
    7878{
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