diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-05-28 12:02:56 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-05-28 23:16:31 +0100 |
commit | b3169768ddf8c8977d2ace3675611b5ec6eba7ee (patch) | |
tree | 2cfb0f16f819a62d0af95004b072d835f59353ee /src/sna/sna_render.c | |
parent | 0839e3316a02380cd64d354ee0ec9d4c2b8eecf4 (diff) |
sna: Make the backend identifier more informative
This is useful, for example, with the multiple gen7 variants.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_render.c')
-rw-r--r-- | src/sna/sna_render.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sna/sna_render.c b/src/sna/sna_render.c index c19a2835..6e95e554 100644 --- a/src/sna/sna_render.c +++ b/src/sna/sna_render.c @@ -282,7 +282,7 @@ no_render_fini(struct sna *sna) (void)sna; } -void no_render_init(struct sna *sna) +const char *no_render_init(struct sna *sna) { struct sna_render *render = &sna->render; @@ -315,6 +315,7 @@ void no_render_init(struct sna *sna) sna->kgem.ring = KGEM_BLT; sna_vertex_init(sna); + return "generic"; } static struct kgem_bo * |