Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Show Cases
Embedded World 2020
linux
Commits
df68cad8
Commit
df68cad8
authored
Feb 20, 2020
by
Ezequiel Garcia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hantro: Enable post processor on i.MX8M
Signed-off-by:
Ezequiel Garcia
<
ezequiel@collabora.com
>
parent
202fdb4c
Pipeline
#7580
passed with stage
in 38 minutes and 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
drivers/staging/media/hantro/imx8m_vpu_hw.c
drivers/staging/media/hantro/imx8m_vpu_hw.c
+10
-0
No files found.
drivers/staging/media/hantro/imx8m_vpu_hw.c
View file @
df68cad8
...
...
@@ -77,6 +77,13 @@ static int imx8mq_runtime_resume(struct hantro_dev *vpu)
* Supported formats.
*/
static
const
struct
hantro_fmt
imx8m_vpu_postproc_fmts
[]
=
{
{
.
fourcc
=
V4L2_PIX_FMT_YUYV
,
.
codec_mode
=
HANTRO_MODE_NONE
,
},
};
static
const
struct
hantro_fmt
imx8m_vpu_dec_fmts
[]
=
{
{
.
fourcc
=
V4L2_PIX_FMT_NV12
,
...
...
@@ -194,6 +201,9 @@ static const char * const imx8mq_clk_names[] = { "g1", "g2", "bus" };
static
const
char
*
const
imx8mq_reg_names
[]
=
{
"g1"
,
"g2"
,
"ctrl"
};
const
struct
hantro_variant
imx8mq_vpu_variant
=
{
.
postproc_fmts
=
imx8m_vpu_postproc_fmts
,
.
num_postproc_fmts
=
ARRAY_SIZE
(
imx8m_vpu_postproc_fmts
),
.
postproc_regs
=
&
hantro_g1_postproc_regs
,
.
dec_fmts
=
imx8m_vpu_dec_fmts
,
.
num_dec_fmts
=
ARRAY_SIZE
(
imx8m_vpu_dec_fmts
),
.
codec
=
HANTRO_MPEG2_DECODER
|
HANTRO_VP8_DECODER
|
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment