From: Benjamin Gaignard Date: Mon, 17 Jul 2023 15:06:11 +0000 (+0200) Subject: media: rkvdec: increase max supported height for H.264 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f000e6ca2d60fefd02a180a57df2c4162fa0c1b7;p=linux.git media: rkvdec: increase max supported height for H.264 After testing it is possible for the hardware to decode H264 bistream with a height up to 2560. Signed-off-by: Benjamin Gaignard Fixes: cd33c830448ba ("media: rkvdec: Add the rkvdec driver") Reviewed-by: Nicolas Dufresne Signed-off-by: Hans Verkuil --- diff --git a/drivers/staging/media/rkvdec/rkvdec.c b/drivers/staging/media/rkvdec/rkvdec.c index 134e2b9fa7d9a..84a41792cb4b8 100644 --- a/drivers/staging/media/rkvdec/rkvdec.c +++ b/drivers/staging/media/rkvdec/rkvdec.c @@ -120,7 +120,7 @@ static const struct rkvdec_coded_fmt_desc rkvdec_coded_fmts[] = { .max_width = 4096, .step_width = 16, .min_height = 48, - .max_height = 2304, + .max_height = 2560, .step_height = 16, }, .ctrls = &rkvdec_h264_ctrls,