~ubuntu-branches/ubuntu/utopic/xserver-xorg-video-intel/utopic

« back to all changes in this revision

Viewing changes to src/intel.h

  • Committer: Package Import Robot
  • Author(s): Timo Aaltonen
  • Date: 2012-09-12 07:43:59 UTC
  • mfrom: (1.4.22)
  • Revision ID: package-import@ubuntu.com-20120912074359-i3h8ol6hoghbemoq
Tags: 2:2.20.7-0ubuntu1
Merge from unreleased debian git.

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
#define MONITOR_EDID_COMPLETE_RAWDATA EDID_COMPLETE_RAWDATA
81
81
#endif
82
82
 
 
83
#if XF86_CRTC_VERSION >= 5
 
84
#define INTEL_PIXMAP_SHARING 1
 
85
#endif
 
86
 
83
87
struct intel_pixmap {
84
88
        dri_bo *bo;
85
89
 
90
94
        int8_t busy :2;
91
95
        uint8_t dirty :1;
92
96
        uint8_t offscreen :1;
93
 
        uint8_t pinned :1;
 
97
        uint8_t pinned :3;
 
98
#define PIN_SCANOUT 0x1
 
99
#define PIN_DRI 0x2
 
100
#define PIN_GLAMOR 0x4
94
101
};
95
102
 
96
103
#if HAS_DEVPRIVATEKEYREC
347
354
        struct udev_monitor *uevent_monitor;
348
355
        InputHandlerProc uevent_handler;
349
356
#endif
 
357
        Bool has_prime_vmap_flush;
350
358
} intel_screen_private;
351
359
 
 
360
#ifndef I915_PARAM_HAS_PRIME_VMAP_FLUSH
 
361
#define I915_PARAM_HAS_PRIME_VMAP_FLUSH 21
 
362
#endif
 
363
 
352
364
enum {
353
365
        DEBUG_FLUSH_BATCHES = 0x1,
354
366
        DEBUG_FLUSH_CACHES = 0x2,