Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp577918pxb; Fri, 8 Jan 2021 12:19:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJzMMyw1ceHcdcNGDvAvyQtUmpvvTZ7WSPhk+/fDo8pdSsSPzQWPGxSMwYxGpN/QLDdrLJMR X-Received: by 2002:a17:906:3d4a:: with SMTP id q10mr3753215ejf.85.1610137143418; Fri, 08 Jan 2021 12:19:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610137143; cv=none; d=google.com; s=arc-20160816; b=gwvFly+ahN4TIJwjoKPIZix27sBn9pxSkkfa7xLQTCuAEi5w8MvF/Y1nJ0QTQltMQZ YXxZuutz7TXFQnDw9kOGmyrNsq9QCr6ixhjjMvEjmpAzwaU7uDGOa0eiG6hu/6BBZqD3 x75h+PILSnKim0b5ueNSKVD+ehne0odSFIOYilVmtuynZXHv+CmNqtg1p++vkEWSoEUI vjYxS3jJcTooxfGtaQdK9xmClM4+HkOSc9xuNTVvCVdlxlPcdAwIOJORzhFYgyyA0XFG FadAy9OFnF5BjmYmkLdJLUVtLFlQN71QtE2yOQlc0xKct8L4Mt7dMhE7h6YPizDB2miY bs4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=8pCWTLh6pUKUhVwO0TotxP6oyBluQlcMqNIDaPfcM14=; b=vUcrUuS0Zni1KsCxYdEV0A+uzOF/suyOr6uX/3Qezum6PSCAuvuNfSeiCfi9pDj4fT WUVAVMZXh/HtgywhIiLV1uql9jV7luUhMp8sdlwf7yty1ivF6WV14XJt/3Sct54rTIVB iTd8FI/0mfQsvVw32Mc9MsccIyIWO4ZLhpQ9TmKBOmUInE9dB53/LAx8SU71pav+vTZl LFIzZVx2TNKerkXMYHiR7RpeKgr4m++QcPCtay6WltSfrsdLiOBAzHe16HAZBl4Wkofh i2TFNOkUJ1U6mvy97P6vipRXfV1X7DZDGBXl7hh4lXypNNRSh4L2fq7bxFuuuHAcWi+R +FkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=j4HTaC5t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w16si3936894edu.211.2021.01.08.12.18.39; Fri, 08 Jan 2021 12:19:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=j4HTaC5t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1729247AbhAHUQh (ORCPT + 99 others); Fri, 8 Jan 2021 15:16:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729164AbhAHUQg (ORCPT ); Fri, 8 Jan 2021 15:16:36 -0500 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43275C0612AC for ; Fri, 8 Jan 2021 12:15:29 -0800 (PST) Received: by mail-wr1-x42c.google.com with SMTP id t30so10182793wrb.0 for ; Fri, 08 Jan 2021 12:15:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=8pCWTLh6pUKUhVwO0TotxP6oyBluQlcMqNIDaPfcM14=; b=j4HTaC5teLJEWSrAqsMlehCTa/mrh1JvnNZigcfcW2Jv35J5T8GWVT4ZgZsX6LEscY QED6g9o4ceQ8RoCri7MtZd0Ew+XQLnuspak171c5bLYoG0e2UFlddvWCwiINRxdVHeTo g+WZSYoI1lYoJ78oS08z1p/OCBxFDiEEofnAbNtlpzywGkIQfnTJXobArUqLtU6QlqNT /ykGtHidoKH0olRRP7iKOrT3KMqLGcxYjSqj8zLn5rUIULqqVX/slgvoSl1uBFxtzGV1 ejamhodQxeGIsV7CwOI6ke/S1yoHU9jdtTdkKxg0z51QnvH1Qwz8mqH9gn4dityIug9q qfQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=8pCWTLh6pUKUhVwO0TotxP6oyBluQlcMqNIDaPfcM14=; b=Evyi+l6JAqjzYa7tSi7ZFAhLCrteLGqJKSikFCZ0KCD5JCzhuDHl6sScbt2VL2Lt/w DjLpbvjnDSKz+gNs9HkHwtcSAKxhVblwjCGABK9Ag7o1S3DfRoxd0p/NTakKeCMYvfJ+ ql9nJemezzgivOdDcXOzlwSU6aIP6diSjJXpc4fusZX6UBlgJ3ce4TwhvW/kupMEjZZS H/5wodIe6N+n8JebM6Y6ZpVFDWmRfdwFgLv69AUi7jaTxuXA91Cn1t8DEKPDF3v2NExO IdkzZxIIY6TYEFucAPCkFUBEejtHF6X1CBT+Rq1uULmoOuD+6/Tkc1rXDs93AWwW0lvk 20yw== X-Gm-Message-State: AOAM530XCYTJheBapSC2vrgDPdmn16XrfLi2BvyUWLInsz11UCrVB97I luaVkUVmila2vjMLxpbco8KAVw== X-Received: by 2002:a5d:650f:: with SMTP id x15mr5265127wru.332.1610136927993; Fri, 08 Jan 2021 12:15:27 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id l8sm15598671wrb.73.2021.01.08.12.15.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 12:15:27 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Harry Wentland , Leo Li , Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , David Airlie , Daniel Vetter , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH 16/40] drm/amd/display/dc/bios/command_table_helper2: Fix legacy formatting problems Date: Fri, 8 Jan 2021 20:14:33 +0000 Message-Id: <20210108201457.3078600-17-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210108201457.3078600-1-lee.jones@linaro.org> References: <20210108201457.3078600-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table_helper2.c:145: warning: Function parameter or member 't' not described in 'dal_cmd_table_helper_transmitter_bp_to_atom2' Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- .../display/dc/bios/command_table_helper2.c | 20 ++++++++----------- 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/bios/command_table_helper2.c b/drivers/gpu/drm/amd/display/dc/bios/command_table_helper2.c index 7736c92d55c40..455ee2be15a36 100644 --- a/drivers/gpu/drm/amd/display/dc/bios/command_table_helper2.c +++ b/drivers/gpu/drm/amd/display/dc/bios/command_table_helper2.c @@ -128,18 +128,14 @@ bool dal_cmd_table_helper_controller_id_to_atom2( } /** -* translate_transmitter_bp_to_atom -* -* @brief -* Translate the Transmitter to the corresponding ATOM BIOS value -* -* @param -* input transmitter -* output digitalTransmitter -* // =00: Digital Transmitter1 ( UNIPHY linkAB ) -* // =01: Digital Transmitter2 ( UNIPHY linkCD ) -* // =02: Digital Transmitter3 ( UNIPHY linkEF ) -*/ + * translate_transmitter_bp_to_atom2 - Translate the Transmitter to the + * corresponding ATOM BIOS value + * @t: transmitter + * returns: digitalTransmitter + * // =00: Digital Transmitter1 ( UNIPHY linkAB ) + * // =01: Digital Transmitter2 ( UNIPHY linkCD ) + * // =02: Digital Transmitter3 ( UNIPHY linkEF ) + */ uint8_t dal_cmd_table_helper_transmitter_bp_to_atom2( enum transmitter t) { -- 2.25.1