diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-03-12 15:12:59 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-03-12 15:12:59 +0000 |
commit | 09862a85eba243babde9ca721ca6521566f5c082 (patch) | |
tree | c2d44c03ee2c169bbfe9be0a79ba42a43cfb6745 /src/sna/gen3_render.c | |
parent | 4f8fba31d7317248e0d4710ef5553dc1f9593314 (diff) |
sna: Mark redirect proxies with a unique id
This helps gen3 in particular as it uses the unique_id field of a bo to
detect changes in render target.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen3_render.c')
-rw-r--r-- | src/sna/gen3_render.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sna/gen3_render.c b/src/sna/gen3_render.c index 3313e3e2..28b950fe 100644 --- a/src/sna/gen3_render.c +++ b/src/sna/gen3_render.c @@ -3215,6 +3215,8 @@ gen3_composite_set_target(struct sna *sna, if (op->dst.bo == NULL) return false; + assert(op->dst.bo->unique_id); + /* For single-stream mode there should be no minimum alignment * required, except that the width must be at least 2 elements. */ |