VirtualBox

Changeset 49278 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Oct 24, 2013 3:10:27 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
90218
Message:

Additions/linux/drm: code update.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/drm/vbox_drv.h

    r48380 r49278  
    5151#include <VBox/VBoxVideoGuest.h>
    5252
     53#include <iprt/log.h>
     54
    5355#include "the-linux-kernel.h"
    5456
     
    103105        struct ttm_bo_kmap_obj cache_kmap;
    104106        int next_cursor;
     107        spinlock_t dev_lock;
    105108};
    106109
     
    118121        bool fBlanked;
    119122        unsigned crtc_id;
     123        uint32_t offFB;
    120124        struct drm_gem_object *cursor_bo;
    121125        uint64_t cursor_addr;
     
    131135        struct drm_framebuffer base;
    132136        struct drm_gem_object *obj;
    133         uint64_t offBase;
    134137};
    135138
     
    142145        struct ttm_bo_kmap_obj mapping;
    143146        int x1, y1, x2, y2; /* dirty rect */
    144         spinlock_t dirty_lock;
    145147};
    146148
     
    158160# define DRM_MODE_FB_CMD drm_mode_fb_cmd2
    159161#endif
     162
     163void vbox_framebuffer_dirty_rectangles(struct drm_framebuffer *fb,
     164                                       struct drm_clip_rect *pRects,
     165                                       unsigned cRects);
    160166
    161167int vbox_framebuffer_init(struct drm_device *dev,
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette