diff options
author | Ben Widawsky <ben@bwidawsk.net> | 2013-08-14 11:38:33 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-08-22 13:31:51 +0200 |
commit | b25cb2f8828aca6204d9c93d4d677f27e3ae9fa6 (patch) | |
tree | 16ccc7d906cfdd6017db13bdaf76334d83bfa40f /drivers/gpu/drm/i915/i915_drv.h | |
parent | 99486b8e6140da7721c932e708a6c17dc1dd970a (diff) | |
download | lwn-b25cb2f8828aca6204d9c93d4d677f27e3ae9fa6.tar.gz lwn-b25cb2f8828aca6204d9c93d4d677f27e3ae9fa6.zip |
drm/i915: s/obj->exec_list/obj->obj_exec_link in debugfs
To convert the execbuf code over to use vmas natively we need to
shuffle the exec_list a bit. This patch here just prepares things with
the debugfs code, which also uses the old exec_list list_head, newly
called obj_exec_link.
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
[danvet: Split out from Ben's big patch.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index 2e7d5f9524f7..6532d9713b72 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h @@ -1312,6 +1312,8 @@ struct drm_i915_gem_object { struct list_head global_list; struct list_head ring_list; + /** Used in execbuf to temporarily hold a ref */ + struct list_head obj_exec_link; /** This object's place in the batchbuffer or on the eviction list */ struct list_head exec_list; |