summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Grzeschik <m.grzeschik@pengutronix.de>2022-11-08 22:51:34 +0100
committerMichael Grzeschik <m.grzeschik@pengutronix.de>2023-04-20 16:12:13 +0200
commitd0897ac6844c86a8d8d6f90d4116eb068184010c (patch)
tree0a346a5e14c834555364d94c70d8dbcffa7ce3bd
parentb645d4572a47ec15303e8ef51e2db12d62356ea4 (diff)
downloadlinux-v6.3/topic/rk3568-vepu-h264-stateless-bootlin.tar.gz
linux-v6.3/topic/rk3568-vepu-h264-stateless-bootlin.tar.xz
fixup! media: hantro: Add H.264 encoding supportv6.3/topic/rk3568-vepu-h264-stateless-bootlin
-rw-r--r--drivers/media/platform/verisilicon/hantro_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/verisilicon/hantro_drv.c b/drivers/media/platform/verisilicon/hantro_drv.c
index a345add2735c..92147c81205b 100644
--- a/drivers/media/platform/verisilicon/hantro_drv.c
+++ b/drivers/media/platform/verisilicon/hantro_drv.c
@@ -273,7 +273,7 @@ queue_init(void *priv, struct vb2_queue *src_vq, struct vb2_queue *dst_vq)
* The Kernel needs access to the JPEG destination buffer for the
* JPEG encoder to fill in the JPEG headers.
*/
- /* if (!ctx->is_encoder) */ // This was under condition in mainline, but not in downstream h264 support
+ if (!ctx->is_encoder) // This was under condition in mainline, but not in downstream h264 support
dst_vq->dma_attrs |= DMA_ATTR_NO_KERNEL_MAPPING;
dst_vq->type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;