[0/3] media: rcar-vin: Add Gen3 scaler support
Message ID | 20221009183551.1664631-1-niklas.soderlund+renesas@ragnatech.se (mailing list archive) |
---|---|
Headers |
Received: from vger.kernel.org ([23.128.96.18]) by www.linuxtv.org with esmtp (Exim 4.92) (envelope-from <linux-media-owner@vger.kernel.org>) id 1ohbAo-0036ks-IF; Sun, 09 Oct 2022 18:37:21 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230323AbiJIShI (ORCPT <rfc822;mkrufky@linuxtv.org> + 1 other); Sun, 9 Oct 2022 14:37:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230313AbiJIShH (ORCPT <rfc822;linux-media@vger.kernel.org>); Sun, 9 Oct 2022 14:37:07 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 610BA255AE for <linux-media@vger.kernel.org>; Sun, 9 Oct 2022 11:37:05 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id a13so13317586edj.0 for <linux-media@vger.kernel.org>; Sun, 09 Oct 2022 11:37:05 -0700 (PDT) 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=ACwGlN0BRnEYThscUK3CoIEB7lP8hoVucUxDhLzneEk=; b=7Jh07O8JCrk3g4JYofKrvove8Gd75W0CRlQ4alht4UdEcSJJqDACJIkLzAxtVjgAaa X2kw1yMLePc4yXQY9xNLlU1hdHMzv/atTQCVozbAoMI+fxZKuUB9K9ZTmhXOinF5rOeG zJU2fAmaulQ3B55LQ8ijUnURHLp8fVfhpubn/+a035+kwZymsOBx0sDcomDaXZx5fAEn 3cQzVl1cTnZRgeAVTKZ4QJGbBCwRr3YfnFkhYNXscZOpTvVmdUQxnbelEgFAvrrRsx5J X26+Dxox5YfgZz2Y8yHdpN+gPTVo3wocoqGJ54C2RYyLwsD8AfacZKNZr+sI9bx75O33 YBhQ== 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=ACwGlN0BRnEYThscUK3CoIEB7lP8hoVucUxDhLzneEk=; b=Zm4NjLqRbxHffeuAYGeFa061QR7+aYirFznyNzeySEH7Fr7thCXeBmC46UtgAONruz bRJhn6X9QOmEoNGydxnzCC5jrR3YOZCy+zJGRrRNejB1zflLkY6FPbWJmFDTbfPQK4NZ Q4n1cOzHQQBVdgzcbAd0GEcrBQVVB7rrsgD1UY/dKJuhzxUpSmQImIf8fdoQ9ZOCBiTA XoYPCwQqPEON77jjCUryPoh0kkdXkuLF/UOtvBnyW823FjNs16dHNiILh2DzJdZU8fby urQImfNS3zZfDUq2TIYsydHA93U85+Gd8PlVz3zz5830Mwsm5JE/KYKQEnSlrHdbnhKe 2JKg== X-Gm-Message-State: ACrzQf0Xa9dhCIFZf/zSTHtsKC7Xl1BoKjG5H13c9JLP7wIQk38nU3bk Rs3Ubyh2vGzhhxE0zEFaLUnjlA== X-Google-Smtp-Source: AMsMyM5X2SgxWeDlvNs/2NvxgdONXqr+iN79eEHlJPeaCIRAMB2Om23eOUxGLRH/DY9y/Cv88rxuUg== X-Received: by 2002:a05:6402:2793:b0:45c:21f4:35a3 with SMTP id b19-20020a056402279300b0045c21f435a3mr849746ede.345.1665340623966; Sun, 09 Oct 2022 11:37:03 -0700 (PDT) Received: from sleipner.berto.se (p54ac5370.dip0.t-ipconnect.de. [84.172.83.112]) by smtp.googlemail.com with ESMTPSA id o14-20020a50fd8e000000b00459148fbb3csm5610050edt.86.2022.10.09.11.37.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Oct 2022 11:37:03 -0700 (PDT) From: =?utf-8?q?Niklas_S=C3=B6derlund?= <niklas.soderlund+renesas@ragnatech.se> To: Hans Verkuil <hverkuil-cisco@xs4all.nl>, linux-media@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, =?utf-8?q?Niklas_S=C3=B6derlund?= <niklas.soderlund+renesas@ragnatech.se> Subject: [PATCH 0/3] media: rcar-vin: Add Gen3 scaler support Date: Sun, 9 Oct 2022 20:35:48 +0200 Message-Id: <20221009183551.1664631-1-niklas.soderlund+renesas@ragnatech.se> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-media.vger.kernel.org> X-Mailing-List: linux-media@vger.kernel.org X-LSpam-Score: -2.4 (--) X-LSpam-Report: No, score=-2.4 required=5.0 tests=BAYES_00=-1.9,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1 autolearn=ham autolearn_force=no |
Message
Niklas Söderlund
Oct. 9, 2022, 6:35 p.m. UTC
Hi, This series adds support for R-Car Gen3 VIN Up Down Scaler (UDS) on those SoCs that supports it. Patch 1/3 prepares the VIN driver selection rectangles to work with the media controller part of the driver. Patch 2/3 then do the plumbing to allow more then one scaler implementation. Finally patch 3/3 adds support for the Gen3 UDS scaler. The series is based on top of media-tree/master and is tested on both Gen3 and Gen2 without finding any regressions. Niklas Söderlund (3): media: rcar-vin: Do not cache remote rectangle media: rcar-vin: Store scaler in a function pointer media: rcar-vin: Add support for Gen3 UDS (Up Down Scaler) .../platform/renesas/rcar-vin/rcar-core.c | 22 +++- .../platform/renesas/rcar-vin/rcar-dma.c | 104 ++++++++++++++++-- .../platform/renesas/rcar-vin/rcar-v4l2.c | 93 ++++++++++++---- .../platform/renesas/rcar-vin/rcar-vin.h | 9 +- 4 files changed, 194 insertions(+), 34 deletions(-)