diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-06-07 15:38:42 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-09-20 14:22:55 +0200 |
commit | 37e680a15ff6375ff02773161f817e90a38c51f7 (patch) | |
tree | d1b6fae7751c04ce051016019b4d4ebd0ee0d48c /drivers/lguest | |
parent | 8c0bd3c02d52eff11396e81b4d217ee668e03528 (diff) |
drm/i915: Introduce drm_i915_gem_object_ops
In order to specialise functions depending upon the type of object, we
can attach vfuncs to each object via a new ->ops pointer.
For instance, this will be used in future patches to only bind pages from
a dma-buf for the duration that the object is used by the GPU - and so
prevent them from pinning those pages for the entire of the object.
v2: Bonus comments.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/lguest')
0 files changed, 0 insertions, 0 deletions