From patchwork Wed Jun 26 11:06:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans Verkuil X-Patchwork-Id: 13712738 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 91D391662E5 for ; Wed, 26 Jun 2024 11:07:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719400070; cv=none; b=HlVjrDa7Mb6u80Kg+nW/YC7kmVA19h2GyimZQ7LE6svuv4YxN7LojbryBng2jVtz9BanV51yDVtVfPe/T4CPqfFkrnrTrNgbf944CTwMiCCFh+JFnztgGsHSC5LdZuz6+fPwD8AxeN62bRrugVjEx9tFU6uZ9ncvuC7Dqo9Gzok= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719400070; c=relaxed/simple; bh=tC/cdr3ADI9yqVofnpSWCRTvaP3Y/pH0DNxwEg0nPHY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XdKJXt8pAJx+Xm6O7ANazLV18TovfesVr6bG3aVDspJq61XK2UB8/lGVEqxu2yJDPhkmoNLkULtk9vIRRze8rkejvqAxgOptobueTxyfoFJPLO0H23MPev50GlElaQS6amXwkO13TVa+Gd3BNPHJnKOWINYk02dMCEXGM3oSLf4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 651A6C2BD10; Wed, 26 Jun 2024 11:07:49 +0000 (UTC) From: Hans Verkuil To: linux-media@vger.kernel.org Cc: Jacopo Mondi Subject: [PATCH 0/2] media: vivid: sizeimage/CREATE_BUFS fixes Date: Wed, 26 Jun 2024 13:06:15 +0200 Message-ID: X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 After improving the CREATE_BUFS tests in v4l2-compliance I discovered several bugs in the vivid driver, primarily related to the multiplanar formats and the queue_setup callback. This series fixes those bugs in order to make the regression tests pass once the v4l2-compliance fixes are committed. Regards, Hans Hans Verkuil (2): media: vivid: fix wrong sizeimage value for mplane media: vivid: fix CREATE_BUFS support in queue_setup() drivers/media/test-drivers/vivid/vivid-sdr-cap.c | 7 ++++++- .../media/test-drivers/vivid/vivid-touch-cap.c | 6 +++--- drivers/media/test-drivers/vivid/vivid-vbi-cap.c | 2 ++ drivers/media/test-drivers/vivid/vivid-vbi-out.c | 2 ++ drivers/media/test-drivers/vivid/vivid-vid-cap.c | 5 +++-- drivers/media/test-drivers/vivid/vivid-vid-out.c | 16 +++++++++------- 6 files changed, 25 insertions(+), 13 deletions(-)