Changeset 95414 in vbox for trunk/src/VBox/Additions/linux
- Timestamp:
- Jun 28, 2022 7:17:31 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/drm/vbox_ttm.c
r95412 r95414 796 796 { 797 797 struct drm_file *file_priv; 798 struct vbox_private *vbox 798 799 int ret = -EINVAL; 799 800 … … 802 803 803 804 file_priv = filp->private_data; 805 vbox = file_priv->minor->dev->dev_private; 804 806 805 807 #if RTLNX_VER_MIN(5,14,0) || RTLNX_RHEL_RANGE(8,6, 8,99) 808 RT_NOREF(vbox); 806 809 if (drm_dev_is_unplugged(file_priv->minor->dev)) 807 810 return -ENODEV; 808 811 ret = drm_gem_mmap(filp, vma); 809 812 #else 810 struct vbox_private *vbox = file_priv->minor->dev->dev_private;811 813 ret = ttm_bo_mmap(filp, vma, &vbox->ttm.bdev); 812 814 #endif
Note:
See TracChangeset
for help on using the changeset viewer.