Changeset 61596 in vbox for trunk/src/VBox/Additions/linux/drm
- Timestamp:
- Jun 9, 2016 6:11:14 AM (9 years ago)
- Location:
- trunk/src/VBox/Additions/linux/drm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/drm/vbox_drv.h
r61431 r61596 228 228 void vbox_fbdev_fini(struct drm_device *dev); 229 229 void vbox_fbdev_set_suspend(struct drm_device *dev, int state); 230 void vbox_fbdev_set_base(struct vbox_private *vbox, unsigned long gpu_addr); 230 231 231 232 struct vbox_bo { -
trunk/src/VBox/Additions/linux/drm/vbox_fb.c
r61431 r61596 452 452 fb_set_suspend(vbox->fbdev->helper.fbdev, state); 453 453 } 454 455 void vbox_fbdev_set_base(struct vbox_private *vbox, unsigned long gpu_addr) 456 { 457 vbox->fbdev->helper.fbdev->fix.smem_start = 458 vbox->fbdev->helper.fbdev->apertures->ranges[0].base + 459 gpu_addr; 460 vbox->fbdev->helper.fbdev->fix.smem_len = vbox->vram_size - gpu_addr; 461 } -
trunk/src/VBox/Additions/linux/drm/vbox_mode.c
r61431 r61596 225 225 if (ret) 226 226 DRM_ERROR("failed to kmap fbcon\n"); 227 else 228 vbox_fbdev_set_base(vbox, gpu_addr); 227 229 } 228 230 vbox_bo_unreserve(bo);
Note:
See TracChangeset
for help on using the changeset viewer.