Changeset 74615 in vbox for trunk/src/VBox/Additions/linux/drm/vbox_drv.h
- Timestamp:
- Oct 4, 2018 3:44:01 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/drm/vbox_drv.h
r74581 r74615 59 59 # define RHEL_73 60 60 # endif 61 # if RHEL_MAJOR == 7 && RHEL_MINOR >= 2 62 # define RHEL_72 63 # endif 61 64 # if RHEL_MAJOR == 7 && RHEL_MINOR >= 1 62 65 # define RHEL_71 66 # endif 67 # if RHEL_MAJOR == 7 && RHEL_MINOR >= 0 68 # define RHEL_70 63 69 # endif 64 70 #endif … … 80 86 81 87 #include <drm/drmP.h> 82 #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 18, 0) || defined(RHEL_7 3)88 #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 18, 0) || defined(RHEL_72) 83 89 #include <drm/drm_gem.h> 84 90 #endif … … 262 268 #endif 263 269 264 #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 15, 0) && !defined(RHEL_7 3)270 #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 15, 0) && !defined(RHEL_71) 265 271 #define CRTC_FB(crtc) ((crtc)->fb) 266 272 #else … … 293 299 struct ttm_bo_kmap_obj kmap; 294 300 struct drm_gem_object gem; 295 #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 18, 0) && !defined(RHEL_7 3)301 #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 18, 0) && !defined(RHEL_72) 296 302 u32 placements[3]; 297 303 #else … … 368 374 struct sg_table *vbox_gem_prime_get_sg_table(struct drm_gem_object *obj); 369 375 struct drm_gem_object *vbox_gem_prime_import_sg_table(struct drm_device *dev, 370 #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 18, 0) && !defined(RHEL_7 3)376 #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 18, 0) && !defined(RHEL_72) 371 377 size_t size, 372 378 #else
Note:
See TracChangeset
for help on using the changeset viewer.