diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-06-06 16:53:41 -0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-06-07 17:56:45 +0200 |
commit | c65355bbefaf02d8819a810aacfd566634e3b146 (patch) | |
tree | da8996a7a3f740d720cf0213f5b03ffcb1bbb3b8 /drivers/gpu/drm/i915/i915_gem_execbuffer.c | |
parent | 0e088b8f33dab39bd8beb0c7a030d44beb936dd0 (diff) | |
download | blackbird-op-linux-c65355bbefaf02d8819a810aacfd566634e3b146.tar.gz blackbird-op-linux-c65355bbefaf02d8819a810aacfd566634e3b146.zip |
drm/i915: Track when we dirty the scanout with render commands
This is required for tracking render damage for use with FBC and will be
used in subsequent patches.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_execbuffer.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_gem_execbuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/i915_gem_execbuffer.c index a8bb62ca8756..c98333d74111 100644 --- a/drivers/gpu/drm/i915/i915_gem_execbuffer.c +++ b/drivers/gpu/drm/i915/i915_gem_execbuffer.c @@ -786,7 +786,7 @@ i915_gem_execbuffer_move_to_active(struct list_head *objects, obj->dirty = 1; obj->last_write_seqno = intel_ring_get_seqno(ring); if (obj->pin_count) /* check for potential scanout */ - intel_mark_fb_busy(obj); + intel_mark_fb_busy(obj, ring); } trace_i915_gem_object_change_domain(obj, old_read, old_write); |