~ubuntu-branches/debian/experimental/xserver-xorg-video-intel/experimental

« back to all changes in this revision

Viewing changes to src/sna/kgem.h

  • Committer: Package Import Robot
  • Author(s): Cyril Brulebois
  • Date: 2012-01-04 22:19:19 UTC
  • mfrom: (0.8.4)
  • Revision ID: package-import@ubuntu.com-20120104221919-jodv5pnzldmkfyhs
Tags: 2:2.17.0+git20120104-1
* New upstream snapshot:
  - Merge from upstream master up to 4119e68fb1.
* Implement a generate-snapshot rule to ease packaging snapshots.

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
        uint16_t nexec;
117
117
        uint16_t nreloc;
118
118
        uint16_t nfence;
 
119
        uint16_t max_batch_size;
119
120
        uint16_t vma_count;
120
121
 
121
122
        uint32_t flush:1;
146
147
#define KGEM_EXEC_RESERVED 1
147
148
 
148
149
#define ARRAY_SIZE(a) (sizeof(a)/sizeof((a)[0]))
149
 
#define KGEM_BATCH_SIZE(K) (ARRAY_SIZE((K)->batch)-KGEM_BATCH_RESERVED)
 
150
#define KGEM_BATCH_SIZE(K) ((K)->max_batch_size-KGEM_BATCH_RESERVED)
150
151
#define KGEM_EXEC_SIZE(K) (int)(ARRAY_SIZE((K)->exec)-KGEM_EXEC_RESERVED)
151
152
#define KGEM_RELOC_SIZE(K) (int)(ARRAY_SIZE((K)->reloc)-KGEM_RELOC_RESERVED)
152
153