Changeset 60290 in vbox for trunk/src/VBox/Additions/linux/drm
- Timestamp:
- Apr 1, 2016 3:50:39 PM (9 years ago)
- Location:
- trunk/src/VBox/Additions/linux/drm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/drm/vbox_drv.h
r60285 r60290 123 123 bool fbdev_init; 124 124 struct work_struct hotplug_work; 125 uint32_t input_mapping_width; 126 uint32_t input_mapping_height; 125 127 }; 126 128 -
trunk/src/VBox/Additions/linux/drm/vbox_mode.c
r60285 r60290 237 237 /* vbox_set_start_address_crt1(crtc, (u32)gpu_addr); */ 238 238 vbox_crtc->fb_offset = gpu_addr; 239 if (vbox_crtc->crtc_id == 0) 240 VBoxHGSMIUpdateInputMapping(&vbox->submit_info, 0, 0, 241 CRTC_FB(crtc)->width, 242 CRTC_FB(crtc)->height); 243 239 if (vbox_crtc->crtc_id == 0) { 240 vbox->input_mapping_width = CRTC_FB(crtc)->width; 241 vbox->input_mapping_height = CRTC_FB(crtc)->height; 242 } 244 243 LogFunc(("vboxvideo: %d: vbox_fb=%p, obj=%p, bo=%p, gpu_addr=%u\n", 245 244 __LINE__, vbox_fb, obj, bo, (unsigned)gpu_addr)); … … 269 268 if (!rc) 270 269 vbox_do_modeset(crtc, mode); 270 /* Note that the input mapping is always relative to the first screen. */ 271 VBoxHGSMIUpdateInputMapping(&vbox->submit_info, 0, 0, 272 vbox->input_mapping_width, 273 vbox->input_mapping_height); 271 274 mutex_unlock(&vbox->hw_mutex); 272 275 LogFunc(("vboxvideo: %d\n", __LINE__));
Note:
See TracChangeset
for help on using the changeset viewer.