From patchwork Sat Feb 11 20:54:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Niklas_S=C3=B6derlund?= X-Patchwork-Id: 13137200 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 864BFC636CC for ; Sat, 11 Feb 2023 20:55:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229554AbjBKUzD (ORCPT ); Sat, 11 Feb 2023 15:55:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229506AbjBKUzC (ORCPT ); Sat, 11 Feb 2023 15:55:02 -0500 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 83AC9126F4 for ; Sat, 11 Feb 2023 12:55:01 -0800 (PST) Received: by mail-wr1-x432.google.com with SMTP id m14so8557479wrg.13 for ; Sat, 11 Feb 2023 12:55:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ragnatech-se.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ZWPCCehMySTWDztB7agLe09Qbsz9UHsF2BXhr7G+Z70=; b=ZjjidkLGgu/HB6isSKpdWyQixyK7UWv50GMPVLd8jJ+ORaJRk8YlN1OezZLy9v8yvO wLBIutEy7+TGaraNtvn4bTck90adECB0ewxMFhQqOFSg3S3sZUN2ey/PTnmVW7rZvTqp fzravZ2InDsQK8E8xT9fATdhqiyTPz8SdnwxhnxKhTs2FR3D9kfXfUvuFEefysjaUnzL 6AYhBsyVaLTw3NwxzyAiwNfnUUzDEX+b/OH7Zf6k2fUSlCiyyA0gBr3OcxytPdn3tiw4 56KmXeFvj9gcwK1ZJ/KKt58YOPHjPVkAd7pvkaZti5dq6T8zmP6RDSUlRlGMQ63u+q06 GzFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZWPCCehMySTWDztB7agLe09Qbsz9UHsF2BXhr7G+Z70=; b=fJstP5KCO1QfsdkxtCtKROnnidvPgkT/EImk43uJeVtNgagJNXUqGiV+66PZN50Gd+ zG3OIaIle1YK1ArwyyHvG2MkZAKVpCxJlMQCFiE2PIoAfj4JbGiqaOECEyPCd83RixXj h6+5crwX2idb9qLAfsDw1vqsVBUlxsLDOi2Ef8o31wmOWwue3GbEFgg9tEYt5fkXR+gi hP1C403VYdbj/nzqgiG9L2kU6H7UBPhrLDl3ABErWHe0/CFHg4Ef420Aps2RAWo+ZNKI MhD1P+JOVohRIFgYL4dxR42kv58rBsZybrq6b5sywIVlVK1L9IRxvt/u3dyO6jJh5cPo JUXA== X-Gm-Message-State: AO0yUKVx462QR4A1k7izK2AFQZGhCS+mJiuwMPHKhImTPDIafpqMOTqp gXzEL/ZUj8JYGerDeqXJtJwEGQ== X-Google-Smtp-Source: AK7set/wHl6/xhjWfjVXfK8rlZdfhexe22UPBfLWpG+LF/98tQ1DfVi5PtJCZIXK5Ji9IJNjTAvwrg== X-Received: by 2002:a05:6000:c8:b0:2c3:db98:3e87 with SMTP id q8-20020a05600000c800b002c3db983e87mr15787994wrx.20.1676148900116; Sat, 11 Feb 2023 12:55:00 -0800 (PST) Received: from sleipner.berto.se (p54ac5802.dip0.t-ipconnect.de. [84.172.88.2]) by smtp.googlemail.com with ESMTPSA id q4-20020a05600000c400b002c54737e908sm5095531wrx.91.2023.02.11.12.54.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Feb 2023 12:54:59 -0800 (PST) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: Hans Verkuil , linux-media@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, =?utf-8?q?Niklas_S=C3=B6derlund?= Subject: [PATCH 0/2] media: rcar-vin: Fix issues with NV12 on Gen3 Date: Sat, 11 Feb 2023 21:54:30 +0100 Message-Id: <20230211205432.493102-1-niklas.soderlund+renesas@ragnatech.se> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org Hello, This series fixes two small issues around NV12. Patch 1/2 forbids the use of the scaler on Gen3 if the output format is NV12. While patch 2/2 fixes the size alignment for NV12. Work tested on both Gen2 and Gen3 without regressions. Niklas Söderlund (2): media: rcar-vin: Gen3 can not scale NV12 media: rcar-vin: Fix NV12 size alignment .../media/platform/renesas/rcar-vin/rcar-dma.c | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-)