From patchwork Thu Nov 26 13:42:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 333014 Delivered-To: patch@linaro.org Received: by 2002:a17:906:4755:0:0:0:0 with SMTP id j21csp156339ejs; Thu, 26 Nov 2020 05:44:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJx4VYJ1P/T/PhlyPCGO/D0ITQk6YueGomFlSLMRTR7Sav0dniym3q9MyiuzOfluUxnwVVWJ X-Received: by 2002:a63:5466:: with SMTP id e38mr2655661pgm.242.1606398245629; Thu, 26 Nov 2020 05:44:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606398245; cv=none; d=google.com; s=arc-20160816; b=FbDcTs3+ZChghlQuBWwwzpPQlzpraOxCbfOZiV6PQiWRUitSINwT1gWR5UZfd0O61u +SBuqnl4YOyn8N5f9tnLUthmPHXZhUjKcA/+m2VzNlvJrG4ra3kCOxe+l/QkOF2VwNBy CvdECObU4gTtG/fUU/zZdnehn7rbCqzuOYX44p4ei9ojoJzAhADghoAkY/yZS2tR7EvM t6oaUfc3xNfbI1dMQhbXxgcPF1iSGTjDAkr6E2XD75zziYMeeFhZ5vxzsnxEnOC1pI5d UpMYRGlVsl5n4On7JfrXPxeq1z0WRDMr/cSkDNH4nlpYuYnSymKKAz9ReGotj5RbNieu FL1w== 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=Yb/O7EUIeRnlkjJXRSea3m8orgXrdEulF0F3JpBwaI0=; b=k+GfUt7XvwQa1MzRMeAEyKAMLNPLJyn0SE0w7p3vIisaxL3eKGp2sYx7Bdh56jgMfh GPJkAiX35Abl4zmYeHo4MhGCQRiBc4kCUQHYRtkPSbGZPtJCfcdg6RXfAk1q3sgcoZUa o98V4bsz5NPyfPSJfKmh9tBG9bJBfH10aKyAPzy+ksL+qZt79Y8fib8y1wEQA6SR2Dws gWU+iGtLCUglvfEoiYm+sdGc8BjxJFsbjl8ayra4JXzz2zKwx1E1Fxcbtybcjc+cw2bQ 0J2mLg69TNXUJVe9WRbzfb4UpDnWMy44JxGbdzdsiNkqULno3v6asFugHoxmg1Gj3xpk Jj+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=FzDylEEI; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id u12si5416156plq.62.2020.11.26.05.44.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2020 05:44:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=FzDylEEI; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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 5E8646E98B; Thu, 26 Nov 2020 13:43:40 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7F4036E957 for ; Thu, 26 Nov 2020 13:43:38 +0000 (UTC) Received: by mail-wr1-x444.google.com with SMTP id u12so2220918wrt.0 for ; Thu, 26 Nov 2020 05:43:38 -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=Y2L4ju+uZ20D0/2E1suojqs76azBxprDmuerWKuUkXg=; b=FzDylEEID+ChIWfzEFmWZz2uTH3H493rVHv8wAvc/cf9fkvCuUjCYRsUuc0NZXnjf1 RKC6y9MRt2HtbaXRd/+MWYzK3N9y1OvjOlg09FC4aGlO7LmuK5ZixylQLIKi9ABmiFAo hxbj4w7/JM80JHphzbW5XttO40XyJrkWmTUouAZskGFh9ZE8MPiRS2TN49jrHkQZx6hZ Aj25a2l0d3gBcvRIXwPGQzYr1D559lBW3CGtJNZHzHYeW9lMFGYoPiaggT+FfcVDLXNu mZnqjJF1Rj3ZrfBjjJAt8qSov1+FvRd4MW2OiLuZ0SRwmY5hra7HcnjZIiR9Ez4Gc2pf QU2w== 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=Y2L4ju+uZ20D0/2E1suojqs76azBxprDmuerWKuUkXg=; b=K/lkNwOP/6Fi344CXYWrjuVa520L+vklIoeIvyvKCBhMhsHdP96u4QVR3fPEJ+6G7s UaLYXM6bbYZsRCzqf8zpCEKztKB5r8ni7f4zAHuvsgsf6nnvL45yHkJ7SLuRUFyqDqNW k8AY7BMyq7uj+F4PmE0wDuHu5uvf10qBVR05Eqw5PyzS9c2OPAZrFuot0VIm9Rt3WA9j INI2HsvM16gObUSUESmqvOfOXP1RCyfS6o1PxUH05d20ZxoJjkq/OvobXi+L1lBFaDOs FiCpSZrh16i4tHdTkUbQ9RVGtln3YaqyrGgj8wQ0is8AIwYbJQM35M+mOwwvVPwefTLP Letw== X-Gm-Message-State: AOAM5339ExHmxBIPkUwOsSlHHSF4S6J4U6xDuVgZcwv+dCBMGEmwqfN0 wQve00A0unoZp2+9DRnohyLMcQ== X-Received: by 2002:adf:e9c9:: with SMTP id l9mr4041256wrn.124.1606398217128; Thu, 26 Nov 2020 05:43:37 -0800 (PST) Received: from dell.default ([91.110.221.235]) by smtp.gmail.com with ESMTPSA id k205sm9275738wmk.4.2020.11.26.05.43.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2020 05:43:36 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 35/40] drm/amd/display/amdgpu_dm/amdgpu_dm_color: Demote a misuse and fix another kernel-doc header Date: Thu, 26 Nov 2020 13:42:35 +0000 Message-Id: <20201126134240.3214176-36-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201126134240.3214176-1-lee.jones@linaro.org> References: <20201126134240.3214176-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/amdgpu_dm/amdgpu_dm_color.c:128: warning: Function parameter or member 'lut' not described in '__drm_lut_to_dc_gamma' drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_color.c:128: warning: Function parameter or member 'gamma' not described in '__drm_lut_to_dc_gamma' drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_color.c:128: warning: Function parameter or member 'is_legacy' not described in '__drm_lut_to_dc_gamma' drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_color.c:426: warning: Function parameter or member 'dc_plane_state' not described in 'amdgpu_dm_update_plane_color_mgmt' 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 --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c index 5df05f0d18bc9..157fe4efbb599 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c @@ -119,7 +119,7 @@ static bool __is_lut_linear(const struct drm_color_lut *lut, uint32_t size) return true; } -/** +/* * Convert the drm_color_lut to dc_gamma. The conversion depends on the size * of the lut - whether or not it's legacy. */ @@ -413,7 +413,7 @@ int amdgpu_dm_update_crtc_color_mgmt(struct dm_crtc_state *crtc) /** * amdgpu_dm_update_plane_color_mgmt: Maps DRM color management to DC plane. * @crtc: amdgpu_dm crtc state - * @ dc_plane_state: target DC surface + * @dc_plane_state: target DC surface * * Update the underlying dc_stream_state's input transfer function (ITF) in * preparation for hardware commit. The transfer function used depends on