Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4543137imm; Fri, 18 May 2018 06:54:46 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrFhYGgMQETfdSMshVr1TPagYEl+k3UneGtoLikQfMCBEHucPzQBvZbTs7w7rIDYuhQoJhk X-Received: by 2002:a63:5fd4:: with SMTP id t203-v6mr7659281pgb.144.1526651686365; Fri, 18 May 2018 06:54:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526651686; cv=none; d=google.com; s=arc-20160816; b=fQ8feEObn3kADmnTSUIAcCKezHL57ZLlpAun1lO3LaPHgtqe31Q7iNfDQic2FY47lO y/7P/m8wEWrvEYk/s+pZIg7/eXyml8wLKphstHuIlnMPFmKR4F6IbfI82bSzU52Sf2Uf sbdCDvTEUjyL3YO3/oUvPh9QhxKPgFNptnY8ausfhYb6F2qmwq3I9uv5jajTCE6O2AlG 0W3BR1I5QLvoYt3HG51wHydYwgMWuHVx8qKrt7qVyyOzwfoXgInI9tfleKrI0Mz34g4M Ev9f8VE6AyYylsTyhl4tuOZmel+6YKho4+QLxCJmX54kuVZpKmDhMuLUghNT3nEhUuvn 2uLg== 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 :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=SgNwzctsEY8Ozn1uu9qcODT2UgKxtX+r50zpnR/Aak4=; b=1H0vAGQGx0ZnhDxONswDCgB9OkHKOJFKyUPheXTuf5c8EAvWzXQBpj9VAD5bQMxPeV UGkoc60saP8iUipJ9Ikb0mhpU5i+EqCKTIeWQoRpyrnYxLZauRPNKJz8Ud/P8K+9VYaw c6l8vlrg3v/I8UJLNZm6N9Ho7OkhpBcIsKX7nVgrIX+PBMza7pnLHQoHIRUmHYDMX69T Df1SgHF3qeLl6909DxZ7wgJ7KqlAvuwLhVy3ghsh1cw43ZICLuBHc+mNMEgD5ZuM0M2p xcHfAa2ZYBOrKsOwbqyvI1hofATBkctXFNpDVqS8yJtqPSlWsJxDDoti8L4WVeeUd16e 8ezg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=g+eGuCTv; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z62-v6si5803223pgd.172.2018.05.18.06.54.31; Fri, 18 May 2018 06:54:46 -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; dkim=pass header.i=@chromium.org header.s=google header.b=g+eGuCTv; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752519AbeERNyG (ORCPT + 99 others); Fri, 18 May 2018 09:54:06 -0400 Received: from mail-ua0-f194.google.com ([209.85.217.194]:44645 "EHLO mail-ua0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752163AbeERNyE (ORCPT ); Fri, 18 May 2018 09:54:04 -0400 Received: by mail-ua0-f194.google.com with SMTP id h15-v6so5374996uan.11 for ; Fri, 18 May 2018 06:54:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SgNwzctsEY8Ozn1uu9qcODT2UgKxtX+r50zpnR/Aak4=; b=g+eGuCTv+TL3Fo/WhExJB1KFyHg/lKH5E6X0t3O8MRy2143ekzhGSX0cWfL0r/TGVW k2pn4Xatc2o6EKi4NHMH9QyhF4DwrY+OM5YJ6V+DlF96RRD0IGQcnSeWAHJfGAzCMzuE 3f+MeEo4Xb0oQVdLciRpIje67JPbXerS7N7kA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SgNwzctsEY8Ozn1uu9qcODT2UgKxtX+r50zpnR/Aak4=; b=o3NtD/DSQ32VYP75hqWTpKoTQi80xPRxaxzde2/VIAVWeJui1rK0FwTMMuYwh3A9JL wkXUY77afCT67Di/uB1SCvRAYIuUXLHDVX2K+yykTMB9X7UinDTS+jR5XYbPtyi92s2o 2PexibXLSjgqBmtWb7Mx5zgFug1wTmpPgJv6aLqnx8hRE4JdZoiuS5+9nQPnqTSykmyt 7X61TKQ3I3wJ2bYq7upOjQIsxAOVJwQzZJVFHW3ZjYEjcwicolzasaywen6gjdHp23XI j2VF3xfLRYGBuQruo4VQqY8ua4MKMbcnVcrT2poqFpiQI9986pj+hfVko6IpMfTdd54D lFLA== X-Gm-Message-State: ALKqPwcLNOVIvDsiFWXXTHzM7u1tcEeijV7hzW0q1C869jb8bI1NzKsM 8nkqeWqWBNKiEXZlmErsF7p0HmgBrvA= X-Received: by 2002:ab0:5c9b:: with SMTP id s27-v6mr7551663uaf.177.1526651642938; Fri, 18 May 2018 06:54:02 -0700 (PDT) Received: from mail-ua0-f175.google.com (mail-ua0-f175.google.com. [209.85.217.175]) by smtp.gmail.com with ESMTPSA id q186-v6sm1496674vka.15.2018.05.18.06.54.01 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 May 2018 06:54:01 -0700 (PDT) Received: by mail-ua0-f175.google.com with SMTP id j5-v6so5368387uak.12 for ; Fri, 18 May 2018 06:54:01 -0700 (PDT) X-Received: by 2002:ab0:5de6:: with SMTP id l38-v6mr7537408uag.56.1526651640923; Fri, 18 May 2018 06:54:00 -0700 (PDT) MIME-Version: 1.0 References: <20180515075859.17217-1-stanimir.varbanov@linaro.org> <20180515075859.17217-4-stanimir.varbanov@linaro.org> In-Reply-To: <20180515075859.17217-4-stanimir.varbanov@linaro.org> From: Tomasz Figa Date: Fri, 18 May 2018 22:53:48 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 03/29] venus: hfi: update sequence event to handle more properties To: Stanimir Varbanov Cc: Mauro Carvalho Chehab , Hans Verkuil , Linux Media Mailing List , Linux Kernel Mailing List , linux-arm-msm , vgarodia@codeaurora.org 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 Tue, May 15, 2018 at 5:14 PM Stanimir Varbanov < stanimir.varbanov@linaro.org> wrote: > HFI version 4xx can pass more properties in the sequence change > event, extend the event structure with them. > Signed-off-by: Stanimir Varbanov > --- > drivers/media/platform/qcom/venus/hfi.h | 9 ++++++ > drivers/media/platform/qcom/venus/hfi_msgs.c | 46 ++++++++++++++++++++++++++++ > 2 files changed, 55 insertions(+) > diff --git a/drivers/media/platform/qcom/venus/hfi.h b/drivers/media/platform/qcom/venus/hfi.h > index 5466b7d60dd0..21376d93170f 100644 > --- a/drivers/media/platform/qcom/venus/hfi.h > +++ b/drivers/media/platform/qcom/venus/hfi.h > @@ -74,6 +74,15 @@ struct hfi_event_data { > u32 tag; > u32 profile; > u32 level; nit; Could we add a comment saying that it showed in 4xx? [snip] > + case HFI_PROPERTY_CONFIG_VDEC_ENTROPY: > + data_ptr += sizeof(u32); > + entropy_mode = *(u32 *)data_ptr; > + event.entropy_mode = entropy_mode; Is the |entropy_mode| local variable necessary? Best regards, Tomasz