Changeset 98455 in vbox for trunk/src/VBox
- Timestamp:
- Feb 2, 2023 7:50:15 PM (23 months ago)
- Location:
- trunk/src/VBox/Additions/linux/drm
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/drm/vbox_drv.c
r98349 r98455 53 53 /** Detect whether kernel mode setting is OFF. */ 54 54 #if defined(CONFIG_VGA_CONSOLE) 55 # if RTLNX_VER_MIN(5,17,0) || RTLNX_RHEL_RANGE(8,7, 8,99) 55 # if RTLNX_VER_MIN(5,17,0) || RTLNX_RHEL_RANGE(8,7, 8,99) || RTLNX_RHEL_MIN(9,1) 56 56 # define VBOX_VIDEO_NOMODESET() drm_firmware_drivers_only() && vbox_modeset == -1 57 57 # elif RTLNX_VER_MIN(4,7,0) -
trunk/src/VBox/Additions/linux/drm/vbox_drv.h
r98103 r98455 186 186 #endif 187 187 188 #if RTLNX_VER_MIN(6,0,0) 188 #if RTLNX_VER_MIN(6,0,0) || RTLNX_RHEL_MAJ_PREREQ(9,2) 189 189 # include <drm/drm_framebuffer.h> 190 190 #endif -
trunk/src/VBox/Additions/linux/drm/vbox_mode.c
r98103 r98455 47 47 #endif 48 48 49 #if RTLNX_VER_MIN(6,0,0) 49 #if RTLNX_VER_MIN(6,0,0) || RTLNX_RHEL_MAJ_PREREQ(9,2) 50 50 # include <drm/drm_edid.h> 51 51 #endif -
trunk/src/VBox/Additions/linux/drm/vbox_ttm.c
r98103 r98455 317 317 tt->func = &vbox_tt_backend_func; 318 318 #endif 319 #if RTLNX_VER_MAX(4,17,0) && !RTLNX_RHEL_MAJ_PREREQ(7,6) && !RTLNX_SUSE_MAJ_PREREQ(15,1) && !RTLNX_SUSE_MAJ_PREREQ(12,5) 319 #if RTLNX_VER_MIN(5,19,0) || RTLNX_RHEL_MAJ_PREREQ(9,2) 320 if (ttm_tt_init(tt, bo, page_flags, ttm_write_combined, 0)) { 321 #elif RTLNX_VER_MIN(5,11,0) || RTLNX_RHEL_RANGE(8,5, 8,99) 322 if (ttm_tt_init(tt, bo, page_flags, ttm_write_combined)) { 323 #elif RTLNX_VER_MIN(4,17,0) || RTLNX_RHEL_MAJ_PREREQ(7,6) || RTLNX_SUSE_MAJ_PREREQ(15,1) || RTLNX_SUSE_MAJ_PREREQ(12,5) 324 if (ttm_tt_init(tt, bo, page_flags)) { 325 #else 320 326 if (ttm_tt_init(tt, bdev, size, page_flags, dummy_read_page)) { 321 #elif RTLNX_VER_MAX(5,11,0) && !RTLNX_RHEL_RANGE(8,5, 8,99) 322 if (ttm_tt_init(tt, bo, page_flags)) { 323 #elif RTLNX_VER_MAX(5,19,0) 324 if (ttm_tt_init(tt, bo, page_flags, ttm_write_combined)) { 325 #else 326 if (ttm_tt_init(tt, bo, page_flags, ttm_write_combined, 0)) { 327 #endif 327 #endif 328 328 329 kfree(tt); 329 330 return NULL;
Note:
See TracChangeset
for help on using the changeset viewer.