Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp915375rwb; Thu, 19 Jan 2023 04:29:09 -0800 (PST) X-Google-Smtp-Source: AMrXdXt0OnPLMqyyjIZgL+KMS/MA8Ljwb4jHHTR/+PzhdXZWGQssAGfuNl882pUdJ2P5Nkk2tt3e X-Received: by 2002:a05:6a20:d80e:b0:ac:b2a3:e39c with SMTP id iv14-20020a056a20d80e00b000acb2a3e39cmr10222280pzb.62.1674131348907; Thu, 19 Jan 2023 04:29:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674131348; cv=none; d=google.com; s=arc-20160816; b=HZJmxjdySvsUWtqP6l2KBl48ZCojvdwPE+pmRg1cjxylqk9YSpwi/FCxeWrqf8EPl1 YIoaLU7m4LAbTMAIAAJcy+RLx3s4KWGXRaxzcjyBFOAPWHa/4Rl5uYyJdOXG/4F04Vqf PqHK7yeZ9hn5A5LGwwgs7yJ4068I2FoJX3vg59vTJzArpDUqQirrV1xeeWhCNYpe/qzG sKmIhoiM4GO7ItegmK70I7zfN0DKPp8zr5VM9sT+vc5zDxT4V2WsJUkztmJEcjtOFsAt uxAuI7e9hRbHKQO/pov/1uRGNvIPvQhgTk/S06nfOjxDu7mclPYe+vya8VUxO7DyBxF2 IsEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=YBCDQ4RcMX5cY0YERp9W+RwKWE5lA3CbAz1gwPZRUX0=; b=g5e9r5UCgbpCAMQjo52BHqzXN1pWAoA5Pz5FFJpsewI7VLpeq2hM379XntSznEyTWI BGVSK7Eg3L9dgv1E+h78U8b3MKdhQvO4l+wbTEkUbgtzn1u9pLVBnCF/ZwlkztsUdjre UYfK3o4eTZo6YDX+3G/LVGfIUdMCA49cCZ1GDxPBowwyt9yLK1SpAX+EscH5rnrpIqUN FsnvxKN3B9ZzFMHNMqoRmm1CnMVStQy442jiCsftUbfbg1NC9sd/7Ai2FGNV2CXqRFe9 bWxk64YwLLFKpttAPIi+5J89QXGb3CrDN6SS0vCqLxFXMycPJnGy+Ghhj0BG9VNst5az Nuiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NZgSOq7Z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p6-20020a63e646000000b00476c9add60bsi38745196pgj.404.2023.01.19.04.29.03; Thu, 19 Jan 2023 04:29:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NZgSOq7Z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230408AbjASLlq (ORCPT + 44 others); Thu, 19 Jan 2023 06:41:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230470AbjASLlN (ORCPT ); Thu, 19 Jan 2023 06:41:13 -0500 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 7520E4B184 for ; Thu, 19 Jan 2023 03:41:10 -0800 (PST) Received: by mail-ed1-x532.google.com with SMTP id w14so2513350edi.5 for ; Thu, 19 Jan 2023 03:41:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=YBCDQ4RcMX5cY0YERp9W+RwKWE5lA3CbAz1gwPZRUX0=; b=NZgSOq7Z0L76O7GqVX3ud2LsfuEpdZ7IvPLf8ZQzpetziragB0UtDNhzUMb0j4FgUN x3yLJosYMGORX3Js20oLfhCxIexVkl1q0FNsBECPeJlwjbmdH+9UWANqlKUbxphvKRB1 Fp8iuhgwbH4vkgnTOTSTU8aJrMyY5WLf1QcoGRIGVsqsNRxX4J7NWB+HhbzfSrO+ZgY2 KHD3Av7S0a10/xcPTas7iv+yOoBRmGHDkQ3JS31cx+mMuhfT+4Poy9xpvCsXk5jTXUAS VzLglQezCgDzG5/ywXuRSvjEdyD8B/0Hdt15HRCpNcujg3WwPzeJhJeX9iqQBufU1UiJ D7Kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=YBCDQ4RcMX5cY0YERp9W+RwKWE5lA3CbAz1gwPZRUX0=; b=eFhpwbEy7d5lzYCMFbbxCKW35y9Wrd+d8d1Q0CgeH4E6ZsToSr5FaPAVmv6f9Fmb0U oRI/NOTrWckExmWlF62dTcKVsCXF3yT3tJq3iZ/VJsuzpez6enwJlsC+hdeFw7AshVVG VoXNc0FSoR354urocBuzCv3V6DiCJ9ZWstbhigGQtp4vyer2Q1nxSWYP1cFMzfVgiKci nrCTgSanbuvwbZ4M27M75b0ZDis+Zzfm2b8EdFXsJa9WfHL3egNf8wTdrJGCxoY9kRlM HWCpyRXp7O377j4KNFhCzzsvboTSXdJIfPAKlXLD7hEIoAF54e/SYOYyDfamapv8IbBS uUzA== X-Gm-Message-State: AFqh2ko48TdgA/RWFfailhBbqru5FH8wEpPftgmeR0i8DRz0OEeHQPn/ haW5oVIV2w3X5IuPGm87vDKROQ== X-Received: by 2002:a05:6402:35c1:b0:46f:f36b:a471 with SMTP id z1-20020a05640235c100b0046ff36ba471mr14431172edc.22.1674128468957; Thu, 19 Jan 2023 03:41:08 -0800 (PST) Received: from ?IPV6:2001:14ba:a085:4d00::8a5? (dzccz6yyyyyyyyyyybcwt-3.rev.dnainternet.fi. [2001:14ba:a085:4d00::8a5]) by smtp.gmail.com with ESMTPSA id e20-20020a170906249400b0084d4cb00f0csm13368821ejb.99.2023.01.19.03.41.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 19 Jan 2023 03:41:08 -0800 (PST) Message-ID: <2c8fc24a-5a16-7817-4001-edc53340f9fd@linaro.org> Date: Thu, 19 Jan 2023 13:41:06 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH v6 01/10] drm/hdcp: Add drm_hdcp_atomic_check() Content-Language: en-GB To: Mark Yacoub , quic_khsieh@quicinc.com, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, intel-gfx@lists.freedesktop.org Cc: robdclark@gmail.com, quic_abhinavk@quicinc.com, sean@poorly.run, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, agross@kernel.org, andersson@kernel.org, konrad.dybcio@somainline.org, jani.nikula@linux.intel.com, joonas.lahtinen@linux.intel.com, rodrigo.vivi@intel.com, tvrtko.ursulin@linux.intel.com, tzimmermann@suse.de, ville.syrjala@linux.intel.com, stanislav.lisovskiy@intel.com, matthew.d.roper@intel.com, imre.deak@intel.com, lucas.demarchi@intel.com, manasi.d.navare@intel.com, swati2.sharma@intel.com, bhanuprakash.modem@intel.com, javierm@redhat.com, jose.souza@intel.com, lyude@redhat.com, hbh25y@gmail.com, arun.r.murthy@intel.com, ashutosh.dixit@intel.com, ankit.k.nautiyal@intel.com, maxime@cerno.tech, swboyd@chromium.org, christophe.jaillet@wanadoo.fr, quic_sbillaka@quicinc.com, johan+linaro@kernel.org, dianders@chromium.org, marex@denx.de, quic_jesszhan@quicinc.com, bjorn.andersson@linaro.org, abhinavk@codeaurora.org, seanpaul@chromium.org, Jani Nikula References: <20230118193015.911074-1-markyacoub@google.com> <20230118193015.911074-2-markyacoub@google.com> From: Dmitry Baryshkov In-Reply-To: <20230118193015.911074-2-markyacoub@google.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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: X-Mailing-List: linux-kernel@vger.kernel.org On 18/01/2023 21:30, Mark Yacoub wrote: > From: Sean Paul > > This patch moves the hdcp atomic check from i915 to drm_hdcp so other > drivers can use it. No functional changes, just cleaned up some of the > code when moving it over. > > Acked-by: Jani Nikula > Acked-by: Jani Nikula > Reviewed-by: Rodrigo Vivi > Reviewed-by: Abhinav Kumar > Signed-off-by: Sean Paul > Signed-off-by: Mark Yacoub > Link: https://patchwork.freedesktop.org/patch/msgid/20210913175747.47456-2-sean@poorly.run #v1 > Link: https://patchwork.freedesktop.org/patch/msgid/20210915203834.1439-2-sean@poorly.run #v2 > Link: https://patchwork.freedesktop.org/patch/msgid/20211001151145.55916-2-sean@poorly.run #v3 > Link: https://patchwork.freedesktop.org/patch/msgid/20211105030434.2828845-2-sean@poorly.run #v4 > Link: https://patchwork.freedesktop.org/patch/msgid/20220411204741.1074308-2-sean@poorly.run #v5 > > Changes in v2: > -None > Changes in v3: > -None > Changes in v4: > -None > Changes in v5: > -None > Changes in V6: > -Rebase: move helper from drm_hdcp.c to drm_hdcp_helper.c > > --- > drivers/gpu/drm/display/drm_hdcp_helper.c | 69 +++++++++++++++++++++ > drivers/gpu/drm/i915/display/intel_atomic.c | 4 +- > drivers/gpu/drm/i915/display/intel_hdcp.c | 47 -------------- > drivers/gpu/drm/i915/display/intel_hdcp.h | 3 - > include/drm/display/drm_hdcp_helper.h | 3 + > 5 files changed, 74 insertions(+), 52 deletions(-) With the hope that commit message is cleaned up: Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry