diff options
author | Jonas Karlman <jonas@kwiboo.se> | 2019-08-21 14:27:47 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-08-26 10:46:13 -0300 |
commit | 834a1cfee8340775798296eb693964c883e239a2 (patch) | |
tree | 127ad8311170e0c1baff6a5029ad8ee07dba74d2 /drivers/staging/media/hantro | |
parent | 9d802222a3405599d6e1984d9324cddf592ea1f4 (diff) | |
download | linux-834a1cfee8340775798296eb693964c883e239a2.tar.bz2 |
media: hantro: Enable VP8 decoding on RK3328
RK3328 SoC has the same decoder IP block as RK3399,
lets enable VP8 decoding on RK3328.
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/staging/media/hantro')
-rw-r--r-- | drivers/staging/media/hantro/rk3399_vpu_hw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/hantro/rk3399_vpu_hw.c b/drivers/staging/media/hantro/rk3399_vpu_hw.c index 414b1d3fbb1f..14d14bc6b12b 100644 --- a/drivers/staging/media/hantro/rk3399_vpu_hw.c +++ b/drivers/staging/media/hantro/rk3399_vpu_hw.c @@ -213,7 +213,7 @@ const struct hantro_variant rk3328_vpu_variant = { .dec_offset = 0x400, .dec_fmts = rk3399_vpu_dec_fmts, .num_dec_fmts = ARRAY_SIZE(rk3399_vpu_dec_fmts), - .codec = HANTRO_MPEG2_DECODER, + .codec = HANTRO_MPEG2_DECODER | HANTRO_VP8_DECODER, .codec_ops = rk3399_vpu_codec_ops, .irqs = rk3328_irqs, .num_irqs = ARRAY_SIZE(rk3328_irqs), |