OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84e7ee4
)
radeonsi/uvd: allow newer HW to create HW decoder
author
Leo Liu
<leo.liu@amd.com>
Fri, 5 Oct 2018 13:19:45 +0000
(09:19 -0400)
committer
Marek Olšák
<marek.olsak@amd.com>
Wed, 3 Jul 2019 19:51:12 +0000
(15:51 -0400)
Previously it was Raven only allowed to do so
Signed-off-by: Leo Liu <leo.liu@amd.com>
Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/gallium/drivers/radeonsi/si_uvd.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_uvd.c
b/src/gallium/drivers/radeonsi/si_uvd.c
index
8c9553a
..
94d81a4
100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_uvd.c
+++ b/
src/gallium/drivers/radeonsi/si_uvd.c
@@
-146,8
+146,7
@@
struct pipe_video_codec *si_uvd_create_decoder(struct pipe_context *context,
const struct pipe_video_codec *templ)
{
struct si_context *ctx = (struct si_context *)context;
- bool vcn = ctx->family == CHIP_RAVEN ||
- ctx->family == CHIP_RAVEN2;
+ bool vcn = ctx->family >= CHIP_RAVEN;
if (templ->entrypoint == PIPE_VIDEO_ENTRYPOINT_ENCODE) {
if (vcn) {