Changeset 101079 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Sep 11, 2023 2:04:13 PM (17 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
r100677 r101079 388 388 .dumb_destroy = drm_gem_dumb_destroy, 389 389 #endif 390 #if RTLNX_VER_MAX(6,6,0) 390 391 .prime_handle_to_fd = drm_gem_prime_handle_to_fd, 391 392 .prime_fd_to_handle = drm_gem_prime_fd_to_handle, 392 393 #endif 393 394 .gem_prime_import = drm_gem_prime_import, 394 395 .gem_prime_import_sg_table = vbox_gem_prime_import_sg_table, 396 #if RTLNX_VER_MAX(6,6,0) 395 397 .gem_prime_mmap = vbox_gem_prime_mmap, 398 #endif 396 399 397 400 #if RTLNX_VER_MAX(5,11,0) && !RTLNX_RHEL_MAJ_PREREQ(8,5) -
trunk/src/VBox/Additions/linux/drm/vbox_drv.h
r101029 r101079 530 530 void *vbox_gem_prime_vmap(struct drm_gem_object *obj); 531 531 void vbox_gem_prime_vunmap(struct drm_gem_object *obj, void *vaddr); 532 #if RTLNX_VER_MAX(6,6,0) 532 533 int vbox_gem_prime_mmap(struct drm_gem_object *obj, 533 534 struct vm_area_struct *area); 535 #endif 534 536 535 537 /* vbox_irq.c */ -
trunk/src/VBox/Additions/linux/drm/vbox_fb.c
r101029 r101079 198 198 .fb_set_par = drm_fb_helper_set_par, 199 199 #if RTLNX_VER_MIN(6,5,0) 200 FB_DEFAULT_SYS_OPS, 200 .fb_read = fb_sys_read, 201 .fb_write = fb_sys_write, 202 .fb_fillrect = sys_fillrect, 203 .fb_copyarea = sys_copyarea, 204 .fb_imageblit = sys_imageblit, 205 .fb_mmap = NULL, 201 206 #else 202 207 .fb_fillrect = drm_fb_helper_sys_fillrect, … … 347 352 * does not think it is needed. 348 353 */ 354 #if RTLNX_VER_MIN(6,6,0) 355 info->flags = FBINFO_MISC_ALWAYS_SETPAR; 356 #else 349 357 info->flags = FBINFO_DEFAULT | FBINFO_MISC_ALWAYS_SETPAR; 358 #endif 350 359 info->fbops = &vboxfb_ops; 351 360 -
trunk/src/VBox/Additions/linux/drm/vbox_prime.c
r98103 r101079 74 74 } 75 75 76 #if RTLNX_VER_MAX(6,6,0) 76 77 int vbox_gem_prime_mmap(struct drm_gem_object *obj, struct vm_area_struct *area) 77 78 { … … 79 80 return -ENOSYS; 80 81 } 82 #endif
Note:
See TracChangeset
for help on using the changeset viewer.