- Timestamp:
- Oct 12, 2018 4:10:55 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/drm/vbox_mode.c
r74780 r74808 61 61 struct vbox_private *vbox; 62 62 int width, height, bpp, pitch; 63 unsigned int crtc_id;64 63 u16 flags; 65 64 s32 x_offset, y_offset; … … 68 67 width = mode->hdisplay ? mode->hdisplay : 640; 69 68 height = mode->vdisplay ? mode->vdisplay : 480; 70 crtc_id = vbox_crtc->crtc_id;71 69 #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0) || defined(RHEL_75) 72 70 bpp = crtc->enabled ? CRTC_FB(crtc)->format->cpp[0] * 8 : 32; … … 581 579 static void vbox_connector_destroy(struct drm_connector *connector) 582 580 { 583 struct vbox_connector *vbox_connector;584 585 vbox_connector = to_vbox_connector(connector);586 581 #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 17, 0) && !defined(RHEL_72) 587 582 drm_sysfs_connector_remove(connector);
Note:
See TracChangeset
for help on using the changeset viewer.