From patchwork Tue Nov 24 09:12:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: You-Sheng Yang X-Patchwork-Id: 1405353 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CgJFp6Nckz9sSs; Tue, 24 Nov 2020 20:12:46 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1khUNM-0005Oi-V6; Tue, 24 Nov 2020 09:12:40 +0000 Received: from mail-pf1-f173.google.com ([209.85.210.173]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1khUNL-0005OX-I2 for kernel-team@lists.ubuntu.com; Tue, 24 Nov 2020 09:12:39 +0000 Received: by mail-pf1-f173.google.com with SMTP id w202so2066418pff.10 for ; Tue, 24 Nov 2020 01:12:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=8PYk7SKj3YEFY4yK6bPaDNmfefyb0eWu2GIkOcS2myE=; b=KliHQrHLtv0F1i7ZHbErqbr9ZxyDDSxbIv3dOrcVfnkVbAdLFaOKHWPFxa8i801OK2 ZySQ1h8PXoksEktx8NeJDb1FCz6UhtKbaFknezoJKhSqJdAQvTNWB2OIeahSPQ+q9eW7 pZnCtp9t02IEnGI0vT8VJeJ/ePZp4ILmO4qU6s7JRWO8MxdshYI2NaWE25GXV3oEQz7h pj+vCdY9Xc69iVqECnIp3HXrWg1X9uUkEgG2CtX0CodbbgdoUyIwavheH8gkTQNPMUOV DXAUmNlT3YUem1xY5LDiTez5ZJIbqSgS21nOp7KjLssKL17Y9bLLyF2VyxQfuItF/N+z AFLQ== X-Gm-Message-State: AOAM530PFWVmrrkhe/Zbh6Z4zC2X+BLQHWZeGGcqUQC5lgX1jxm+IAJt Xbfi3T9fTWvcutOE5RUHELa2Usovta5AGw== X-Google-Smtp-Source: ABdhPJxnPisgSlPveMuuwomwdGxp1gukiBFCV4VwheqH2wKipEIVKVJRfgzCBmbnCkJiztfHR+bOLA== X-Received: by 2002:a63:3309:: with SMTP id z9mr2861729pgz.243.1606209157532; Tue, 24 Nov 2020 01:12:37 -0800 (PST) Received: from localhost (61-220-137-37.HINET-IP.hinet.net. [61.220.137.37]) by smtp.gmail.com with ESMTPSA id c203sm7869632pfc.10.2020.11.24.01.12.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Nov 2020 01:12:36 -0800 (PST) From: You-Sheng Yang To: kernel-team@lists.ubuntu.com Subject: [PATCH 02/15][SRU][U/OEM-5.10] UBUNTU: SAUCE: drm/i915: Make intel_dp_process_phy_request() static Date: Tue, 24 Nov 2020 17:12:17 +0800 Message-Id: <20201124091230.335132-3-vicamo.yang@canonical.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201124091230.335132-1-vicamo.yang@canonical.com> References: <20201124091230.335132-1-vicamo.yang@canonical.com> MIME-Version: 1.0 Received-SPF: pass client-ip=209.85.210.173; envelope-from=vicamo@gmail.com; helo=mail-pf1-f173.google.com X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Ville Syrjälä BugLink: https://bugs.launchpad.net/bugs/1903969 intel_dp_process_phy_request() has no business being externally visible. Make it static. Signed-off-by: Ville Syrjälä Link: https://patchwork.freedesktop.org/patch/msgid/20200929233449.32323-4-ville.syrjala@linux.intel.com Reviewed-by: Imre Deak (cherry picked from commit 7ac469a0f7c627e1fd31b8d6f2e5b828b25f0877 https://anongit.freedesktop.org/git/drm-tip.git) Signed-off-by: You-Sheng Yang --- drivers/gpu/drm/i915/display/intel_dp.c | 2 +- drivers/gpu/drm/i915/display/intel_dp.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c index 2e08a33b7957..da650a2f253f 100644 --- a/drivers/gpu/drm/i915/display/intel_dp.c +++ b/drivers/gpu/drm/i915/display/intel_dp.c @@ -5542,7 +5542,7 @@ intel_dp_autotest_phy_ddi_enable(struct intel_dp *intel_dp, uint8_t lane_cnt) trans_ddi_func_ctl_value); } -void intel_dp_process_phy_request(struct intel_dp *intel_dp) +static void intel_dp_process_phy_request(struct intel_dp *intel_dp) { struct drm_dp_phy_test_params *data = &intel_dp->compliance.test_data.phytest; diff --git a/drivers/gpu/drm/i915/display/intel_dp.h b/drivers/gpu/drm/i915/display/intel_dp.h index 08a1c0aa8b94..58c7360eab13 100644 --- a/drivers/gpu/drm/i915/display/intel_dp.h +++ b/drivers/gpu/drm/i915/display/intel_dp.h @@ -122,7 +122,6 @@ void intel_read_dp_sdp(struct intel_encoder *encoder, struct intel_crtc_state *crtc_state, unsigned int type); bool intel_digital_port_connected(struct intel_encoder *encoder); -void intel_dp_process_phy_request(struct intel_dp *intel_dp); static inline unsigned int intel_dp_unused_lane_mask(int lane_count) {