Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2908687pxj; Mon, 14 Jun 2021 09:50:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzxQFTXv6TDlBPu6/ks+gtEm+1wS8sXhzCmAVyrLcqdg/CtlYLi8ZUE+kHE5BMOcOwAPHUv X-Received: by 2002:a17:907:1003:: with SMTP id ox3mr16349979ejb.469.1623689418204; Mon, 14 Jun 2021 09:50:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623689418; cv=none; d=google.com; s=arc-20160816; b=hphmvGPNW8LR4vUTQpO6TeUMwbnwQfdkhmBwekmHiaEFj2lZXMLoSZRDgDt3yliWJ2 yNknHuIiyYkClNY4pGKd7VJ+5kM6e2/fwOL33LjSSd4M++S0mVwVsmOIV7RRNYDnFEwi 0NHMNYVA2IrPPwf720CXEkJe8SUkodIAFUn3wLpmoSnpCZgBgbCfTnFuELVWBPOOlHbq EuO/QI7r45ljoRo1T5qPKj9WEo99tYfBrrQ2SA4ArvTFAONOdo0I6eauwyjF+TXlcIbl eunfiGa6HcePJknQHUZ8Q09Hnl++X6Z2FDtC5bgwzBWFn2RJNrgvsavL6844v1vfg6Ia 0oiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=tvljP/FADgJBhPk8ME8L4V47cVc2f6d7/8FHRIYD954=; b=ZKIXb+OAIiAdIHgYXiC8GmusL+CQaIVKyE+Xl3EgbhmjEqMbGRgHLLN/UCO9Y7l/XD c+AmH5/E1mJeJLTEoLPbCGdCC7mE7baLIENjSOKAyISzmG1DpMKHuhy1LOAWg5qDIJu7 DAgm93C4g1dNT8iOm2GHgZ9miL60+0u05gYqvl8cRPyxeQT68gKgcn5zoxUvhbAi9y+b dMw4d+hTt6Uwkdsen03VgQKltfJUcQUQ3hFZQZsM8v/H/j8UOtY1SpVES2+Xc90WNl/7 sg5xrHKjl1/ym3Z7wFcXcpfQRxjEtfT0JjlZ+5Frhtx2Gz6BfQM/BibAYbZINHarIABe 8eBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=B8T6dmxQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ce12si10934572ejc.92.2021.06.14.09.49.54; Mon, 14 Jun 2021 09:50:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=B8T6dmxQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235003AbhFNQs5 (ORCPT + 99 others); Mon, 14 Jun 2021 12:48:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233948AbhFNQs4 (ORCPT ); Mon, 14 Jun 2021 12:48:56 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22944C061574; Mon, 14 Jun 2021 09:46:53 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id s70-20020a1ca9490000b02901a589651424so257615wme.0; Mon, 14 Jun 2021 09:46:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=tvljP/FADgJBhPk8ME8L4V47cVc2f6d7/8FHRIYD954=; b=B8T6dmxQE+0ZeP3z3goo/uCBgwFxsqBnOtsv8GUo1GTgIyTt2spvcvGsEqtuFBUZWK vFqBP36fjaqMSIiqnXoQ/A3/Xz4fE3JW3llo67SASmqge3+wpBE2MQGKpswswYUNXjYy hC5yVts0+mPVxHWOqj6q6nWfgTSS+APojDJ0X7g0zF4kUOuG9//tygMwPL4F76vlfryV 2SL14T1k//Lq59mbsY/3Ey2q6vtCpxX9FdHPB9nmoNXpYtIsxllswOSA3UVhKEPO6sc0 qiUtzhBlkS/UTy6d2FM2nxVnMeHqrC8NMGrQJuQbhqXOGEjJP20YcnqZkwmcBf4e9PRI mqHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=tvljP/FADgJBhPk8ME8L4V47cVc2f6d7/8FHRIYD954=; b=cwpP73TOF+pftvHxopvaHxWyDWPd6SskdeAwLFLjTvYEbzNBBM86r2M+zG68j0Ez60 2c1oMWApsDAq/WuE1bZ2FYoHDK9B/BYQNJby8GzF84L/b30LVs30FHrb6NYwh3o6NOiX EFCF2Z9Vu33g6vDC4hsJCfmSBv+WsLuJxtdGjOCamFFg1x7JZG0NKezNrwU0JBfHjFpK WEYwu9Q4dS8x4DsU4xtljuEwornAnvB3bDOhcbaorl3/zurAOtNL1h35ZPWUFubJoSxw MViZz+StfAhRgs8jkzLVLKsov3Mt38PpNh4DgBm+TuyFhgTodZEvBMPpV3tIiahvPunw EQWw== X-Gm-Message-State: AOAM5320Gcb+I9SfF/SUfUBXPVn86pB0R9+y0rXI4V4t/gNiK1V/vRHM Nd+q0ljkGwToF3J0MRvIMA== X-Received: by 2002:a05:600c:4ba1:: with SMTP id e33mr10664wmp.39.1623689211594; Mon, 14 Jun 2021 09:46:51 -0700 (PDT) Received: from [192.168.200.247] (ip5b434b8b.dynamic.kabel-deutschland.de. [91.67.75.139]) by smtp.gmail.com with ESMTPSA id x10sm16580048wrt.26.2021.06.14.09.46.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 14 Jun 2021 09:46:51 -0700 (PDT) Subject: Re: [PATCH v2 06/12] media: hantro: add support for Rockchip RK3066 To: Ezequiel Garcia Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Mauro Carvalho Chehab , Rob Herring , Philipp Zabel , Lee Jones , Heiko Stuebner , Greg Kroah-Hartman , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org References: <20210525152225.154302-1-knaerzche@gmail.com> <20210527154455.358869-1-knaerzche@gmail.com> <20210527154455.358869-7-knaerzche@gmail.com> <09885c89dd37ca56305630c96da88333e81a2f25.camel@collabora.com> From: Alex Bee Message-ID: <25edf9d4-6740-4ce3-90e4-8633b936fc5b@gmail.com> Date: Mon, 14 Jun 2021 18:46:49 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <09885c89dd37ca56305630c96da88333e81a2f25.camel@collabora.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ezequiel, Am 11.06.21 um 17:50 schrieb Ezequiel Garcia: > Hi Alex, > > On Thu, 2021-05-27 at 17:44 +0200, Alex Bee wrote: >> RK3066's VPU IP block is the predecessor from what RK3288 has. >> The hardware differences are: >>   - supports decoding frame sizes up to 1920x1088 only >>   - doesn't have the 'G1_REG_SOFT_RESET' register >>     (requires another .reset callback for hantro_codec_ops, >>      since writing this register will result in non-working >>      IP block) >>   - has one ACLK/HCLK per vdpu/vepu >>   - ACLKs can be clocked up to 300 MHz only > Have you tested trying 400 MHz (or more) ? Yes, I've tried this on both RK3066 and RK3036 variants - everything above  300 MHz results in non-functioning IP block. See comment in RK3036 devicetree in vendor kernel at [1]. [1] https://github.com/rockchip-linux/kernel/blob/develop-4.4/arch/arm/boot/dts/rk3036.dtsi#L246-L248 > >>   - no MMU >>     (no changes required: CMA will be transparently used) >> >> Add a new RK3066 variant which reflect this differences. This variant >> can be used for RK3188 as well. >> > Reviewed-by: Ezequiel Garcia > > Thanks! > Ezequiel >