Skip to content

Commit

Permalink
media: amphion: Fix firmware path to match linux-firmware
Browse files Browse the repository at this point in the history
[ Upstream commit dcff0b5 ]

The path did not match the one it was submitted into linux-firmware
which prevented generic distribution from having working CODEC.

Fixes: 9f599f3 ("media: amphion: add vpu core driver")
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
ndufresne authored and gregkh committed Aug 3, 2023
1 parent 70f9f05 commit 940a2c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/platform/amphion/vpu_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ static const struct dev_pm_ops vpu_core_pm_ops = {

static struct vpu_core_resources imx8q_enc = {
.type = VPU_CORE_TYPE_ENC,
.fwname = "vpu/vpu_fw_imx8_enc.bin",
.fwname = "amphion/vpu/vpu_fw_imx8_enc.bin",
.stride = 16,
.max_width = 1920,
.max_height = 1920,
Expand All @@ -843,7 +843,7 @@ static struct vpu_core_resources imx8q_enc = {

static struct vpu_core_resources imx8q_dec = {
.type = VPU_CORE_TYPE_DEC,
.fwname = "vpu/vpu_fw_imx8_dec.bin",
.fwname = "amphion/vpu/vpu_fw_imx8_dec.bin",
.stride = 256,
.max_width = 8188,
.max_height = 8188,
Expand Down

0 comments on commit 940a2c7

Please sign in to comment.