From patchwork Fri Jan 8 20:14:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 359041 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp855731jai; Fri, 8 Jan 2021 12:15:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJyjSA8Bul5ZW81AEYLyhSdNkI75z16Cf6ene+ce6D5PVG8F1fhI+BhhxXm/R5pYU48YkCm5 X-Received: by 2002:a17:90a:ca93:: with SMTP id y19mr5588774pjt.71.1610136936542; Fri, 08 Jan 2021 12:15:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610136936; cv=none; d=google.com; s=arc-20160816; b=rue87eOsY6NvbgpBG8h9yYz39Af0MqcvIrOg2oli3rltbyMak0NHvTySRWZksHQM1Z tFCXeyi2ItHNBE+rnwrVQF3R70YueD0yj7tNHbL/VuZdGAdcZfyQ00aNzOA00dhzm+p8 scq6ycNweE0BjRqDtGLic0IVLOUb1uQmQvEA8TsW/iVrRGYntP/UaAxTIFHZO7RVyWtA QWEHabOfF5AZZuaPVBSkLUzacrf2tqpzRoJTJym77Vr8en0co0GXyJqcqz6sPVUdaeIZ o6LW+B+1TVWHJ1FuzW94zHRbvlt8ru6gJ3D6NIUmZU7FAF6UYkwLNBFmYgZHjCMStlBg GpuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=IalG8L6WNvAR4BCCqELWHbHB+7IqfXNahJpvbENFWz8=; b=eH3JI4xnITe1/c3vqP9N/bObOwYW9kUl+KbYdxjM5WtDnnujPP3nV9HbbXyWfq86tR 582QT3hdew9Z1zLLBmZLf4RQJq5Q0Zcg+mPqgcwt5Dr1HIL00A2Y1OGKVV2LCvSW9OOb 13jdIT/oZaEhHaq/MbE0KTQVDPlqiAIaUc+vfFJD/kIYcO2mXrE4q3oyuJ8HIalYN9nb ap63RvsRjsEp/o+v/Z56JgfUdhQ5EGxqd4DYeXGLOCsuxRtRYwyM7eXsrRszYy5rOKmx gBXBuVaWNLQ/XZOyRx02Hmpg5eb6cJ3J+vFNAIFdrZ8RPZaDcoKO1nEaJuA+wKQq925F ynPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=j4HTaC5t; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id r11si10018385pgg.505.2021.01.08.12.15.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 12:15:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=j4HTaC5t; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D754E6E8D7; Fri, 8 Jan 2021 20:15:30 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6E0AB6E8CE for ; Fri, 8 Jan 2021 20:15:29 +0000 (UTC) Received: by mail-wr1-x42b.google.com with SMTP id r3so10171933wrt.2 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=XLScoEXK0ss7KIlpIs7laa5jq1jDpOj5Uhuc6bi10g2oDddoMcmgsCilkPF4DIzfC0 MPvzEEs+CUOYKkBWqNwKLh60TUqjjW/DV5kCaVWyVLqnIpYTMw/YHP+DsBUa/Xw3WKpa mV41RsFNsE/se3H4QA04myyzlypDZu6MyqmubMRdRSppzGpj/Tbl9UhHlywWYLy6KLPU /49ksw6Q04mOUwFtZlPvoH4QGTh1/yq0/Mv4fU+C85dgD59bp3hToZnS15Q1z6yIWp/Z hArDtnZAa3y41BKOxOn7Mobd3yEcOqb8W09OKwmuzsxBhvXOMq39fBy9vlHgxkL3/oJK bHKg== X-Gm-Message-State: AOAM531j3tAozsQYKf9p5pPpc9yDkZbXKtPQhCpVYp68+su9Vt7jYl5E d2O4zWWGFc/HYuLjYRf2sTAhQA== 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 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 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Leo Li , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, David Airlie , dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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) {