Changeset 76978 in vbox for trunk/src/VBox/Additions/linux
- Timestamp:
- Jan 24, 2019 2:44:27 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/drm/vbox_mode.c
r76974 r76978 203 203 204 204 static int vbox_crtc_set_base(struct drm_crtc *crtc, 205 struct drm_framebuffer *old_fb, int x, int y) 205 struct drm_framebuffer *old_fb, 206 struct drm_framebuffer *new_fb, 207 int x, int y) 206 208 { 207 209 struct vbox_private *vbox = crtc->dev->dev_private; … … 213 215 u64 gpu_addr; 214 216 215 vbox_fb = to_vbox_framebuffer( CRTC_FB(crtc));217 vbox_fb = to_vbox_framebuffer(new_fb); 216 218 obj = vbox_fb->obj; 217 219 bo = gem_to_vbox_bo(obj); … … 263 265 { 264 266 struct vbox_private *vbox = crtc->dev->dev_private; 265 int ret = vbox_crtc_set_base(crtc, old_fb, x, y);267 int ret = vbox_crtc_set_base(crtc, old_fb, CRTC_FB(crtc), x, y); 266 268 if (ret) 267 269 return ret;
Note:
See TracChangeset
for help on using the changeset viewer.