summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi
diff options
context:
space:
mode:
authorLeo Liu <[email protected]>2017-04-17 12:14:00 -0400
committerLeo Liu <[email protected]>2017-05-25 11:40:20 -0400
commitc23ffafc509e0240e04cdd4227a51397bef26d66 (patch)
tree304a71b2184a141b784bb98980be8bff789c8a27 /src/gallium/drivers/radeonsi
parent34f7cf49c8a8a900c2a9a2e197041e2d211dccd6 (diff)
radeon: rename has_uvd info to has_hw_decode
Signed-off-by: Leo Liu <[email protected]> Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c
index 6f82e294bde..909a959bc1c 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.c
+++ b/src/gallium/drivers/radeonsi/si_pipe.c
@@ -175,7 +175,7 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen,
si_init_cp_dma_functions(sctx);
si_init_debug_functions(sctx);
- if (sscreen->b.info.has_uvd) {
+ if (sscreen->b.info.has_hw_decode) {
sctx->b.b.create_video_codec = si_uvd_create_decoder;
sctx->b.b.create_video_buffer = si_video_buffer_create;
} else {