Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 95BACC6FD19 for ; Thu, 16 Mar 2023 09:30:41 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0E75F10EA5A; Thu, 16 Mar 2023 09:30:37 +0000 (UTC) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by gabe.freedesktop.org (Postfix) with ESMTPS id 192BD10E0BD for ; Thu, 16 Mar 2023 09:30:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1678959030; x=1710495030; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Hfs9aO/NZR1sfTMdyJd+x8HpkSs6H3GG/szwP7vzK84=; b=NBIEqYuxCwtz1QnqSQtuRK7XkqiuOuOGfJbImRPqja5LtoMTEKBd8W3K OoabVl+qAOdIIfy9PSTQHqLUIrQXuWbmojkmHbBFUP+hojlP2wFAi6g4v b13vR9163XYZdTRbFOCNjKmLkPadJnC2gY+o0081RTo7UovOClCGB0ls7 gsvJxaHJ9dDkatmoodfcE/ph5TtSgjfeTLeQD11/RghqDKYI64hiv7f2E lsNBSJZ22EjEsycZkHYaKN4mE/JpqgNnyD5o6Xx/Ea0L9IyIH6ydLnUPW qBD88X2/S876N8TbIxvIDfDpl/b5eV1vqjtkcC+NPZQjjN0Dwgebe+NmZ A==; X-IronPort-AV: E=McAfee;i="6500,9779,10650"; a="317587692" X-IronPort-AV: E=Sophos;i="5.98,265,1673942400"; d="scan'208";a="317587692" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Mar 2023 02:30:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10650"; a="853942486" X-IronPort-AV: E=Sophos;i="5.98,265,1673942400"; d="scan'208";a="853942486" Received: from kandpal-x299-ud4-pro.iind.intel.com ([10.190.239.32]) by orsmga005.jf.intel.com with ESMTP; 16 Mar 2023 02:30:22 -0700 From: Suraj Kandpal To: intel-gfx@lists.freedesktop.org Date: Thu, 16 Mar 2023 14:59:24 +0530 Message-Id: <20230316092927.668980-4-suraj.kandpal@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230316092927.668980-1-suraj.kandpal@intel.com> References: <20230316092927.668980-1-suraj.kandpal@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Intel-gfx] [PATCH v13 3/6] drm/i915/hdcp: HDCP2.x Refactoring to agnostic hdcp X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rodrigo Vivi , Tomas Winkler Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" There are more than type of content protection security firmware. Make the name generic %s/_mei_/_ --v3 -Changing names to drop cp_fw to make naming more agnostic[Jani] --v4 -remove header reference in intel_display_core.h [Uma] -fix commit message and prefix drm [Uma] Cc: Tomas Winkler Cc: Rodrigo Vivi Cc: Uma Shankar Cc: Ankit Nautiyal Signed-off-by: Anshuman Gupta Signed-off-by: Suraj Kandpal Reviewed-by: Ankit Nautiyal Reviewed-by: Uma Shankar --- drivers/gpu/drm/i915/display/intel_hdcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_hdcp.c b/drivers/gpu/drm/i915/display/intel_hdcp.c index 1ae0882dc1d4..3b9bdc4a764d 100644 --- a/drivers/gpu/drm/i915/display/intel_hdcp.c +++ b/drivers/gpu/drm/i915/display/intel_hdcp.c @@ -1409,7 +1409,7 @@ static int hdcp2_authenticate_port(struct intel_connector *connector) return ret; } -static int hdcp2_close_mei_session(struct intel_connector *connector) +static int hdcp2_close_session(struct intel_connector *connector) { struct intel_digital_port *dig_port = intel_attached_dig_port(connector); struct drm_i915_private *dev_priv = to_i915(connector->base.dev); @@ -1433,7 +1433,7 @@ static int hdcp2_close_mei_session(struct intel_connector *connector) static int hdcp2_deauthenticate_port(struct intel_connector *connector) { - return hdcp2_close_mei_session(connector); + return hdcp2_close_session(connector); } /* Authentication flow starts from here */ -- 2.25.1