Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp343922pxf; Thu, 18 Mar 2021 01:25:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyT5V2LIAN01NQ/8JdXFwZ/46OaGSMdc/iTo2Ji3tC4r8m2VocYj+keTLiLhp68FU//maMr X-Received: by 2002:a17:906:c0c8:: with SMTP id bn8mr39349780ejb.445.1616055925594; Thu, 18 Mar 2021 01:25:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616055925; cv=none; d=google.com; s=arc-20160816; b=08OMQQdgIMgavL2hRicvnim5N4l96DfNynVfto8aTmsfCbKWC3KlXjEJO5vpaEbEEr bkLWMtsB2v28pCoyabUBmEWp1ywNcjCymhdqC39jWv1q2s31EoKBaLUwfcpC0143cw6n wiSyi1JWgDdG9yf3Dx2dQS6uY0X00nGRUp/x6B/22wGUdnIefUjhQ3xS6V9jv1UilknL HzojWBOO8aZLyrwLeeq8PQLO47g97gNvhKqlhSlqFct8l24kpQtL3RB+GJ35xIrNbYUV nmuNZ+P4EYpKUDuM93YGn3oRH2UOpDWy3ieSulXVJ7bVU1ylSl+r68MWMvV8wfrmsHNJ QnLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=IveEl9kEwx6tO3SGzu9p/iPmU4xtomylddW7oHWWtxE=; b=fchsHhXduMdfvrBX75ZP5UhMPFj6EFch1APXpR6PRwr74ckmMbpv5mVbKuTpnjpBKS R2BDlg/bOm1Q4Bqq696oR0fa87IvBY5Bl/fv8Ams7Kix4rZmNZzgKYWI7PdLqYmchHKR ZnCAShqwtrR7WyflMihxs/doIgn5LJ1vO96Q8srMBC86wH/3K63ZVJPSznk7HjUxKa4P GXJB2wVfkIQzt+fle1qCONApv9uuvOMvaYRstSEd8zCAYImx4BpcXNEZEaImSb7qfF7T QaInqry0tvxKP2XqKh9h0r0vdxBGz02q5lTDOygfw3JyHEEqQhy69KyYg2BPU4hFxx4q 60QQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r17si1024334eds.189.2021.03.18.01.25.02; Thu, 18 Mar 2021 01:25:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230045AbhCRIVx (ORCPT + 99 others); Thu, 18 Mar 2021 04:21:53 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:38928 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229741AbhCRIVP (ORCPT ); Thu, 18 Mar 2021 04:21:15 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: benjamin.gaignard) with ESMTPSA id 2BA3B1F456D5 From: Benjamin Gaignard To: ezequiel@collabora.com, p.zabel@pengutronix.de, mchehab@kernel.org, robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, festevam@gmail.com, lee.jones@linaro.org, gregkh@linuxfoundation.org, mripard@kernel.org, paul.kocialkowski@bootlin.com, wens@csie.org, jernej.skrabec@siol.net, hverkuil-cisco@xs4all.nl, emil.l.velikov@gmail.com Cc: kernel@pengutronix.de, linux-imx@nxp.com, linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, kernel@collabora.com, Benjamin Gaignard Subject: [PATCH v6 10/13] media: hantro: handle V4L2_PIX_FMT_HEVC_SLICE control Date: Thu, 18 Mar 2021 09:20:43 +0100 Message-Id: <20210318082046.51546-11-benjamin.gaignard@collabora.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210318082046.51546-1-benjamin.gaignard@collabora.com> References: <20210318082046.51546-1-benjamin.gaignard@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Make sure that V4L2_PIX_FMT_HEVC_SLICE is correctly handle by v4l2 of the driver. Signed-off-by: Benjamin Gaignard --- drivers/staging/media/hantro/hantro_v4l2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/media/hantro/hantro_v4l2.c b/drivers/staging/media/hantro/hantro_v4l2.c index 77d7fe62ce81..0655324fd0d4 100644 --- a/drivers/staging/media/hantro/hantro_v4l2.c +++ b/drivers/staging/media/hantro/hantro_v4l2.c @@ -392,6 +392,7 @@ hantro_update_requires_request(struct hantro_ctx *ctx, u32 fourcc) case V4L2_PIX_FMT_MPEG2_SLICE: case V4L2_PIX_FMT_VP8_FRAME: case V4L2_PIX_FMT_H264_SLICE: + case V4L2_PIX_FMT_HEVC_SLICE: ctx->fh.m2m_ctx->out_q_ctx.q.requires_requests = true; break; default: -- 2.25.1