- Timestamp:
- Apr 7, 2021 5:33:33 PM (4 years ago)
- Location:
- trunk/src/VBox/Additions/linux/drm
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/drm/vbox_drv.c
r88274 r88405 263 263 }; 264 264 265 #if RTLNX_VER_MIN(5,9,0) 265 #if RTLNX_VER_MIN(5,9,0) || RTLNX_RHEL_MIN(8,4) 266 266 static void 267 267 #else … … 287 287 mutex_unlock(&vbox->hw_mutex); 288 288 289 #if RTLNX_VER_MAX(5,9,0) 289 #if RTLNX_VER_MAX(5,9,0) && !RTLNX_RHEL_MAJ_PREREQ(8,4) 290 290 return 0; 291 291 #endif -
trunk/src/VBox/Additions/linux/drm/vbox_fb.c
r88274 r88405 411 411 vbox_bo_unreserve(bo); 412 412 } 413 #if RTLNX_VER_MIN(5,9,0) 413 #if RTLNX_VER_MIN(5,9,0) || RTLNX_RHEL_MIN(8,4) 414 414 drm_gem_object_put(afb->obj); 415 415 #else … … 444 444 drm_fb_helper_prepare(dev, &fbdev->helper, &vbox_fb_helper_funcs); 445 445 #endif 446 #if RTLNX_VER_MIN(5,7,0) 446 #if RTLNX_VER_MIN(5,7,0) || RTLNX_RHEL_MIN(8,4) 447 447 ret = drm_fb_helper_init(dev, &fbdev->helper); 448 448 #elif RTLNX_VER_MIN(4,11,0) || RTLNX_RHEL_MAJ_PREREQ(7,5) … … 456 456 return ret; 457 457 458 #if RTLNX_VER_MAX(5,7,0) 458 #if RTLNX_VER_MAX(5,7,0) && !RTLNX_RHEL_MAJ_PREREQ(8,4) 459 459 ret = drm_fb_helper_single_add_all_connectors(&fbdev->helper); 460 460 if (ret) -
trunk/src/VBox/Additions/linux/drm/vbox_main.c
r86542 r88405 47 47 48 48 if (vbox_fb->obj) 49 #if RTLNX_VER_MIN(5,9,0) 49 #if RTLNX_VER_MIN(5,9,0) || RTLNX_RHEL_MIN(8,4) 50 50 drm_gem_object_put(vbox_fb->obj); 51 51 #else … … 226 226 kfree(vbox_fb); 227 227 err_unref_obj: 228 #if RTLNX_VER_MIN(5,9,0) 228 #if RTLNX_VER_MIN(5,9,0) || RTLNX_RHEL_MIN(8,4) 229 229 drm_gem_object_put(obj); 230 230 #else … … 597 597 598 598 ret = drm_gem_handle_create(file, gobj, &handle); 599 #if RTLNX_VER_MIN(5,9,0) 599 #if RTLNX_VER_MIN(5,9,0) || RTLNX_RHEL_MIN(8,4) 600 600 drm_gem_object_put(gobj); 601 601 #else -
trunk/src/VBox/Additions/linux/drm/vbox_mode.c
r88274 r88405 889 889 vbox_bo_unreserve(bo); 890 890 out_unref_obj: 891 #if RTLNX_VER_MIN(5,9,0) 891 #if RTLNX_VER_MIN(5,9,0) || RTLNX_RHEL_MIN(8,4) 892 892 drm_gem_object_put(obj); 893 893 #else -
trunk/src/VBox/Additions/linux/drm/vbox_ttm.c
r88274 r88405 579 579 static inline u64 vbox_bo_gpu_offset(struct vbox_bo *bo) 580 580 { 581 #if RTLNX_VER_MIN(5,9,0) 581 #if RTLNX_VER_MIN(5,9,0) || RTLNX_RHEL_MIN(8,4) 582 582 return bo->bo.mem.start << PAGE_SHIFT; 583 583 #else
Note:
See TracChangeset
for help on using the changeset viewer.