From patchwork Tue Nov 24 10:43:00 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: 1405458 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 4CgLJ76P3Fz9sRK; Tue, 24 Nov 2020 21:44:55 +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 1khVoX-0003wA-UF; Tue, 24 Nov 2020 10:44:50 +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 1khVoF-0003Yo-BE for kernel-team@lists.ubuntu.com; Tue, 24 Nov 2020 10:44:31 +0000 Received: by mail-pf1-f173.google.com with SMTP id q10so18122033pfn.0 for ; Tue, 24 Nov 2020 02:44:23 -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=9eaDswm0hoqFx3jtm73zSeVz66Wkuel6rHLqDfBCz+o=; b=nqcYPhaxORH8WQOB9NdnkNdk/nhkyfP1ITTxvNlgCKA4ymeUnbWa0IzXx6kfGF++lu r6xggHmxYf757MBikoVR+wXLV9y1b7mJWaJA1larRdjRRkKYUFW+EpD1LuxboBqmvHlg 3+XiPU8OGDWoFR1Z3TlX3pmwYaCY2/ub4mCeMuFzPXENwHMfNiXuH+anHXTLTcuwfbiA d+Mciq+sEWZNX8ZLZ1mwKMLrN92Ymmyw3KL6vDylqHgvrzFmiMP0NU0fxnqaVBDQp20O A5XvCNe2/nI/0UwZ215C12Tpi3Yi7JOqmMW81rl89s9M4UGUTcXohEhf3+CypFWZcHOm lHNg== X-Gm-Message-State: AOAM533+BKCH+tJh3ua9xsIY/XDGyqwFm5X6zzpLypj36enfGS7RkzKZ p4eNqqP+b2kfhHc8sghSnbo1Mgx2dHlOFQ== X-Google-Smtp-Source: ABdhPJw+xG1hh4kgF6WDswQpVk2tFgRmHmyxWHAGVnv/0WnOiomI82KxbbqQ+95rV/OvScOG6yehWg== X-Received: by 2002:a62:1455:0:b029:18b:83a2:768b with SMTP id 82-20020a6214550000b029018b83a2768bmr3545114pfu.3.1606214660907; Tue, 24 Nov 2020 02:44:20 -0800 (PST) Received: from localhost (61-220-137-37.HINET-IP.hinet.net. [61.220.137.37]) by smtp.gmail.com with ESMTPSA id x12sm2703799pjr.51.2020.11.24.02.44.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Nov 2020 02:44:20 -0800 (PST) From: You-Sheng Yang To: kernel-team@lists.ubuntu.com Subject: [PATCH 25/38][SRU][G/H] UBUNTU SAUCE: drm/i915: Make intel_dp_process_phy_request() static Date: Tue, 24 Nov 2020 18:43:00 +0800 Message-Id: <20201124104313.421860-26-vicamo.yang@canonical.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201124104313.421860-1-vicamo.yang@canonical.com> References: <20201124104313.421860-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 f8904e66e8bb..e27cc1bdef04 100644 --- a/drivers/gpu/drm/i915/display/intel_dp.c +++ b/drivers/gpu/drm/i915/display/intel_dp.c @@ -5464,7 +5464,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 b901ab850cbd..676914b6f6af 100644 --- a/drivers/gpu/drm/i915/display/intel_dp.h +++ b/drivers/gpu/drm/i915/display/intel_dp.h @@ -119,7 +119,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) {