From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 894953271F2 for ; Fri, 31 Oct 2025 10:54:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761908051; cv=none; b=pGtcUvXWgODBehVHuwkqSo9D4X1Nh45W/NyeQ0SsGe1TTMtDIUqjy28kxicisCSEicI7spOY+jX8Ujk8PVE9+Fl62k8etUSs5wcGpaOxsTVWGnNE4t9KZgc1yHG+qXs4OjJl+QDx/0vSwp0aPiuDXp4LituA8Nn8vPg12dhdRPU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761908051; c=relaxed/simple; bh=7gj+cJp993vl4WqeEIh2j9IeyvPhgDaGr7szSC/7jNY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=XbR/2PGhH9Nlr2OYvCjJTLAOGvToAEBwV0sguKVuyV/NENZnVhrQNBg+NSgoNLTd6lvClVG/pWhkMlLEilxgoIqiV72mDLGc+Qef3xmIFUh+Wn8xDvjKAePc8XvN58dGe0IbfbI9z2AeUQY8T3eIjkGqhAssb5zhKdxcRO7OEUI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=YzSXvO/r; arc=none smtp.client-ip=209.85.128.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="YzSXvO/r" Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-47728f914a4so10409835e9.1 for ; Fri, 31 Oct 2025 03:54:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1761908047; x=1762512847; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:from:references:cc:to:subject:reply-to:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=RWbb9jOM/Npy1NvqoXYiPbS/pGYcdA0QjCqFUttooEE=; b=YzSXvO/rfHkGZcOGmBOTI4SCHCgoKd9kxeqoRwItaIxAzDVb3Vj5VYMg/TAhr2fP5k Lpsvj8C4QUUqmf7gWnpHBgBsv1HqGyNDEiXeGE3M1/2A6xYu5w/nOR414rNn/466loV5 FxxypZpwNIic8oMRPRGmJ3oGh+HV6nNE8AXzJjtYVWfcPY4osGbyqUTlrb97ntVOKT98 QYbSs7exerFw5En3j1+dR4Psw9a9rI2CDuuPrWE/UAPt9eGTwDQ7hUkCmAsbXB3tsqw3 de9hk/qV2sgY+b8Q1rNXv+JY4haY6VracyEvAS+ydLCrXdqUTsRgMj0D2g3PVRF78PkT SZfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761908047; x=1762512847; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:from:references:cc:to:subject:reply-to:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=RWbb9jOM/Npy1NvqoXYiPbS/pGYcdA0QjCqFUttooEE=; b=F3+8FMJoplPZDOt8H4hjW9HxuayUKq6Q9lkLnyTkRG4XfT+mPANM2OFvqHmpIYlqf1 oaUIWMKfdbUqNUNR1ScsxQOLgNlHjZ2Q6wrHbN6kscZOUnT6SmWm6y+BiL/gMJH1ANuH 0SyANArn97enGriaApeVRdVFnOktvLtrqMgRfm5F0Hq5nMO6MUsYZn4HdXRu3AjLTAW2 COZUwMtPOXvi+wB9LwKG+PGu9cWgZpVPmQKpGdkSRz4xSGPH1JPCZ7Q1f+9BXaXHGZkx BVILq0NB9t+wrN/gMoybbDul3Tvaj4w803BM4x3uffzohAVWOIul1HKcJyiUrajvc7ro Psqw== X-Forwarded-Encrypted: i=1; AJvYcCVbutab9v3Fss5N8VcPBGk0Z/Ni7shHqJUd+a8wjud30yvkkd4WDqbt9GN1nx06HtJnvi7lnjDB11kZ9KY=@vger.kernel.org X-Gm-Message-State: AOJu0YwBR7nvNUOc+swMvi9P9VxYiBjY9NTTxFLrSNDhWuhwfzTP1GiA mQoyTzs70RZNhUEeDHp0NPAjOEef0io43Yklf3UVs74XdsNxLA5JTsanJEnjTDlJX4A= X-Gm-Gg: ASbGncsl+V+TFNnb8LOPpc78Homy3Tu2o1Svzh2TaGrWFW//LryVqXbeln6uSEmaCSi eMJTUbRPE8tzOdDO3EM4JzfyMiFwOppxaGBdFV11tYXlrGGELMIwGhtLkIz3vru0QPM+9uOsDcG CwkVEBQs0A3nicelPANF9vQeoiDtgfFGDpmzIG/UasbpwS6gkzL3wmyCC2mFL/XCsdVJxF5d4mY coFxgjDqibUzrCDMQf9JIKnH5xk3uikx6zD4INgz0EJ8CjI60c/ZgP6PVs1vAEbWteFjwyGugs2 0aiHnL/vLo6KEaqIUYB8UhNEZlZfajbIDyTrk8D6M+SppNgzL3/gLlopFhOIKGZZXKmughE2JKJ 7fDHj+uMnTySe8yqj4CnigwVAReJrAjbPJz9QJhkzqzgLg/iNvg+vCx2LhqusfmyUD1JHUxi8a+ kARn9BsqBeaiYBrDEQRBAvaKLXcVJE8ZXnVhk238YE6UhyZ9HxIBns X-Google-Smtp-Source: AGHT+IEgf03Oe8z5ZRRjt2A1xMwk+m5WTt5D4goSc+aPwc6gLWO5KYIPhJMUjFiAxPgG8kTDW2eN/Q== X-Received: by 2002:a05:600c:841a:b0:471:672:3486 with SMTP id 5b1f17b1804b1-477307d7648mr28413185e9.15.1761908046700; Fri, 31 Oct 2025 03:54:06 -0700 (PDT) Received: from ?IPV6:2a01:e0a:cad:2140:d967:2bcf:d2d0:b324? ([2a01:e0a:cad:2140:d967:2bcf:d2d0:b324]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47733023256sm27522635e9.17.2025.10.31.03.54.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 31 Oct 2025 03:54:06 -0700 (PDT) Message-ID: Date: Fri, 31 Oct 2025 11:54:05 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Reply-To: Neil Armstrong Subject: Re: [PATCH v2 0/5] media: qcom: iris: encoder feature enhancements To: Wangao Wang , Vikash Garodia , Dikshita Agarwal , Abhinav Kumar , Bryan O'Donoghue , Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, quic_qiweil@quicinc.com, quic_renjiang@quicinc.com References: <20251031-iris_encoder_enhancements-v2-0-319cd75cbb45@oss.qualcomm.com> From: Neil Armstrong Content-Language: en-US, fr Autocrypt: addr=neil.armstrong@linaro.org; keydata= xsBNBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7QtXUB530Zlk/d2ETgzQ5FLYYnUDAaRl+8JUTjc0CNOTpCeik 80TZcE6f8M76Xa6yU8VcNko94Ck7iB4vj70q76P/J7kt98hklrr85/3NU3oti3nr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o3E3gTCS KmbUuLv1CtxKQF+fUV1cVaTPMyT25Od+RC1K+iOR0F54oUJvJeq7fUzbn/KdlhA8XPGzwGRy 4zcsPWvwnXgfe5tk680fEKZVwOZKIEuJC3v+/yZpQzDvGYJvbyix0lHnrCzq43WefRHI5XTT QbM0WUIBIcGmq38+OgUsMYu4NzLu7uZFAcmp6h8g Organization: Linaro In-Reply-To: <20251031-iris_encoder_enhancements-v2-0-319cd75cbb45@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi, On 10/31/25 10:50, Wangao Wang wrote: > Hi All, > > This patch series introduces several enhancements to the Qualcomm Iris > encoder driver, improving support for V4L2 controls and enabling more > video encoding features. > > All patches have been tested with v4l2-compliance, v4l2-ctl and > on QCS8300 for encoder. > > Commands used for V4l2-ctl validation: > > Scale: > v4l2-ctl --verbose -d /dev/video1 \ > --set-fmt-video-out=width=1920,height=1080,pixelformat=NV12 \ > --set-selection-output target=crop,width=1920,height=1080 \ > --set-fmt-video=width=1280,height=720,pixelformat=H264 \ > --stream-mmap --stream-out-mmap \ > --stream-from=input_nv12_1080p.yuv \ > --stream-to=output/scale_720p_output.h264 > > Flip: > v4l2-ctl --verbose -d /dev/video1 \ > --set-fmt-video-out=width=1920,height=1080,pixelformat=NV12 \ > --set-selection-output target=crop,width=1920,height=1080 \ > --set-fmt-video=pixelformat=H264 --stream-mmap --stream-out-mmap \ > --stream-from=input_nv12_1080p.yuv \ > --stream-to=output/vertical_flip.h264 \ > --set-ctrl vertical_flip=1 > > v4l2-ctl --verbose -d /dev/video1 \ > --set-fmt-video-out=width=1920,height=1080,pixelformat=NV12 \ > --set-selection-output target=crop,width=1920,height=1080 \ > --set-fmt-video=pixelformat=H264 --stream-mmap --stream-out-mmap \ > --stream-from=input_nv12_1080p.yuv \ > --stream-to=output/horizontal_flip.h264 \ > --set-ctrl horizontal_flip=1 > > Rotate: > v4l2-ctl --verbose -d /dev/video1 \ > --set-fmt-video-out=width=1920,height=1080,pixelformat=NV12 \ > --set-selection-output target=crop,width=1920,height=1080 \ > --set-fmt-video=pixelformat=H264 --stream-mmap --stream-out-mmap \ > --stream-from=input_nv12_1080p.yuv \ > --stream-to=output/rotate90.h264 \ > --set-ctrl rotate=90 > > v4l2-ctl --verbose -d /dev/video1 \ > --set-fmt-video-out=width=1920,height=1080,pixelformat=NV12 \ > --set-selection-output target=crop,width=1920,height=1080 \ > --set-fmt-video=pixelformat=H264 --stream-mmap --stream-out-mmap \ > --stream-from=input_nv12_1080p.yuv \ > --stream-to=output/rotate180.h264 \ > --set-ctrl rotate=180 > > v4l2-ctl --verbose -d /dev/video1 \ > --set-fmt-video-out=width=1920,height=1080,pixelformat=NV12 \ > --set-selection-output target=crop,width=1920,height=1080 \ > --set-fmt-video=pixelformat=H264 --stream-mmap --stream-out-mmap \ > --stream-from=input_nv12_1080p.yuv \ > --stream-to=output/rotate270.h264 \ > --set-ctrl rotate=270 I've run this serie on SM8650-HDK, and all test works (+ visually confirmed) except the rotate90 & rotate270 which fails with: [ 113.494611] qcom-iris aa00000.video-codec: session error received 0x1000005: unknown printed on dmesg. Do you know if those operations are supposed to work on the sm8650 hw & fw ? Neil