~ubuntu-branches/debian/experimental/linux-tools/experimental

« back to all changes in this revision

Viewing changes to include/drm/ttm/ttm_bo_api.h

  • Committer: Package Import Robot
  • Author(s): Ben Hutchings
  • Date: 2014-02-02 16:57:49 UTC
  • mfrom: (1.1.10) (0.1.21 sid)
  • Revision ID: package-import@ubuntu.com-20140202165749-tw94o9t1t0a8txk6
Tags: 3.13-1~exp2
Merge changes from sid up to 3.12.6-3

Show diffs side-by-side

added added

removed removed

Lines of Context:
169
169
 * @offset: The current GPU offset, which can have different meanings
170
170
 * depending on the memory type. For SYSTEM type memory, it should be 0.
171
171
 * @cur_placement: Hint of current placement.
 
172
 * @wu_mutex: Wait unreserved mutex.
172
173
 *
173
174
 * Base class for TTM buffer object, that deals with data placement and CPU
174
175
 * mappings. GPU mappings are really up to the driver, but for simpler GPUs
250
251
 
251
252
        struct reservation_object *resv;
252
253
        struct reservation_object ttm_resv;
 
254
        struct mutex wu_mutex;
253
255
};
254
256
 
255
257
/**
702
704
                         size_t count, loff_t *f_pos, bool write);
703
705
 
704
706
extern void ttm_bo_swapout_all(struct ttm_bo_device *bdev);
705
 
 
 
707
extern int ttm_bo_wait_unreserved(struct ttm_buffer_object *bo);
706
708
#endif