Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp837882imm; Fri, 27 Jul 2018 07:03:07 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcHWa7DcsqJty3oUjwSvoIyXq59Dad69eQtbn2pOidGja+D+RDlMRE4Yp0+loXLLoHymHL6 X-Received: by 2002:a63:1126:: with SMTP id g38-v6mr6221195pgl.122.1532700187892; Fri, 27 Jul 2018 07:03:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532700187; cv=none; d=google.com; s=arc-20160816; b=YRE1aE7TrFYurKyD/Z60mJkcftWDM+8biiG79fI5TPP9n+6Gw9MwnZ4WRmrot0oupk c2qvrOtnEwmbYDaFtfpimeVVb9r5kW2nKv97asbxvUzQ8QviPjC5fJ9VHNku2pvn6zlg 1NGh4oFh5VQBtBjIQgD0nNuSNKl1O3mjcaX7B1cX7878vNQcj1LGdZQxKWfbJk1SgFxP rfVqVGIUeZE5YtYF3Bzryqx8S2ydRM75GuFDvBOTtnbUSo3YSGBi3L8GNd09gZCQphWU AU/8tqnKaKRwBm9IpOKJg56fcv3oX7e1CDoTzy7pSvfzYOS6Crd4mOQpcKbMKqOmdE+U Fh3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:arc-authentication-results; bh=0eOBvJVIpx0K2eLRk2AWHhmh3Q//6wL6P7i0Ljfjduk=; b=VtPFaNaAagOU1F841KHDOUQHEuUO8sajtKMOSsXZKg9fgj/pbWLZATTkgWV4JNjajr w5qWgg596+CCfbggkuWKJYoqEfNUoZ7iofJFSrYFaAmwA+gpcV1sUYOGMtZrhTPPVEQ0 avryU7U8mwBgfMl0HcQrUBNZv/ReqpBwwwpraa6IKtrdgygemRAXgM3nbyq/9iicUbL7 Xk+i+JHG0H4yKliUUCxEIwAc+l87K3yfIrkSxauACOCNdY3XpwfRY27hXlfcuywirktg iwEwZU8W7BmI6Yu3y6JceWfWXhzjqqr4veU2eqHNEz36gT4SHlkUz4ybScqJfz3qb6/k 63jg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g27-v6si3651124pgm.208.2018.07.27.07.02.52; Fri, 27 Jul 2018 07:03:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388541AbeG0PX4 (ORCPT + 99 others); Fri, 27 Jul 2018 11:23:56 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:38196 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730475AbeG0PX4 (ORCPT ); Fri, 27 Jul 2018 11:23:56 -0400 Received: by mail-ed1-f65.google.com with SMTP id t2-v6so4008406edr.5; Fri, 27 Jul 2018 07:01:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=0eOBvJVIpx0K2eLRk2AWHhmh3Q//6wL6P7i0Ljfjduk=; b=d8PkdvNtk3TkhmsLlFRlCtIXjoCFgkxljrQ1F4dYMhKsXrUVCp6yk6v6cih4u4ffiB WF8uyiGognEcV9/nOTcaJAFqPHySqVZ8n95CIMMh49+rdf/mHeY0799nwr2teAsGv3Yo Tk5+ROIg8ej5InU9qKSjEo0k94jrtCNgeUEDqz1PXn7X2cuBBmxKgrjJ1Of5MqebY7nP NZWw7ljrJLBMvflIuCFmol+5Nd5oCtvkSUT951wNS3rEtweKHb020ZzrzipT4f+dWu0v u37K2HmIoEp5qqS+4ArmItoTOMCqLnnfYdkwpuUJwpaJyrtiymKunE/XModuHxfSoNG+ Vicw== X-Gm-Message-State: AOUpUlGIDwXacIEog3xyVLqy0xgqiBqZxKip4jUtNSHj4/m6Jks77DM/ kUS7MlichagYLOINe+Vf7ivodUh1jtY= X-Received: by 2002:a50:eacb:: with SMTP id u11-v6mr7644503edp.7.1532700109953; Fri, 27 Jul 2018 07:01:49 -0700 (PDT) Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com. [209.85.221.49]) by smtp.gmail.com with ESMTPSA id h1-v6sm1936922eds.69.2018.07.27.07.01.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Jul 2018 07:01:49 -0700 (PDT) Received: by mail-wr1-f49.google.com with SMTP id j5-v6so5170415wrr.8; Fri, 27 Jul 2018 07:01:49 -0700 (PDT) X-Received: by 2002:adf:e90c:: with SMTP id f12-v6mr4873850wrm.126.1532700109100; Fri, 27 Jul 2018 07:01:49 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:adf:a15a:0:0:0:0:0 with HTTP; Fri, 27 Jul 2018 07:01:28 -0700 (PDT) In-Reply-To: <8c0b2fbec0302a15292d3629570ab1268fd306b8.camel@bootlin.com> References: <20180613140714.1686-1-maxime.ripard@bootlin.com> <20180613140714.1686-10-maxime.ripard@bootlin.com> <8c0b2fbec0302a15292d3629570ab1268fd306b8.camel@bootlin.com> From: Chen-Yu Tsai Date: Fri, 27 Jul 2018 22:01:28 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 9/9] media: cedrus: Add H264 decoding support To: Paul Kocialkowski Cc: Maxime Ripard , Hans Verkuil , Alexandre Courbot , Sakari Ailus , Laurent Pinchart , Tomasz Figa , Pawel Osciak , linux-kernel , linux-arm-kernel , Linux Media Mailing List , nicolas.dufresne@collabora.com, Jens Kuske , linux-sunxi , Thomas Petazzoni Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 27, 2018 at 9:56 PM, Paul Kocialkowski wrote: > Hi, > > On Wed, 2018-06-13 at 16:07 +0200, Maxime Ripard wrote: >> Introduce some basic H264 decoding support in cedrus. So far, only the >> baseline profile videos have been tested, and some more advanced features >> used in higher profiles are not even implemented. > > Here are two specific comments about things I noticed when going through > the h264 code. > > [...] > >> @@ -88,12 +101,37 @@ struct sunxi_cedrus_ctx { >> struct work_struct run_work; >> struct list_head src_list; >> struct list_head dst_list; >> + >> + union { >> + struct { >> + void *mv_col_buf; >> + dma_addr_t mv_col_buf_dma; >> + ssize_t mv_col_buf_size; >> + void *neighbor_info_buf; >> + dma_addr_t neighbor_info_buf_dma; > > Should be "neighbour" instead of "neighbor" and the same applies to most > variables related to this, as well as the register description. This just means you've been hanging out with people who use American English. :) ChenYu