Commit 47efefcc authored by Guido Gunther's avatar Guido Gunther

HACK: gc7000: Ref texture descriptor BOs

This makes sure they don't get cleaned up althogh we still want them
around. Labelled as HACK since it extends on the bo reloc code.
parent 0c91f9e2
......@@ -198,8 +198,7 @@ etna_sampler_view_update_descriptor(struct etna_context *ctx,
res = etna_resource(res->texture);
}
/* No need to ref LOD levels individually as they'll always come from the same bo */
/* FIXME: etna_cmd_stream_ref does not exist in libdrm */
// etna_cmd_stream_ref(stream, res->bo);
etna_drm_bo_ref(res->bo);
}
static void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment