Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp281457lql; Mon, 11 Mar 2024 02:30:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV2kxKntrby9jMeSlho8eKbYalEDyuRBsRIGjwBoVFYy/mGXoGnQ1bCOaioZuoNuwqI0uSBX4wucBxNxlpmwPRT0nd/q+oqeWrQAx/7Sw== X-Google-Smtp-Source: AGHT+IEP7VYlzZOqhuXApV1Xyk8meXs6WkEtvWk4QnryWjhCib4XUyZZHmdidlgeDo42nHjKpVE2 X-Received: by 2002:a05:6a20:7295:b0:1a3:dd1:1362 with SMTP id o21-20020a056a20729500b001a30dd11362mr6437000pzk.31.1710149404163; Mon, 11 Mar 2024 02:30:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710149404; cv=pass; d=google.com; s=arc-20160816; b=nbsKJiEpC86LV1+0Mc8/Q3JTrMfhHq24H03ZNwP7ArLVQmCZoEnW3GveMbaCLuTqUw ftLcJ/N4f6u9++tTEFtD5VFgc0QJjGIlYSnxKt7F1b8kZFyLbotOLGrdj0BR8tpTNAGs m0dr5zi3GqmRJSCT+qmyVCme+Pdz2pElwiBvug9SfUiLHzlLBdUJ6l8SF+Db28ROMCXm Rq1NT8XSK3pisIF/9tTtQ1cxT75PQ0x2uUPlK0uyTgFkoPgOWZ/fEqx6CJHdZS2GvKrs tc8ZcPeClFwZyRUT8w91yosuhVzUJ/1PNfWis8XiQ9zuyFhP6OeJw2npLz8b1kxmd3U3 j1eA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=wwhZrdAzIkTWmw/Vn4+QEOPr+h1nlDJuvnEEVKRwohc=; fh=+G554TMyKGYtQYoGZ9r0GWibWl+La46JG0O5VF/FivI=; b=T+IqRwFVBL3kmVUNx9Fli0KnVbGV09Je6JRFr7vnYL9P0xlOpdNh2HPPyTh+WOZoFW nGmUs3fMsXJ2xP7CND6NAc8P12f6jY2ySYvXaX+PKH4jWT/0O3i4rdJMSmIzfRrkes7c ofWKwawD/3hgDD4ePk9jYoU5hhKo8IXSQz0p1ogP/WAG3tBpAk4qkwI9kkis5lQPpW7j T7O+TCIIDcpmt/b0jjWAZ4ZINLw/GXCwPSonm/q6HB07WuaCyxJ38v+3FunuLLluBxeM GGrmLVgVkCnSRrH+IyKlY1asJnQ+6pM10mCR9ky9D6I+B5v3kQYKfMlIJpa5YovBmIIX HgJA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=RjgNcBN4; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-98619-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98619-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 6-20020a631046000000b005dca7a43069si4563771pgq.603.2024.03.11.02.30.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 02:30:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-98619-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=RjgNcBN4; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-98619-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98619-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 8779D280E1A for ; Mon, 11 Mar 2024 09:30:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 66EE717BB2; Mon, 11 Mar 2024 09:29:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="RjgNcBN4" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B8DDE17996 for ; Mon, 11 Mar 2024 09:29:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710149398; cv=none; b=hUEvN7VuGoTKsfYav0rph/zRTNXzu4giZO1F/moOkMvnfBGjtrzpvMMbipJENbuJ9czwSxgS08YI66e247BP7RkUo2PDQBN9HyvcQ1Xk6rjEXHJ3qXCpFQ7VQB4tRGdqAzLmiA6j/1iEla+Hr82TQRsy8KkxFR5C6ipMxWS3IoU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710149398; c=relaxed/simple; bh=i9RYgl3dciT8uNyydDWLqhOtA/+iznvnbV3o1iIP4VM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=uHLFSN5biWkxbnUx+L5GHhudO2uf2MclvE3TMOJGzAnyJQYkrReWrqmtg6c/9onocCrI2UmL4qz0QjbHkB0CC/J3uvTB4zEfuYSQYlvHEbEXKXWlRBWbGV4buq5DR6G3w7hNb5Rme/+YGoAwnhIibhFIm7j7sI3bqAqHFx+q2B8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=RjgNcBN4; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1710149394; bh=i9RYgl3dciT8uNyydDWLqhOtA/+iznvnbV3o1iIP4VM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RjgNcBN4JGTFQz6V5ia0dLRVYt8OyPfrVGXd2DOv/ZD5+r4gQnsrHV28H6Z6EEdd2 7mdJ/9kWPi54ryf5Z+WTc2meEWl9lncGBOFZ7hcHAewhxZs6mZhAbQIRGU6oK3NLcp f2ideDNaxmY4K/yUo0rULM4W2+BDXZxJSSWW41W78xJiFNli0ugWI1ll6yRuqGQhEo OdXQxh06cDgBnik8sITyQNVpNRB/0h38/iUkzHK5cWBzliABmvmcdhy1BYjfIL8QGq jbf1Lb+Td2MBUqMeZgZtwJz/oPE8Fg0g/P6Gz/KVC/0hhvdrRr9wWVvQhZ6fkvZ8a9 pdNUQys79xN3A== Received: from localhost (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sebastianfricke) by madrid.collaboradmins.com (Postfix) with ESMTPSA id B04C03780C13; Mon, 11 Mar 2024 09:29:54 +0000 (UTC) Date: Mon, 11 Mar 2024 10:29:53 +0100 From: Sebastian Fricke To: "jackson.lee" Cc: mchehab@kernel.org, nicolas@ndufresne.ca, linux-kernel@vger.kernel.org, hverkuil@xs4all.nl, nas.chung@chipsnmedia.com, lafley.kim@chipsnmedia.com Subject: Re: [PATCH v2 0/4] wave5 codec driver Message-ID: <20240311092953.bhddzoigalhoyydi@basti-XPS-13-9310> References: <20240311042442.10755-1-jackson.lee@chipsnmedia.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline In-Reply-To: <20240311042442.10755-1-jackson.lee@chipsnmedia.com> Hey Jackson, just as a quick info, I feel like the title of the cover letter is a bit confusing, as it sounds like it contains the source code for the wave5 codec driver, which we already have. Usually the title of the cover letter should indicate to the reader what to expect in the patch-set (which can also be a really nice indication for when you try to do too much in a single patch-set, because then it will be hard to make a concise title). Greetings, Sebastian On 11.03.2024 13:24, jackson.lee wrote: >From: "Jackson.lee" > >The wave5 codec driver is a stateful encoder/decoder. >The following patches is for supporting yuv422 inpuy format, supporting >runtime suspend/resume feature and extra things. > >v4l2-compliance results: >======================== > >v4l2-compliance 1.24.1, 64 bits, 64-bit time_t > >Buffer ioctls: > warn: v4l2-test-buffers.cpp(693): VIDIOC_CREATE_BUFS not supported > warn: v4l2-test-buffers.cpp(693): VIDIOC_CREATE_BUFS not supported > test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK > test VIDIOC_EXPBUF: OK > test Requests: OK (Not Supported) > >Total for wave5-dec device /dev/video0: 45, Succeeded: 45, Failed: 0, Warnings: 2 >Total for wave5-enc device /dev/video1: 45, Succeeded: 45, Failed: 0, Warnings: 0 > >Fluster test results: >===================== > >Running test suite JCT-VC-HEVC_V1 with decoder GStreamer-H.265-V4L2-Gst1.0 Using 1 parallel job(s) >Ran 132/147 tests successfully in 94.782 secs > >(1 test fails because of not supporting to parse multi frames, 1 test fails because of a missing frame and slight corruption, 2 tests fail because of sizes which are incompatible with the IP, 11 tests fail because of unsupported 10 bit format) > >Running test suite JVT-AVC_V1 with decoder GStreamer-H.264-V4L2-Gst1.0 Using 1 parallel job(s) >Ran 77/135 tests successfully in 37.364 secs > >(58 fail because the hardware is unable to decode MBAFF / FMO / Field / Extended profile streams.) > > >Chnage since v1: >================= > >* For [PATCH v2 0/4] media: chips-media: wave5: Support SPS/PPS generation for each IDR > - define a macro for register addresses > >* For [PATCH v2 1/4] media: chips-media: wave5: Support runtime suspend/resume > - add auto suspend/resume > >* For [PATCH v2 2/4] media: chips-media: wave5: Use helpers to calculate bytesperline and sizeimage > - use helper functions to calculate bytesperline and sizeimage > >* For [PATCH v2 3/4] media: chips-media: wave5: Support YUV422 raw pixel-formats on the encoder > - remove unnecessary codes > >Change since v0: >================= >The DEFAULT_SRC_SIZE macro was defined using multiple lines, >To make a simple define, tab and multiple lines has been removed, >The macro is defined using one line. > > >Jackson.lee (4): > media: chips-media: wave5: Support SPS/PPS generation for each IDR > media: chips-media: wave5: Support runtime suspend/resume > media: chips-media: wave5: Use helpers to calculate bytesperline and > sizeimage. > media: chips-media: wave5: Support YUV422 raw pixel-formats on the > encoder. > > .../platform/chips-media/wave5/wave5-helper.c | 24 ++ > .../platform/chips-media/wave5/wave5-helper.h | 4 + > .../platform/chips-media/wave5/wave5-hw.c | 23 +- > .../chips-media/wave5/wave5-vpu-dec.c | 261 +++++------------- > .../chips-media/wave5/wave5-vpu-enc.c | 260 +++++++++-------- > .../platform/chips-media/wave5/wave5-vpu.c | 43 +++ > .../platform/chips-media/wave5/wave5-vpu.h | 4 - > .../platform/chips-media/wave5/wave5-vpuapi.c | 14 +- > .../platform/chips-media/wave5/wave5-vpuapi.h | 1 + > .../chips-media/wave5/wave5-vpuconfig.h | 25 +- > .../media/platform/chips-media/wave5/wave5.h | 3 + > 11 files changed, 329 insertions(+), 333 deletions(-) > >-- >2.43.0 >