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_mode.c

    r100025 r100653  
    4040#include <linux/export.h>
    4141#include <drm/drm_crtc_helper.h>
    42 #if RTLNX_VER_MIN(6,3,0)
     42#if RTLNX_VER_MIN(6,3,0) || RTLNX_RHEL_MAJ_PREREQ(9,3)
    4343# include <drm/drm_modeset_helper_vtables.h>
    4444# include <drm/drm_modeset_helper.h>
     
    317317                return rc;
    318318
     319        mutex_lock(&vbox->hw_mutex);
    319320        vbox_do_modeset(crtc, &crtc->mode);
    320321        mutex_unlock(&vbox->hw_mutex);
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