From patchwork Thu Nov 12 19:00:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324220 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp588712ils; Thu, 12 Nov 2020 11:00:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJyqgzbTKiiVEntRkScoBeq4KiP9m9zbNkaEubqgenHKSyDwcIla2lVsYs1bFNdkmFQMNGMn X-Received: by 2002:a63:c944:: with SMTP id y4mr717575pgg.435.1605207653819; Thu, 12 Nov 2020 11:00:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605207653; cv=none; d=google.com; s=arc-20160816; b=VzsZT+ZQb5i/4GETVERygSPOSshfgsnPtCUTsgu/xHzOPGLQgoN5o8mD3p/UnJ3gOp +f4dXRVnwUSme02s5HEBfscgcT+lHUnn+mRWgXey356iY8LoPBUyQe3LpXjMPrJtSW6w 1UXQMb5Epl9RUkObUvuNCQMePMFfWOizED37J0GF0Jar6X1WZBVZGtVERKQsUAsUMTt+ 7d0/2fMv42xMvCy4sqXwePEmjPPdtGdGIdP8cXvbfFm4XRtYqsKdBfEoUqqegTE6Z3xe vZWOCPr5kqNA7QL5vYyw7Pq2xPh4IXhKc8HghpGnNAsEErk0CO3t195JPoxzoFGpIttB jIyg== 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=pd31oFoz8tiGJbP3Y6Pebe5MiJqmoAOuknmZCw18ELs=; b=hEoDSdDbOXRvxuIk/cLJO/fwYFfPsBUwdQFFgMU4t0DqeBZ1m6xIMK0y4suV1uBy3+ JBWmWuestE+qLH5AVh3MAAEVeBBBkLx9ykk5q9BnCDlssewwcPRzd/judz+Lz62+VEeB Y8BtfZPc6OgJDPwByhqW/DPQgydPeo4wX6xHPFP+qPtASEwASI58tV/B+B9AKm+PsxPG OBloI2o7nfYn5cdWyEgYcpnf+IltNZk78X2AdfRt5FHwVmdMMYGvtTIpvv0i+X+jw80t F9BLu1mYGA6qoC5f/vONMRL/HDDQ7wFwPbSAWn3Xv+7LJSTDSZoUkDPwFX89xCU8kdIN B42g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=bgWa0+Br; 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 i5si5585651pgj.429.2020.11.12.11.00.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:00:53 -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=bgWa0+Br; 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 B8D226E323; Thu, 12 Nov 2020 19:00:47 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by gabe.freedesktop.org (Postfix) with ESMTPS id A59F76E323 for ; Thu, 12 Nov 2020 19:00:46 +0000 (UTC) Received: by mail-wr1-x442.google.com with SMTP id p1so7125095wrf.12 for ; Thu, 12 Nov 2020 11:00:46 -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=zw4/3H58DclPUryUYajc25e3NyANX/uApXUC9a6irt8=; b=bgWa0+Br46K2f9cJcIoWiHatx+XZjXt4+HVAL0qFLplwDys63qQgg/LK5a21NfQA9L 8EAXKlgh7nQTW1R6FD75ZYHnq+8lTfi4DGRZOb5hdMaVAYkTaJjlHCq0BLmMKRR7TpNi bMnmV9WWrZ5QkUV2JGlo2bCMHfEKU2jQbtRCQwzwkBh1Czg55uoMo3Wtf03L8QeFwL6u Hy8qH5DZrhrRvRC24d68W5iNxZYnREggOEp30K/dHyOd1CHMrsR999bt1rHU5mPMNqJY SSH69rINO6PADc5ZiszGLW5qNqlHrE+8zjyzXAEVUHz479E1gjQtFaQqlYkxy3lNI6Xx SXUg== 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=zw4/3H58DclPUryUYajc25e3NyANX/uApXUC9a6irt8=; b=psM5Nb+rmGrRJ4RIVswoLhaAjxaxwuVggdYBhpfZDv9/vESc+JJ/nQhYht53zl++AN kTXikF9uMBSHIMTyWBCLvMLWSsyNgZN8cOwczvyvqlK9ITntwbzZZIPNfQuGMDC6uKIx bWVnWcbOQo8CCaP8XsBK+OTvzohBaF0yqiJ7FMEPlP+fr1MqNe+dDxNQND1uHXqaF/W6 YhP5E5sKIJjJM82UgQMhModWtedXOJvUD6ygphtdrm5HDnH6XZAN+HlqTzG+CY2XMSsT sYvKzCAUh/AOJ84xlh3TXUklf4AqTSrpFTbqr8qiV63pifo02EgA3mV8gKCMji//tmCl reVA== X-Gm-Message-State: AOAM532SOWCeOG/kvdZiP2DymfvFz+6Bg032rIFD3ul/YpS9ml2Frhyq lQ2nB68eV+QYZdQT7OLkdT0+M9GirlnTHx2m X-Received: by 2002:adf:f90f:: with SMTP id b15mr1062991wrr.343.1605207645290; Thu, 12 Nov 2020 11:00:45 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id p4sm8105214wrm.51.2020.11.12.11.00.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:00:44 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 01/30] drm/savage/savage_bci: Remove set but never used 'aper_rsrc' and 'fb_rsrc' Date: Thu, 12 Nov 2020 19:00:10 +0000 Message-Id: <20201112190039.2785914-2-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201112190039.2785914-1-lee.jones@linaro.org> References: <20201112190039.2785914-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: David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The comment about them (also removed) says: /* fb_rsrc and aper_rsrc aren't really used currently, but still exist * in case we decide we need information on the BAR for BSD in the * future. */ Well that was written 12 years ago in 2008. We are now in the future and they are still superfluous. We can always add them again at a later date if they are ever required. Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/savage/savage_bci.c: In function ‘savage_driver_firstopen’: drivers/gpu/drm/savage/savage_bci.c:580:24: warning: variable ‘aper_rsrc’ set but not used [-Wunused-but-set-variable] drivers/gpu/drm/savage/savage_bci.c:580:15: warning: variable ‘fb_rsrc’ set but not used [-Wunused-but-set-variable] Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/savage/savage_bci.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/drivers/gpu/drm/savage/savage_bci.c b/drivers/gpu/drm/savage/savage_bci.c index 6889d6534ebab..606e5b807a6e7 100644 --- a/drivers/gpu/drm/savage/savage_bci.c +++ b/drivers/gpu/drm/savage/savage_bci.c @@ -573,19 +573,12 @@ int savage_driver_firstopen(struct drm_device *dev) { drm_savage_private_t *dev_priv = dev->dev_private; unsigned long mmio_base, fb_base, fb_size, aperture_base; - /* fb_rsrc and aper_rsrc aren't really used currently, but still exist - * in case we decide we need information on the BAR for BSD in the - * future. - */ - unsigned int fb_rsrc, aper_rsrc; int ret = 0; if (S3_SAVAGE3D_SERIES(dev_priv->chipset)) { - fb_rsrc = 0; fb_base = pci_resource_start(dev->pdev, 0); fb_size = SAVAGE_FB_SIZE_S3; mmio_base = fb_base + SAVAGE_FB_SIZE_S3; - aper_rsrc = 0; aperture_base = fb_base + SAVAGE_APERTURE_OFFSET; /* this should always be true */ if (pci_resource_len(dev->pdev, 0) == 0x08000000) { @@ -607,10 +600,8 @@ int savage_driver_firstopen(struct drm_device *dev) } else if (dev_priv->chipset != S3_SUPERSAVAGE && dev_priv->chipset != S3_SAVAGE2000) { mmio_base = pci_resource_start(dev->pdev, 0); - fb_rsrc = 1; fb_base = pci_resource_start(dev->pdev, 1); fb_size = SAVAGE_FB_SIZE_S4; - aper_rsrc = 1; aperture_base = fb_base + SAVAGE_APERTURE_OFFSET; /* this should always be true */ if (pci_resource_len(dev->pdev, 1) == 0x08000000) { @@ -626,10 +617,8 @@ int savage_driver_firstopen(struct drm_device *dev) } } else { mmio_base = pci_resource_start(dev->pdev, 0); - fb_rsrc = 1; fb_base = pci_resource_start(dev->pdev, 1); fb_size = pci_resource_len(dev->pdev, 1); - aper_rsrc = 2; aperture_base = pci_resource_start(dev->pdev, 2); /* Automatic MTRR setup will do the right thing. */ } From patchwork Thu Nov 12 19:00:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324223 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp588798ils; Thu, 12 Nov 2020 11:00:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJzFHEBHy9SlYH4q+DBBTNzbhKbbus4RzrpTVwuz8oMyQmmTPUqZXM/6QuxcxchOwo/G/xed X-Received: by 2002:a63:5b63:: with SMTP id l35mr816489pgm.70.1605207658760; Thu, 12 Nov 2020 11:00:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605207658; cv=none; d=google.com; s=arc-20160816; b=yQKuYMxilEJhHb02cX7OhegjGh0y3cZjpNUTiGT0QRVJzGXrhlt/UiKKY4gzTfTazs DHdCZQf6yY0I8x94lkly1SECGoAMbb0b26lK6QIkBi56B3/637kIrwQ6LmZnWa7ORgP1 fUVk6dyyWL7uLy0mSbrM6mk8DI96kSdLdYCQRA2Z6kwHB8YTmNl80+CxSXe2HfMv0aEY 2N5TAv2LHpus2/g+NBGXwp+RkvoLHhadvYZxz9jcbK4hRi3743dYtnUVyV9gYB60uOQo BGUrmZfGwseY8+Q18ddkl8cYLcwJ6AKBcO7uiyWvfqBv/b2M/KI9IDke3fqgPKXmvF1T +Lvg== 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=IZFJKWKHgJ5vcRU5Lup8djGs7k6XjQuXnPxV6T983rY=; b=oV22HWT0z/8tN2ZWp6ynrWNDmTybew22jBwpNdf9Kome9fLxzUpB58JoRTtWZK4srW px3pT4dniGz1d4Z9XMHnCYzGU8VHZnWdJi1nDMJxklCYXDcwsCcgfnxwLzsx4SYypRm/ mnYKCFVBnBgWfLopZO6xXz/C9YWB+107AAlxlMmNQCeQUUHlXsNgmc42w/Ev2rZe6q05 e8IgcgSOb7Ke+5qZJKCKXvyVSrsmkylvW82+2Qco2AW9KALrfDbxJslcX3k8Tfgor41+ RuPA/GNZf33o7iKNt2dFR7ijyxF+5O9Z8Qh5NjxbYezBROZjCZ8UCRiKuqFK+kqCQIRh j2DQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=lIeJaH1s; 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 a15si6229061pgi.1.2020.11.12.11.00.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:00:58 -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=lIeJaH1s; 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 A065A6E314; Thu, 12 Nov 2020 19:00:51 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by gabe.freedesktop.org (Postfix) with ESMTPS id D32596E32A for ; Thu, 12 Nov 2020 19:00:47 +0000 (UTC) Received: by mail-wr1-x441.google.com with SMTP id b6so7165153wrt.4 for ; Thu, 12 Nov 2020 11:00:47 -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=GyM5JNiQS/TCpKPZ3DWBp4SZS9wc27h4cJ1y7RFnvhI=; b=lIeJaH1sJ0c1LM26yrpDKAxEDYUbG4Qz2oeYJNpP6jReLdw9bluHNlUYAurtH3+wsq NNLobHm0u3kMZifdyt7HVxNMh8ClFEpk7lZdlMqhV4NsDXQp+aMYGZvvAUCv88iApJRZ zPXG2q0tNCfjV65gUknv9dKZnvakZ8LZ1wZkIPd9xKW7yER+zLd4QsQXkjuBzEZhAxxJ Wd2LU2rsnVOericwQUFs5I8hMGbi4uT29ojkij6DG1ECBTuIC7g8iP5+sZfK2hN7iYoU F3VaOJhuXUHVIIIBlpBi3UdK0haK9+clEPTrM/j6F7oR2Nk9A81IgWvpeUXtJSoE+Sjc V0Jw== 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=GyM5JNiQS/TCpKPZ3DWBp4SZS9wc27h4cJ1y7RFnvhI=; b=tb8DFm01U7Kl11td/C7n4IvUZQFAm9+PcPwEMXfRmAeRzk9u35LzDke1VTcYq4JJfk 9UC2MKiT7gwfWLqTlThoU0pA83jqOw7Epp8A3Q/E8SAtF5Iqxr+1u9gDRMb+kkAWNBNU JCBxFC1s3GA4mod50285kX+cmC3rMB4ldvBrZQTIMoJ8BZ5AJsWrQDEPl3dDaIdFfrsm nV4ain6ZlxPBZ/bHABsPTET5ztuquWj4+Lb+4BjLjRgxg7X27Y27Aan3oArVIvziNQ2N IIahWX4RDWVb5/lSXO+LzXDt0DAdOy2Z0ZC+v7mRaTsPxn+4O5BDRnPIB99NY8EoMnXH u9TQ== X-Gm-Message-State: AOAM533L5QbOjkVZLuqwv5VBMLtvb6fAQ/odFzFuFKcfVvNE2T8bxsx8 mOg1pey9WRHIZ6Y/xPGlYnqZ0xJWULzpNk5k X-Received: by 2002:a5d:6550:: with SMTP id z16mr1117972wrv.266.1605207646576; Thu, 12 Nov 2020 11:00:46 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id p4sm8105214wrm.51.2020.11.12.11.00.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:00:45 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 02/30] include: drm: drm_atomic: Artificially use 'crtc' to avoid 'not used' warning Date: Thu, 12 Nov 2020 19:00:11 +0000 Message-Id: <20201112190039.2785914-3-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201112190039.2785914-1-lee.jones@linaro.org> References: <20201112190039.2785914-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: David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Thomas Zimmermann Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The precedent has already been set by other macros in the same file. Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vkms/vkms_drv.c:55:19: warning: variable ‘crtc’ set but not used [-Wunused-but-set-variable] 55 | struct drm_crtc *crtc; | ^~~~ Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Thomas Zimmermann Cc: David Airlie Cc: Daniel Vetter Cc: Rob Clark Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- include/drm/drm_atomic.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/drm/drm_atomic.h b/include/drm/drm_atomic.h index 413fd0ca56a8f..dc5e0fbecc04e 100644 --- a/include/drm/drm_atomic.h +++ b/include/drm/drm_atomic.h @@ -802,6 +802,7 @@ void drm_state_dump(struct drm_device *dev, struct drm_printer *p); (__i)++) \ for_each_if ((__state)->crtcs[__i].ptr && \ ((crtc) = (__state)->crtcs[__i].ptr, \ + (void)(crtc) /* Only to avoid unused-but-set-variable warning */, \ (old_crtc_state) = (__state)->crtcs[__i].old_state, 1)) /** From patchwork Thu Nov 12 19:00:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324221 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp588768ils; Thu, 12 Nov 2020 11:00:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJxx6zUBWYnm6S3I8rXr6onfQZpWSw/gAbJjKmxvY8dsuQicaun6YPxws5D2uzWR8sNx6CNJ X-Received: by 2002:a17:902:778d:b029:d7:cd5a:945e with SMTP id o13-20020a170902778db02900d7cd5a945emr996154pll.25.1605207656661; Thu, 12 Nov 2020 11:00:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605207656; cv=none; d=google.com; s=arc-20160816; b=wmyzEvD0Yu4IHE4HwYeQpt2722nu1H0BAUrPcIp1DYxIJg1SECCp6JfUTl8mFcPfUn c8sAZuoxK4//TCBHTApvxIt6ukiyO4D1V3+aQoCIx/ignxyuYInJdC5wx/oD1zqhwMJL cZPu5rcC69pPEyV90qMYtm3UH3H0g8Ga0llpOPIIWAnlxakiSwghWtDHMzCcD0JE0CuX YTimse0ecviQNoSlqw/IlPz8QpRtIl+ylbUddh4FXGcnTReAynsOYAN+9LN7jzwH/b6H +RwkAYmRgpMU2+AA/fOcJ+JAusHKJDu3PDZTp4AlVLmknrqdGCdm0Nhby0CsF8PsHm4s jKDg== 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=3wJJ/dxzKKOcDo+OqZkTQO35OXVe+WW+ytFtA87rhdA=; b=g7RK8Xx4OIvNQlFHlSjF6BqxSk888Pwm/yYxxFdw9QI8OkMT1eF2Q6tBSJXMi/AHdZ spT97coj2gT+AUfMVR7ocSWS/9WvUKZchsNBNkkFFN//aSGactx+b1GtOZqS40aOP3WJ Vl9kBtz5FAAtEp2bIIwU5vNq3Yo40WRckE3V0MRy75FPEU8v55XF+b3w1Si47Rs6ikA3 cuMnuxUlstBej09LeYIOl5NO/rpcj6UdARafO/SUubgjx3UEkdZmdt5yfujzEAt3hITN axdS5afYKPpSWfEe6b41Ut/Fc0jax5Ld7yGC0yHtmG+UQArFYncbJvAMqs1arULS8eqS LSKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="Y1OLNk/U"; 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 l18si5132623plb.26.2020.11.12.11.00.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:00:56 -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="Y1OLNk/U"; 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 4D9616E174; Thu, 12 Nov 2020 19:00:51 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by gabe.freedesktop.org (Postfix) with ESMTPS id 860B06E314 for ; Thu, 12 Nov 2020 19:00:50 +0000 (UTC) Received: by mail-wr1-x442.google.com with SMTP id c17so7118827wrc.11 for ; Thu, 12 Nov 2020 11:00:50 -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=gVcDG3IiNQEq4rpTJUM8b3mZR6jA74yvr8OWtv64epQ=; b=Y1OLNk/UJGCriJrFzTJyz/7mEB43UxZLzJz8hPJJs02oFqzKBJE0899W3d0AtzsB43 GMkA5SjnvYXBpOkdpVgOqsywYS3E41ROtpGzJP3Lhtda/31ycYXjg/AvNc8eCFD+o8xn 02aiZoaSxAOHPpz+uw3fQ7TpG0KwYt68Xj2IXLd1lBmEtMKeTpxzgdZHgy3idhQbe7x/ Br/Wm4m7eyvRH3mh+xGUw+J3EjfSL36y2O1H26GQ6x2F1WtrGEjUe3or6rJZGYL4Wd6W 3EfdycZCcsWf7uQwp2tA72EQUq6o8/bw+dgq4RoEeHmmEyJpnJE6elo797Oa9WJTgogr Wxog== 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=gVcDG3IiNQEq4rpTJUM8b3mZR6jA74yvr8OWtv64epQ=; b=NlcuudeYdhg1QI3ytDR6ixHJ7kM4CSNWjUjhMtikcETRfiUXuTD6vfQjOClvKFlgPs o7ixebS6KJXo0aR1WYgroLNrBnsuvAj7j39QOBLj8NYOjya12QOu7BvjTt28uwc+02sC CmUcL8q1aXWRCtQF7OrdubKVaty5ijj4Xh4lnOwUqyTJE81j5pLg+bRnOpdqd/zsAXUZ FkY8KaKzi6I4kjJqIxNj0WIApb4p3R5uzliVm2XIWX3a3HjEwaQLjJKUIgFvM6j4anFl /lmf93qn0uguGgA+6bYEF/8JQ7HwW+XrH/OnL29KyuiMTNWWM+d6Lc1e+mh09QRiCC+l MJSA== X-Gm-Message-State: AOAM5306Ft7dCQlgQuRG5NST4iuHzzvPbWnQjL6dJE39hNH1g4ZR/DPU YkB/fyxcALBrGjlCPuicmsmo2g== X-Received: by 2002:a5d:514a:: with SMTP id u10mr1108099wrt.312.1605207649222; Thu, 12 Nov 2020 11:00:49 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id p4sm8105214wrm.51.2020.11.12.11.00.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:00:48 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 04/30] drm/via/via_dma: Remove set but unused variable 'agp_base' Date: Thu, 12 Nov 2020 19:00:13 +0000 Message-Id: <20201112190039.2785914-5-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201112190039.2785914-1-lee.jones@linaro.org> References: <20201112190039.2785914-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: David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/via/via_dma.c: In function ‘via_cmdbuf_jump’: drivers/gpu/drm/via/via_dma.c:596:11: warning: variable ‘agp_base’ set but not used [-Wunused-but-set-variable] Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/via/via_dma.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/via/via_dma.c b/drivers/gpu/drm/via/via_dma.c index 1208445e341de..cd56ffa3df589 100644 --- a/drivers/gpu/drm/via/via_dma.c +++ b/drivers/gpu/drm/via/via_dma.c @@ -593,13 +593,11 @@ static inline void via_dummy_bitblt(drm_via_private_t *dev_priv) static void via_cmdbuf_jump(drm_via_private_t *dev_priv) { - uint32_t agp_base; uint32_t pause_addr_lo, pause_addr_hi; uint32_t jump_addr_lo, jump_addr_hi; volatile uint32_t *last_pause_ptr; uint32_t dma_low_save1, dma_low_save2; - agp_base = dev_priv->dma_offset + (uint32_t) dev_priv->agpAddr; via_align_cmd(dev_priv, HC_HAGPBpID_JUMP, 0, &jump_addr_hi, &jump_addr_lo, 0); From patchwork Thu Nov 12 19:00:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324227 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp588913ils; Thu, 12 Nov 2020 11:01:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJzF/Waab/NmurCmAOfSScoEdom62x0wNATO7ncdMth4NqGYZtN7eTKtqaXU+EiivOuq6kFB X-Received: by 2002:aa7:9694:0:b029:18b:5846:4532 with SMTP id f20-20020aa796940000b029018b58464532mr833267pfk.41.1605207667862; Thu, 12 Nov 2020 11:01:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605207667; cv=none; d=google.com; s=arc-20160816; b=w/4urBGzOv4Y62JB20TXRzwFEosJvAGan/X9IvSwUCmKiHwOTjE9V79tA+ZASrhQzL x8uY++ToyUXS2rMEGgK38FDjCzJUhTdvi0bPPS5Lpy+XB+UW1jZuy7lfgmwODE3Bj/xc URFp7AqXP5pOL23Cv0SdP+9HVc/50YgS5E7SKXqrnlOqizP3OBcEsGgQ6Uz/EYqrcTSl 25emftxAL1WCIvrXWQVbG7N4kf51c0weMA7Z33/U0zXjRaKqQgfYVpqOqbJTXEnfmuMC jYviaPV4Q5MXTK3HWapCN6tpSiR/ln/5F4QxrLdugaS7QS2w+fw5d2L112+M/HYI/3Ni GJJw== 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=bXOJrYY4pmw4SPpjqHzXaQ3L3zIlkKUYklrbpxM2l4M=; b=c3G3EthViBw08Yb6gj3dpKA4DYgG1NAQ4esd7ndpJjbNmZJi3FbjwrQPMHeHRpiX9g b5XiFJU1KBPRAzhn5nicNxSz1dgnRw9TcCVR10oqrMfnRFYTG21nwktoBXUo/torXgZz Ca6ePpn9S/9O4GH4tQnvWjk0LKfXUiaYvOiPYpTrm8wthuBebD2+kU/zyX5eB6c5AQAj IsmUPqC9ob2vRZs8yqJO2eV/nAJqWXzWY5dbbAHY/tmL/scd9v8odmsgMDXluhizxPQB L2Fs0SDNkRSMCFRZ50UyHPHaDLAkR2AtxiqD4GD4K9R/9OYcHwFOomo7QpJygz8DjHMb dgdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=hFoFvSk0; 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 q6si5384300pgv.98.2020.11.12.11.01.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:07 -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=hFoFvSk0; 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 69D1C6E342; Thu, 12 Nov 2020 19:01:04 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by gabe.freedesktop.org (Postfix) with ESMTPS id 55CBC6E2D7 for ; Thu, 12 Nov 2020 19:01:03 +0000 (UTC) Received: by mail-wm1-x343.google.com with SMTP id a65so6455483wme.1 for ; Thu, 12 Nov 2020 11:01:03 -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=4XjzABzYijzfUYSQAFjSWGgtY8O6T4iGtJT/GdPVe/g=; b=hFoFvSk0RVCLvoyXY3E9rvJ4S8VZS53n4P8SsQDSaOHeYEomcgcNjMTGKoW7VcqpK2 0WYl7lst1BAj3aTzSzHW4lhA+Q6GdndC4zkSKbWo/kaQpmNM/n95UChxDCI9RGurqGgl L0h9o6SqtmnfSg+gc6D6ZiEWjI2Iin+Dln8erFX3NK0/rQ9GCV2/yhvItYub6NcVv6Xs nhynMv5eprTb6uop9fTqlY35t+0ssviqUqPtTNYZ2ILg6PfEDq7JQtm/gxmVwCYQx/qi 82VcT0/H97YqKtTnCWSCEkiC0tdRvPh64qPQWDsplzKZGidW3nj/8lSNZfWThCZfSCPN MTwQ== 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=4XjzABzYijzfUYSQAFjSWGgtY8O6T4iGtJT/GdPVe/g=; b=hCOk+nljqULIRd2ZbXweQ3ZKjSLVvVEoxgPqcu2HDBO24bnB+ANvXwGigvX5lpXGBu 4wAT8f/YxjxW9gBeBvnm+3s4x8b7fSCVhHV/yOKmzmtuwJpayAryYJHI8CVnewcJtzdX /YRhYkiG0cCtuKg0v6Fq9fieU0P6odvZrEdXlevFI/WpHqPa40c9dI5LikFJ6ayVtWkM AzlgoQhRvIUG1keqWP5ri4feYelAvzZdlC9xCXcXTYu2bZ6C60n6ID7wSggtcW7eWsd+ Cq/Qh1Eu1gcsg1f0t7UVpkTNm0rnQeArHu2ehTGnpssU6PMgn+LSEDurAEigUKsuN04d wXcw== X-Gm-Message-State: AOAM532fqfNPQSjs/rNMEk1+x09QHWOGbwAIsKcB3cVAIG0ImkFOhN23 7vfbZVq+uSXKhDnlT2QV8NdReA== X-Received: by 2002:a1c:2803:: with SMTP id o3mr974063wmo.97.1605207650573; Thu, 12 Nov 2020 11:00:50 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id p4sm8105214wrm.51.2020.11.12.11.00.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:00:49 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 05/30] drm/v3d/v3d_sched: Demote non-conformant kernel-doc header Date: Thu, 12 Nov 2020 19:00:14 +0000 Message-Id: <20201112190039.2785914-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201112190039.2785914-1-lee.jones@linaro.org> References: <20201112190039.2785914-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: David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, =?utf-8?q?Christian_K=C3=B6nig?= , linux-media@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/v3d/v3d_sched.c:75: warning: Function parameter or member 'sched_job' not described in 'v3d_job_dependency' drivers/gpu/drm/v3d/v3d_sched.c:75: warning: Function parameter or member 's_entity' not described in 'v3d_job_dependency' Cc: Eric Anholt Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc: "Christian König" Cc: dri-devel@lists.freedesktop.org Cc: linux-media@vger.kernel.org Cc: linaro-mm-sig@lists.linaro.org Signed-off-by: Lee Jones --- drivers/gpu/drm/v3d/v3d_sched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/v3d/v3d_sched.c b/drivers/gpu/drm/v3d/v3d_sched.c index 0747614a78f0b..452682e2209f4 100644 --- a/drivers/gpu/drm/v3d/v3d_sched.c +++ b/drivers/gpu/drm/v3d/v3d_sched.c @@ -63,7 +63,7 @@ v3d_job_free(struct drm_sched_job *sched_job) v3d_job_put(job); } -/** +/* * Returns the fences that the job depends on, one by one. * * If placed in the scheduler's .dependency method, the corresponding From patchwork Thu Nov 12 19:00:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324224 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp588873ils; Thu, 12 Nov 2020 11:01:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJyWhWIWL4KRNmeqEbmPn3mThfWImNqFm2q0wJDCbBOxCPccslFrRr2Dn7PKu9yZqpkd5qQw X-Received: by 2002:a17:902:d713:b029:d6:c5aa:c163 with SMTP id w19-20020a170902d713b02900d6c5aac163mr676464ply.59.1605207664551; Thu, 12 Nov 2020 11:01:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605207664; cv=none; d=google.com; s=arc-20160816; b=zR1p65hFKG6j5HiiSl4dQtpVLvP2TaR+skMVoQfZZwd2gREYxil4VPWi6zQL0Sgnv9 nu3ymMCgfTInS1jnOjziN9D5X8oVwsCgrgaNwOgfAl5/+45jyoZdKs0D6/1v9ZPLIC/S nppM2aYfQvvXt++6hlPLyZsyEag+RDvLH57n1ih4kxzq5PbB6eCBl/9wxQbicXr8+ciV pzM8g1dzCzH6TjrHXqR8e+/uzpWcQJNRd2PQ+pfZtoUx7HLe2LVfsvk1FFnuo3oHH+5r JUcXCItCPsFeaFog5IjKXZ9L9aEi7ZHUsraKcbF6BTZvRZ9ldFXfJvxNmgGtzJj2jbk/ LmeA== 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=eahUPeXBKI9hHk/V+9j685Ftz9vIuQv2ZNktTEB/E94=; b=Wt3Evti9P7LUebJnDFF5qGEHw0LQ1ojdrZPu7cK3Iz9y+vVkuXtvIlgdakb31v70CT F5QJOnw4LwHYnPX2QXBDGIZlrnVsmPbAzdmq64sCnb0OGAZve8LPhnSZDzAogq/xAXL4 BZJ4b03WLc+pXu599YMLaUg6ZeHLKw7TWLeqbM128afPSATLMiQ8FykQzheE8pw0Eu6q UBeVOwryqEBOblxgkvsSxJSHP9M7vhfPEeIXEC2zVk5LFaEQIJ9qHu1jugGV7MSEr9PJ /4mIK7feMb6T6fIY8/rGlumSMOy0YHBLTytZi4cHBWmm1rIMd2n/eUznhawso5jvm3Tc v7lA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ib0DToee; 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 e3si5415467pls.12.2020.11.12.11.01.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:04 -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=ib0DToee; 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 7BBF76E2D7; Thu, 12 Nov 2020 19:01:03 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id ECA4B6E32A for ; Thu, 12 Nov 2020 19:01:01 +0000 (UTC) Received: by mail-wr1-x443.google.com with SMTP id r17so7191706wrw.1 for ; Thu, 12 Nov 2020 11:01:01 -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=n1giXMZdt7DXXb4r+KpLOxZ7r3xrDsxCnH5SvILJq7Y=; b=ib0DToee6dhVaRCUYKKSQZMNQ/g4EomiT7zCeAwept+8CGssffnj+IMD9+KiqTmiZj SGEOXt3jJRypKYdUcKHv/clochvz8K0Thkh9J9nRJEr9WICmtddIe800t7AbEKn+kOFZ QOimSE57uPMsVNj95xM3N3msL0+JXs46v/cw3S5mzNx6M3Z5SMFThcN3/SLyEMNkCsoM uZZ5zQjvQ6ToX1qDTiXDHZJKKH29DcPFRIA9lWJ6ryGv21IT+mOjGFmoPVNwP6e89fPO 1yJ9yzLTZKjqtYrAAXAlsWtnYc8H9MMNFADImPh+MXjWW5AY/Mn5BjDUvZvIr3Nutgf+ Vwtg== 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=n1giXMZdt7DXXb4r+KpLOxZ7r3xrDsxCnH5SvILJq7Y=; b=bqn/8xJsw4RRGPvzaZzFbPGgusdUxOIJJ1kEo78p0LR7E2BbMZoFLSdmPfAnfXau0j VG5lGov39tVUVFSn1ggtewAc6r9lYI1UUlkurMUAVANe9NCW7/j0+Zq/P5qOWuoFnyZY MWuku16rePWU/wugHjsRP4Tjt9haO0XEiQlC/xEQ4f8ymeVC2HNdgBHtFN5suVbaVf/X 7R9RtV6EoRYx77Aly5RMqewA99z2HhmjNrUi3OpBJtEmAxN+8s5rA6Gu66bBili/2Qmd Pvc4wKd0aMYUNuuWZlq93LrroiTTcObESL0ncWZFA9q9BOYsCz99DQ6Fz26v5QTwpVRB G9Mw== X-Gm-Message-State: AOAM533rfHIheflSuoR9i70Z68EiC5XyK3Nysw46XZEy36dxaQP8w0Ah 4CXaHsvH8JyGmGj72O7RKX33pw== X-Received: by 2002:a5d:6550:: with SMTP id z16mr1119093wrv.266.1605207660599; Thu, 12 Nov 2020 11:01:00 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id p4sm8105214wrm.51.2020.11.12.11.00.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:00 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 06/30] drm/amd/amdgpu/amdgpu_kms: Fix misnaming of parameter 'dev' Date: Thu, 12 Nov 2020 19:00:15 +0000 Message-Id: <20201112190039.2785914-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201112190039.2785914-1-lee.jones@linaro.org> References: <20201112190039.2785914-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: David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6?= =?utf-8?q?nig?= 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/amdgpu_kms.c:487: warning: Function parameter or member 'dev' not described in 'amdgpu_info_ioctl' drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c:487: warning: Excess function parameter 'adev' description in 'amdgpu_info_ioctl' 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/amdgpu/amdgpu_kms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c index cec9aad8bdfa9..98721ae931841 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c @@ -474,7 +474,7 @@ static int amdgpu_hw_ip_info(struct amdgpu_device *adev, /** * amdgpu_info_ioctl - answer a device specific request. * - * @adev: amdgpu device pointer + * @dev: drm device pointer * @data: request object * @filp: drm filp * From patchwork Thu Nov 12 19:00:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324226 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp588895ils; Thu, 12 Nov 2020 11:01:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJzzyhMwfIC6dZw+iu1YsVzUGeL2pGUOsdh/UuUpQeJXxWxpuAoYH6h4zzUKbRY1ePaWCKbr X-Received: by 2002:a17:90a:d70d:: with SMTP id y13mr685181pju.138.1605207666264; Thu, 12 Nov 2020 11:01:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605207666; cv=none; d=google.com; s=arc-20160816; b=W1FWQmEpraBHR0j5g5UoKqqHcYsUGcvPwpeUeTVjyy7qR9FojAzupEQ7rd/LtVaYR7 pBi75d7CmKReJuuxin9UqHkvjOREtT2kjGvn9cW1t25HcJ3dbQmguYkxnJRxJy0fm1UX xoeNlVbSmGuqpPRVBsKKSyOwlJ4W4JF9P0M7a5ThzH0riYC+I6rrjLTAW9KMPK7vBu7S sff/zkYOx4bnG0efmgA7iKbDWEkfv3uwaXQcV+Cu7dsfFRVwsmxYf+olJ+/uXCCtntbW +NqYfswh+BD2n9D6RMkdhQsCD1XF1XdmtRxzp3qlNmZiOp+hXW4XoJSPmrU3OZsP5wLu eCJA== 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=qzEIUTamGn7lkUp8CN1UFpBQB8h0zkq/imAT60MVDFE=; b=AD3LZcbWxQX2YYkb369SS/2FXB/H2TWSCmZ1waWggKA+8U4Gs/b0sOFNSgA6Ho9YXA C3Kl3vkvh3gyoU53P5WVjISkW1kPqV1ZIC70H6d6StFL5nS2UJJo8FS3WTbB/Lc2b/2U oGEe508MsdLO08JUuzLuLUxMHqBNMrWPRL9Dnzvq/3sAZ9sf8pnWaW8B4Y2nctnxclzS V64pTIAI4bhSKh0qXbUejhxP2ILM7k2f6sttKcTPDfZVT5MIASvpiZ+kLdYviwhq451t NRB5gFduzHpzjrXkfdmQUTDyGqvchnKAvrCYuRHN0KKt73s1P4cTgqDA7h+9Juq3jDAe zEQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=R5t7wb0Q; 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 d11si2323587pjw.59.2020.11.12.11.01.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:06 -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=R5t7wb0Q; 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 579E46E32A; Thu, 12 Nov 2020 19:01:04 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by gabe.freedesktop.org (Postfix) with ESMTPS id 638D96E32A for ; Thu, 12 Nov 2020 19:01:03 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id c9so6180958wml.5 for ; Thu, 12 Nov 2020 11:01:03 -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=mzTBD6bXnToow7y30j0wcO7cLIFklFZSxhnu2Adjze8=; b=R5t7wb0QJwlNzlSddPQ32LAfqqewHgBSYPv56bsw5qfjGDpNqJXAat91m8ZBaDWnzU z7qLGrUP+h/Gg/YDb6dObuaLLdYddhhni2yPpZQj55OpxnRzyOsgNzJG8dEH8zhJLSks xVNqGy7nRmLEfLGxYxbuOuoP8xA7fg9zh/sVjgPAiVryTR332MRwRsLyllFWNNuoJPoX Z4EsbpQhUOTY6CE/1lJVahnVCddCTkEmn0nbx4EqomedksR7JEJ6EqXudECIu/5vUJsQ 5ev5kB6ttgvJSvlNW5nT52+VPMePRlJIs3ZdEH3rG9y2S2SM9CXNoelER4mNKSDE3JD8 1ZwA== 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=mzTBD6bXnToow7y30j0wcO7cLIFklFZSxhnu2Adjze8=; b=q+XxUMeCtMTLEwCTyDOKIDSUGJub08k+ikKORBFS2X5HtXqMWT9JQhpb1pIyFZSHZ5 bRpVCpW1PckuRManEUTtWdJb/uxQ7Xqcuzjnh0i6D22ybj9LRimaQCiva26J6J79Q5Xx bIWHEkB9hyg9RALKbS+4/XEMT3Jh3pTH+36BoKG24NUEipylRTUG42v+0fu3bbsizgTL 0NHU9EElAOojEuSgdn7B54/qO/R/nYbQ02oTQLu/YEG+oYs/Ij0WKUk1bo8VDL/w+c4o LC3CNwV6kfhnZWz77O5Vb29kt75vaiW68/+7jPxfnxPELV++aOkNr47guKy07FuNYRgQ 4VVA== X-Gm-Message-State: AOAM533quCPvfxzRRgI2jDjKao2B3fWlsf6W4WwHVaGEWBLw8Ub/hS2c aHeBWoK9LZWEW4lsAYnle0344w== X-Received: by 2002:a7b:c8d3:: with SMTP id f19mr1042992wml.17.1605207661941; Thu, 12 Nov 2020 11:01:01 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id p4sm8105214wrm.51.2020.11.12.11.01.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:01 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 07/30] drm/amd/amdgpu/amdgpu_fence: Fix some issues pertaining to function documentation Date: Thu, 12 Nov 2020 19:00:16 +0000 Message-Id: <20201112190039.2785914-8-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201112190039.2785914-1-lee.jones@linaro.org> References: <20201112190039.2785914-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: David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, =?utf-8?q?Christian_K=C3=B6nig?= , linaro-mm-sig@lists.linaro.org, Jerome Glisse , dri-devel@lists.freedesktop.org, Alex Deucher , linux-media@vger.kernel.org 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/amdgpu_fence.c:139: warning: Function parameter or member 'flags' not described in 'amdgpu_fence_emit' drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:197: warning: Function parameter or member 'timeout' not described in 'amdgpu_fence_emit_polling' drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:302: warning: Function parameter or member 't' not described in 'amdgpu_fence_fallback' drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:302: warning: Excess function parameter 'work' description in 'amdgpu_fence_fallback' drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:320: warning: Excess function parameter 'adev' description in 'amdgpu_fence_wait_empty' drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:649: warning: Function parameter or member 'f' not described in 'amdgpu_fence_enable_signaling' drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:649: warning: Excess function parameter 'fence' description in 'amdgpu_fence_enable_signaling' drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:684: warning: Function parameter or member 'f' not described in 'amdgpu_fence_release' drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:684: warning: Excess function parameter 'fence' description in 'amdgpu_fence_release' drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:749: warning: Function parameter or member 'm' not described in 'amdgpu_debugfs_gpu_recover' drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:749: warning: Function parameter or member 'data' not described in 'amdgpu_debugfs_gpu_recover' Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc: Jerome Glisse Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Cc: linux-media@vger.kernel.org Cc: linaro-mm-sig@lists.linaro.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c index fe2d495d08ab0..d56f4023ebb31 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c @@ -130,6 +130,7 @@ static u32 amdgpu_fence_read(struct amdgpu_ring *ring) * * @ring: ring the fence is associated with * @f: resulting fence object + * @flags: flags to pass into the subordinate .emit_fence() call * * Emits a fence command on the requested ring (all asics). * Returns 0 on success, -ENOMEM on failure. @@ -187,6 +188,7 @@ int amdgpu_fence_emit(struct amdgpu_ring *ring, struct dma_fence **f, * * @ring: ring the fence is associated with * @s: resulting sequence number + * @timeout: the timeout for waiting in usecs * * Emits a fence command on the requested ring (all asics). * Used For polling fence. @@ -294,7 +296,7 @@ bool amdgpu_fence_process(struct amdgpu_ring *ring) /** * amdgpu_fence_fallback - fallback for hardware interrupts * - * @work: delayed work item + * @t: timer context used to obtain the pointer to ring structure * * Checks for fence activity. */ @@ -310,7 +312,6 @@ static void amdgpu_fence_fallback(struct timer_list *t) /** * amdgpu_fence_wait_empty - wait for all fences to signal * - * @adev: amdgpu device pointer * @ring: ring index the fence is associated with * * Wait for all fences on the requested ring to signal (all asics). @@ -639,7 +640,7 @@ static const char *amdgpu_fence_get_timeline_name(struct dma_fence *f) /** * amdgpu_fence_enable_signaling - enable signalling on fence - * @fence: fence + * @f: fence * * This function is called with fence_queue lock held, and adds a callback * to fence_queue that checks if this fence is signaled, and if so it @@ -675,7 +676,7 @@ static void amdgpu_fence_free(struct rcu_head *rcu) /** * amdgpu_fence_release - callback that fence can be freed * - * @fence: fence + * @f: fence * * This function is called when the reference count becomes zero. * It just RCU schedules freeing up the fence. @@ -740,7 +741,7 @@ static int amdgpu_debugfs_fence_info(struct seq_file *m, void *data) return 0; } -/** +/* * amdgpu_debugfs_gpu_recover - manually trigger a gpu reset & recover * * Manually trigger a gpu reset at the next fence wait. From patchwork Thu Nov 12 19:00:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324229 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp588989ils; Thu, 12 Nov 2020 11:01:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJx0rULevKIFwiKOq3J4VRHdWIWKoE5N9hSJBr3YUPZAI1U6aI5eR9ZBAJBO8wshwizHIvyr X-Received: by 2002:a65:4305:: with SMTP id j5mr735100pgq.249.1605207673665; Thu, 12 Nov 2020 11:01:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605207673; cv=none; d=google.com; s=arc-20160816; b=LLfoUlmK05oO4UC2Ndu7IA+Yg0RCKPukn+RHJ7L+A3Kfqg+dheiyxrvrGPmbeMhm1i oTZwVFhxqqjPVz0Q5anpg/neGsoKAo0b1knlXsXbULJbxejVDQ2k4pTTjKv2O/7jfgx3 sPguZlLOshy9ckhYHg0u+bf5yOzFlURFIz7FoeOkCJGaw3zdDfilzkI5QmdcN030QqaY MWIL8w3qpexQxxUECvZGW0SCG4WhjhUjEVlcUsHhf7nDo0SLnPXoZJ0SFy6vqCQ0cBKi n2QgAtxn9g6lbWnNsykEJUWAKH8md7/5wVwRXdv3B5ml7gNl1gyLzaKeSFPPbFOMFjQo HW1A== 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=+GCCDqMyMskv0cYi4aJcoROoKMHTD379divlL5a9kWc=; b=GDsT8bTxGCPBcQK7k2jVc77oj5V4nGYqg80jrdSSvDFkuhA2o+bWmDSEIlJxOUWBqR d0MvFh4xEIilWgnQTxSGJoAhWZuCtcfCYDArd+ULEi/x4Pd6JETbxTHX0lTSSvL2Dopf mu9DuzpRhkFaftGO3ZcvWPY+BcO4ix6KjQ4fG9iX0zSL1Mz39Cwi9k16srKaCE1cxmF1 tWfZLgZYLGNdKVrZdpsF62GbxnAL/nV0dhh7TJKxUWppPPMGcyyTwt5ph1pulaa2D3hK MWsPP0DymMk2xw0uDvNRyAT1dDLTHVRO32q0OeYrW7HPdZXi3p1Kh33p/MzOj5U8iL0f +lVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=cX9+YeCq; 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 g1si2740773plq.190.2020.11.12.11.01.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:13 -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=cX9+YeCq; 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 B90576E39B; Thu, 12 Nov 2020 19:01:11 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by gabe.freedesktop.org (Postfix) with ESMTPS id F36236E332 for ; Thu, 12 Nov 2020 19:01:05 +0000 (UTC) Received: by mail-wr1-x441.google.com with SMTP id s8so7133503wrw.10 for ; Thu, 12 Nov 2020 11:01:05 -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=9VZRZT8daPeGmypqlkiDD/bg2WPWGzH9nAJzamvIbC4=; b=cX9+YeCqT9sC5aPbLf/Z1l7f1X6pFMGszA2M2We1Q1ujxzgtnQJ/o8rksf/vFe4jqZ hQTGnYQ8u9RsD0LmmkWZr9PIymGaGFTOrqfpso6SG6bNRwOUrGx+7f4D7Z52mxOfCdmo OXQ67Xozr/0PHcjr0mR8c/6p3XNT+wsoVaMxbRmFFgqyEmjNdS78DB6WM64yWp5A6MXO FRi5mjieC+KYIHYTAdl+Ljc0Qvn1hyKCOt88nQbIXtJTeZ8HZmAdAzB5wsIgijCuFIFk 1hf8gpXqOUolQ0BigNhDvmML9OKIVfKx7wa7wjx3tWCh4Oi//xUVdvBoxco0NohraCtE WJmw== 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=9VZRZT8daPeGmypqlkiDD/bg2WPWGzH9nAJzamvIbC4=; b=UTBG14qgW6fWFFaB0wtLb1PAzfduUtoOGDzX3CJcpoat7kgV0m2l36Q/Ih9gA/0k4s eWJH/nTFH6ZTyF1rfIQopqOLyGdliEwx+RSyI9zt3Yob6PMx0i2CUw8W9M7b1qe57Zy4 pKfwZ9VGUl99VMA+OFMfWfKz0WLEMMZOvmuC05wOeZdNaNCl9XQ7M3f63Ee8rwzk43zQ DslrAZaDn5itNAKdalpDinuQJMbZCevqfJ9pbe56pQKFRvmPaZ290o2cvt2Dbq7JKBsZ FrJD9PN0jeMDa+QzF6BDSnefHwwvUYYt930DKovc6XBmPAfADBJDhATMIKFSCvFsDNnD nT5A== X-Gm-Message-State: AOAM533xkMk1From2Kyg+yyZUXQ1nmobExQp5n08OGbsGH9XNhGdgEX6 vKlEOPUgkDGaW1H0ZsK/kawbnw== X-Received: by 2002:adf:f546:: with SMTP id j6mr1145810wrp.219.1605207664630; Thu, 12 Nov 2020 11:01:04 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id p4sm8105214wrm.51.2020.11.12.11.01.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:04 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 09/30] drm/exynos/exynos_drm_fimd: Add missing description for param 'ctx' Date: Thu, 12 Nov 2020 19:00:18 +0000 Message-Id: <20201112190039.2785914-10-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201112190039.2785914-1-lee.jones@linaro.org> References: <20201112190039.2785914-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: linux-samsung-soc@vger.kernel.org, Joonyoung Shim , David Airlie , Seung-Woo Kim , linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Kyungmin Park , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/exynos/exynos_drm_fimd.c:733: warning: Function parameter or member 'ctx' not described in 'fimd_shadow_protect_win' Cc: Inki Dae Cc: Joonyoung Shim Cc: Seung-Woo Kim Cc: Kyungmin Park Cc: David Airlie Cc: Daniel Vetter Cc: Krzysztof Kozlowski Cc: dri-devel@lists.freedesktop.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-samsung-soc@vger.kernel.org Signed-off-by: Lee Jones --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 1 + 1 file changed, 1 insertion(+) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c index bb67cad8371f0..49a2e0c539187 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c +++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c @@ -725,6 +725,7 @@ static void fimd_win_set_colkey(struct fimd_context *ctx, unsigned int win) /** * shadow_protect_win() - disable updating values from shadow registers at vsync * + * @ctx: local driver data * @win: window to protect registers for * @protect: 1 to protect (disable updates) */ From patchwork Thu Nov 12 19:00:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324228 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp588938ils; Thu, 12 Nov 2020 11:01:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJzAGW7bDUtA6eM/T0pKjV0Gnhv8uB8sGqDPTmMT4kifOTTb7kpFn+eAHNPeMIq3K6JHPrB9 X-Received: by 2002:a17:90a:c383:: with SMTP id h3mr627250pjt.150.1605207670075; Thu, 12 Nov 2020 11:01:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605207670; cv=none; d=google.com; s=arc-20160816; b=dmq/CU6oNU7C/3+BZZUHNJmidbDpTH5CkO2k90ZXaToTkLD/JsVJHp6LQIenTe8+To JTUbm1tI936en1FdCCp0LkwHkDK2aPsJbZVHQOMgVwtIDWgr4xV+/Qy7/PiSYK4TAdvy REgsL9M65TGI28y8L0J2HiAVoeBNICCKl4I3NcAs5809YKY6qO9ld5CIJS4dbISoPIKg bqpa9I9F8IN5PFWj6KU2lxL13zB0gfKdDAazIm2snbslHcL+DjBz6882y5HN6Zrrn3Ev HzJGpbwsp2dI5PZI3kmG9EKruLsUUPkgWvrw+QhaM3eusEMwI/0dzCpcbm4NBa2Wrz/R 3Y7A== 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=4j+0EYQ8SnIj/tVDN8l5FMZkxZjo5SRHivQ3XwfZmrk=; b=AEyY5J8cOvSIeP8WwigqrmUtLc+ldYgMybPsphFVL+V9gNOqKtnEOIXBJ4Oevmts2O g3THL48NEAw1n7ytluKSIPmwdWgWfoY+SPoysBewfJWTKHEc9B6ZLapJg7/f/eWwj1Vq aQlx22csFqQKcpGrYdoqJAtd7z6vJ/Nw01CbjIlznwcglDvfqcpEBunA57lSnJlIzSHj zPqqBKVXTf0fRUGpUhN4+flYtCqX/LmxWrXvHLYCO0v4jm9BAZBJSHl3C3Bl8F2l6Tj0 h7CkhwJ6mbG4LUZZXpgckVCHx6RHVfiJMP7EWCviBPptuWq9AHM6Q/1lsF1KnyPldE2G UHnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=s8i5onDX; 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 17si5507054plo.428.2020.11.12.11.01.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:10 -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=s8i5onDX; 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 E7AFA6E32F; Thu, 12 Nov 2020 19:01:08 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by gabe.freedesktop.org (Postfix) with ESMTPS id 45E6D6E32F for ; Thu, 12 Nov 2020 19:01:07 +0000 (UTC) Received: by mail-wr1-x442.google.com with SMTP id p8so7170902wrx.5 for ; Thu, 12 Nov 2020 11:01:07 -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=z9hqlcpW7hereULOoI8627Xoa15VHuxF/Ol1jNzvX80=; b=s8i5onDX/rg5gWCD7HaLyJM+wKiQn/RZHAN9N9s+jIYLgKocbJRWeJW96iZ7piGHrf cUr8rpL/UIFShlV4GrkjRsUCsedoNDq/fh/oUHIWBIyscRKe8qiIrkvUYW/2CpQF45so T9ZB4CcBZIJOhzW8rea3CXj3gRVDYzXC/aMzOvVQKn+pceTygbzdDUdFCj3gng5sd9HD iolE2XLyKcEBDSYrqmdxvTp1D5N8IfFOYD6+jUfNaUD08qpeq5jIcTWy9qcFqonNF+LH PT+Rpe69EN5bZ4oNGoUhkIJ767NqzJSxU+YIikqm+6fYF3H56oTb8abF9G3LtFRQtClZ +Q/A== 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=z9hqlcpW7hereULOoI8627Xoa15VHuxF/Ol1jNzvX80=; b=EF2Uu9FjjCgZFxpnOYKBUAVX8Awscr2VhAtA1I2v2sYSgML3mo5WGoIYOtW9C0HTz9 8YH/urJyx+gjU1SRh/ZvekhcCfQCbg8SJF1/8KyR5v47h5ZuKlVify754+FmwaIQiKsl /SFIy86hupV+/CPeL/r/X6DjZvBJd355HYWfsk1Veg2Ma9SkZu+8rh3IyEiWfRxEi1Bb 4tRDMM/JzwUy5/p7AhRzwVpddWBU090DwUt0KbHrsgOYmgDxF0s9ZrbhXC/3Vn/vrDUP nXqPnxbBsXjkD4ee1FBU0eOHXgmKUvH8h2NhE7w1sP6t7DI8+xt3VFsmoXHJfAL6boKS GctA== X-Gm-Message-State: AOAM531BJra0zltB2JpY0IUiV8eh0TlSSCScrAc4ykDjVCT8x8wGK3Cc DuzgRWMoNashiE+jL+kg/fwZdA== X-Received: by 2002:a5d:54c7:: with SMTP id x7mr1071487wrv.359.1605207665964; Thu, 12 Nov 2020 11:01:05 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id p4sm8105214wrm.51.2020.11.12.11.01.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:05 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 10/30] drm/vc4/vc4_hdmi_regs: Mark some data sets as __maybe_unused Date: Thu, 12 Nov 2020 19:00:19 +0000 Message-Id: <20201112190039.2785914-11-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201112190039.2785914-1-lee.jones@linaro.org> References: <20201112190039.2785914-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: David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The alternative is to move them into the source file that uses then, but they are large and intrusive, so that strategy is being avoided. Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vc4/vc4_hdmi_regs.h:282:39: warning: ‘vc5_hdmi_hdmi1_fields’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/vc4/vc4_hdmi_regs.h:206:39: warning: ‘vc5_hdmi_hdmi0_fields’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/vc4/vc4_hdmi_regs.h:145:39: warning: ‘vc4_hdmi_fields’ defined but not used [-Wunused-const-variable=] Cc: Eric Anholt Cc: Maxime Ripard Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/vc4/vc4_hdmi_regs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/vc4/vc4_hdmi_regs.h b/drivers/gpu/drm/vc4/vc4_hdmi_regs.h index 7c6b4818f2455..96d764ebfe675 100644 --- a/drivers/gpu/drm/vc4/vc4_hdmi_regs.h +++ b/drivers/gpu/drm/vc4/vc4_hdmi_regs.h @@ -142,7 +142,7 @@ struct vc4_hdmi_register { #define VC5_RAM_REG(reg, offset) _VC4_REG(VC5_RAM, reg, offset) #define VC5_RM_REG(reg, offset) _VC4_REG(VC5_RM, reg, offset) -static const struct vc4_hdmi_register vc4_hdmi_fields[] = { +static const struct vc4_hdmi_register __maybe_unused vc4_hdmi_fields[] = { VC4_HD_REG(HDMI_M_CTL, 0x000c), VC4_HD_REG(HDMI_MAI_CTL, 0x0014), VC4_HD_REG(HDMI_MAI_THR, 0x0018), @@ -203,7 +203,7 @@ static const struct vc4_hdmi_register vc4_hdmi_fields[] = { VC4_HDMI_REG(HDMI_RAM_PACKET_START, 0x0400), }; -static const struct vc4_hdmi_register vc5_hdmi_hdmi0_fields[] = { +static const struct vc4_hdmi_register __maybe_unused vc5_hdmi_hdmi0_fields[] = { VC4_HD_REG(HDMI_DVP_CTL, 0x0000), VC4_HD_REG(HDMI_MAI_CTL, 0x0010), VC4_HD_REG(HDMI_MAI_THR, 0x0014), @@ -279,7 +279,7 @@ static const struct vc4_hdmi_register vc5_hdmi_hdmi0_fields[] = { VC5_CSC_REG(HDMI_CSC_34_33, 0x018), }; -static const struct vc4_hdmi_register vc5_hdmi_hdmi1_fields[] = { +static const struct vc4_hdmi_register __maybe_unused vc5_hdmi_hdmi1_fields[] = { VC4_HD_REG(HDMI_DVP_CTL, 0x0000), VC4_HD_REG(HDMI_MAI_CTL, 0x0030), VC4_HD_REG(HDMI_MAI_THR, 0x0034), From patchwork Thu Nov 12 19:00:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324230 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp589020ils; Thu, 12 Nov 2020 11:01:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJxBQg39LooEaRhghllLSJv3C1Su/tQ0haocacdfc4RAmFrqL2R3oB20pUKzRAhamvyNPmQV X-Received: by 2002:a63:1301:: with SMTP id i1mr759674pgl.311.1605207676734; Thu, 12 Nov 2020 11:01:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605207676; cv=none; d=google.com; s=arc-20160816; b=Lo9l1Z+uGUAxNlJZMiecXJgSe+LwhTg3ifqU8dl2V494hAdGrU32ncVaX9ME3tQhmo jS26A4mHYAIoAYI93ATrJySyX5WsAkvjUVK1KNxIuf8TQZNdMOqVaewAiGYhg8lal/ig W/g78yo2UADhyTS2aekcCT6U8JYIC5x+/Y4cG9ERnsZzB1HwcfPQu+t/ivQ4wsCnoeg8 bg2exLztPmTahYtXpUixkNLnb1mfY3oKldEqIhZeal+GTjZ7O/b6cptse/as+oFknEDb f9vM3Dy3sKuQTa7dSj8mg1fkck8FhFqEl0zyYQ5Z8hmZmvRzImN/cNwraWgc0m7xvBgV 7Kog== 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=Ia6OsUY6iwfj3wkbv+XDDTa5/B/qb3RHPbrU+M/BXyw=; b=zE6Dyx2A7CAraKBVlaMw3KEPUA56lG6leYYc91WqoIk5EsKXQHcB1zNJiqjiEJplrZ jecufB09v8LPDKe0nYkEtbaN0iyo74+cQo1S4eK+9SMnl2XPxT2mJl0OspRhrS3Wo+E1 JS6lN9PfBfkZv5GoqBhvlMGO5PwEP44AB8qbE+Ly8PNCG0APBFom9FoV+jqiZJcuXxYu UW60HH5HDLzlojFUrYs32QaLuZ8b6g3fTKu8fHU6w3gI7lXWj2f3Lg+EZJN7kPYZ4Hkt ChA7sv4Fr9L6D7qQzRuFoE3iq0ioSlPEDet4gmJATLVnZqqXhRQNjFVGXe32QjSCZmfk NWOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=LW3L37Tw; 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 m2si5049668pgu.27.2020.11.12.11.01.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:16 -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=LW3L37Tw; 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 8831B6E3AA; Thu, 12 Nov 2020 19:01:15 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8D7866E32F for ; Thu, 12 Nov 2020 19:01:08 +0000 (UTC) Received: by mail-wr1-x442.google.com with SMTP id p1so7126354wrf.12 for ; Thu, 12 Nov 2020 11:01:08 -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=Kn9g1kMG5JlU7ctdIXE2LbkwCeCLbWZDScIEWNzvtKI=; b=LW3L37TwALnk4Q2xAPgEMzfzdr9zoa+spFmcHccQPbuhCyr3wHoD9YOlFlgX+pwBlq zqmKPE0BGKQsYMGsz0hzah+uMSULv+3zZt050EZH+He85XYyfbQbsHB4IHGeHUINSDHO 7A+WAD3QCV6qvf0ix7jhR0+05n8cQYNx8iQx/aTB1liHFtvjGBJxfS9/GwD4HphiSkMY pLEEMq4AAv0ASpigUk1pEOCF28p/s1xmpNClKI2Vrpu0YrQuMN8akO1yxONVW6yL9cja XhIaSQvd0CYJk3NXYpq1viX+Yy2ayRVZ7lNdPpSeiQr5YO9EFVKrHYN+A5s1NfQuE4nx wzSg== 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=Kn9g1kMG5JlU7ctdIXE2LbkwCeCLbWZDScIEWNzvtKI=; b=AQnlyKZWrUwXcOspz9ldtRUJQ+1VAxCea9RC5XTLaQ2zL881vD9GvMAxt8jRThFcQ2 uiAaDip+Xhe8GYOJlsguFJSsz9xEJ8gGK4Yj/33o2jpwckdWVE321SIED2R9VF8NM4kF 0YYJCKEIaDaIkay8pMGdLyvZarvKQZ9ZNQY8JFK6gYWE1zRktWXh3hdFA31zP1ZE0hpJ zWBda86w1TcMF90c9Y9ut15MN+le5Zd7YRO0YumF+MpLEokUN+0X9FYwwze83ry6vJBg 1TEqKO5AP09FzGNVKooszrfjrkrvy2qXMd6BlAihKX6mpycmpyOzZhKg34Ymv6q+r1bV HuPA== X-Gm-Message-State: AOAM531b3LuJ3ASZZGbb2i9sT4GZAlf2rYR45NHQvmeDtLPeY/qCgmy7 VTHPrCIswqZSnz84b/gmAAOwwg== X-Received: by 2002:a5d:4690:: with SMTP id u16mr1106632wrq.263.1605207667284; Thu, 12 Nov 2020 11:01:07 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id p4sm8105214wrm.51.2020.11.12.11.01.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:06 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 11/30] drm/vc4/vc4_hdmi: Remove set but unused variable 'ret' Date: Thu, 12 Nov 2020 19:00:20 +0000 Message-Id: <20201112190039.2785914-12-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201112190039.2785914-1-lee.jones@linaro.org> References: <20201112190039.2785914-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: David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vc4/vc4_hdmi.c: In function ‘vc4_hdmi_set_audio_infoframe’: drivers/gpu/drm/vc4/vc4_hdmi.c:334:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Cc: Eric Anholt Cc: Maxime Ripard Cc: David Airlie Cc: Daniel Vetter Cc: Philipp Zabel Cc: Rob Clark Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/vc4/vc4_hdmi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.c b/drivers/gpu/drm/vc4/vc4_hdmi.c index 95779d50cca0b..b80eb9d3d9d5a 100644 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c @@ -331,9 +331,8 @@ static void vc4_hdmi_set_audio_infoframe(struct drm_encoder *encoder) { struct vc4_hdmi *vc4_hdmi = encoder_to_vc4_hdmi(encoder); union hdmi_infoframe frame; - int ret; - ret = hdmi_audio_infoframe_init(&frame.audio); + hdmi_audio_infoframe_init(&frame.audio); frame.audio.coding_type = HDMI_AUDIO_CODING_TYPE_STREAM; frame.audio.sample_frequency = HDMI_AUDIO_SAMPLE_FREQUENCY_STREAM; From patchwork Thu Nov 12 19:00:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324231 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp589047ils; Thu, 12 Nov 2020 11:01:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJx0GJTEFXjry5KtuS38nXUCbF4/c38jKlaD6l790AIgW1MQAu4a17T53Ij9ZbYAtewPBR15 X-Received: by 2002:a17:90a:5898:: with SMTP id j24mr680290pji.78.1605207679286; Thu, 12 Nov 2020 11:01:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605207679; cv=none; d=google.com; s=arc-20160816; b=ddbSY5COBs2p4OC7O4JfoK0fy5OEG7bccaLFFu4kf4HHCNh2/jg12tIBIfPhsgN7Ty kdB/CR/RChd+35GtWFWAyD3uVidPa1NcX8oaLsJ+F1dQ3e+LWr6pSlXjfwO9q9ntJcEB iLfdhS2C4XvgT+J8fo9Tc/OzPVbVloCQu7hu+jY7GyiuZoRDTVoWQ9r+ywHSIrBFL5PR jXyrl0St/l5jW/3llJK51MFj2w3g5fin9DNMiKR4BbNXeVGN1/2xZQA4B0S27NuFUnFK aPXb8tALfoGpr+JllZzAebrDSJT+qsU5kNHwpm9qfGi5+4OS49kqjD4OylAkUF5Cu9HO QinQ== 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=XhqfKytS22h6erUfRgwm+FagMpBd/3WjuN4poDg/Btc=; b=0GgM6WajpAc/uDoQEVOwvkqvpnaFLJP1u6cDGaUVu+Qv1NZSUMc47WR8zQJ0ukv4Ia 5WD33ZqC+JfWefw4ClGYAN/FqHtPmyrgfgiD2p584GXH9N8LyJaqmEKxW65J5/kRAR66 bOqPxUATeK67Fa4gss8Rtg8OHDUObTuFA6NT1pp+67xQF6EhTNRDl4PlRqL/zBJNIrHZ jI35hcVH+D8tlJgvslnmN7GE0ehbI5LnRpe/NmAbryIxZGgKctiahCOmWbwcPJqjTAvq hKf3ym3fiwQ5ODBYEojuXyHkfHylUqzlxEVVKzvyHk/4OIk3jYssriGUkNmRdhgiK+/i daoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=x2xTWxmB; 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 191si5728130pfw.206.2020.11.12.11.01.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:19 -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=x2xTWxmB; 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 E48C36E372; Thu, 12 Nov 2020 19:01:17 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id 769466E364 for ; Thu, 12 Nov 2020 19:01:15 +0000 (UTC) Received: by mail-wr1-x443.google.com with SMTP id b6so7166606wrt.4 for ; Thu, 12 Nov 2020 11:01:15 -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=hhsEbZipFbCQyWEf6kSd5rkhfQthKzQFAcVlOpcfKHs=; b=x2xTWxmBKxpzw79Z8Dl07NQPgFw6vX/pS35IT/jc/XqcFHa5S4GFTwnoeqTH6QLjJq VsMsyTKLYqKjxOyxfhPYjBvq2ekaTGmLEKWg4G4cVMK+dmlpJOccH0D2FPjVUZSg/eEC VeSSyWzW9Hw8HKc9D9URvmYQlxQcRIv9qUifxbhCr6436+W5fGBfzfkF0le68pE8neCl OT9YrIuyA0o6NBUulYbv+ie6ApC1gw03ZEpXadmnrqMOqAYsDLMJXITPh9+xWCMM1G0f myTnnPmkjTfvvTgpdYSbm9zQSClky7g6i9oWgqG+ywUCxCn0qlnvZUJ2fKnVf3zstTdW XDrg== 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=hhsEbZipFbCQyWEf6kSd5rkhfQthKzQFAcVlOpcfKHs=; b=sxErQNGP6Wnvh0n3GWRCXzICq/njhbRyhvXZz8Gy9nNL/I3nmo7LMhOD+XrRA4tNQY cxVEBsm1tYb8LORLrXqg0Gxt3PJjK/LUQ2mpHXWeFpX6ZVOSmogEZpG1PrXGlDdcpetd 3Gl94qM6mRdg04Oidwu/++we4UneO7UtfsLbtkqPcWwPRiH1f1AMSVg/JWHGqchDlNTW MwxefO4a+tyuSxo5o9AJxV9rfx+szy6yGSYW9tzec3cqiRUUUQ7PPcDRU9LQBVlaPN54 TuBsxR6iFfcq2Qg8kF7OgM9RBdfNiPPCJ5gR1oY5qxZ05G4IRzar5RHGVVfOgoIzmC++ nkGg== X-Gm-Message-State: AOAM533GlYjKhikbK0oapIlLJNqXwd8QFE637T/vapjhhIZEIrinqCua /pG+ErVnbSyacdH273dVOg8iQw== X-Received: by 2002:adf:df86:: with SMTP id z6mr1138297wrl.57.1605207668896; Thu, 12 Nov 2020 11:01:08 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id p4sm8105214wrm.51.2020.11.12.11.01.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:07 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 12/30] drm/amd/amdgpu/amdgpu_ttm: Demote non-conformant kernel-doc headers, fix slightly lacking ones Date: Thu, 12 Nov 2020 19:00:21 +0000 Message-Id: <20201112190039.2785914-13-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201112190039.2785914-1-lee.jones@linaro.org> References: <20201112190039.2785914-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: David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, =?utf-8?q?Christian_K=C3=B6nig?= , linaro-mm-sig@lists.linaro.org, Jerome Glisse , dri-devel@lists.freedesktop.org, Alex Deucher , linux-media@vger.kernel.org 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/amdgpu_ttm.c:464: warning: Function parameter or member 'bo' not described in 'amdgpu_move_blit' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:464: warning: Function parameter or member 'evict' not described in 'amdgpu_move_blit' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:464: warning: Function parameter or member 'new_mem' not described in 'amdgpu_move_blit' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:464: warning: Function parameter or member 'old_mem' not described in 'amdgpu_move_blit' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:522: warning: Function parameter or member 'adev' not described in 'amdgpu_mem_visible' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:522: warning: Function parameter or member 'mem' not described in 'amdgpu_mem_visible' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:548: warning: Function parameter or member 'bo' not described in 'amdgpu_bo_move' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:548: warning: Function parameter or member 'evict' not described in 'amdgpu_bo_move' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:548: warning: Function parameter or member 'ctx' not described in 'amdgpu_bo_move' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:548: warning: Function parameter or member 'new_mem' not described in 'amdgpu_bo_move' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:548: warning: Function parameter or member 'hop' not described in 'amdgpu_bo_move' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:658: warning: Function parameter or member 'bdev' not described in 'amdgpu_ttm_io_mem_reserve' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:658: warning: Function parameter or member 'mem' not described in 'amdgpu_ttm_io_mem_reserve' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:751: warning: Function parameter or member 'bo' not described in 'amdgpu_ttm_tt_get_user_pages' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:751: warning: Function parameter or member 'pages' not described in 'amdgpu_ttm_tt_get_user_pages' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:855: warning: Function parameter or member 'ttm' not described in 'amdgpu_ttm_tt_get_user_pages_done' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:892: warning: Function parameter or member 'ttm' not described in 'amdgpu_ttm_tt_set_user_pages' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:892: warning: Function parameter or member 'pages' not described in 'amdgpu_ttm_tt_set_user_pages' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:906: warning: Function parameter or member 'bdev' not described in 'amdgpu_ttm_tt_pin_userptr' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:906: warning: Function parameter or member 'ttm' not described in 'amdgpu_ttm_tt_pin_userptr' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:944: warning: Function parameter or member 'bdev' not described in 'amdgpu_ttm_tt_unpin_userptr' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:944: warning: Function parameter or member 'ttm' not described in 'amdgpu_ttm_tt_unpin_userptr' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1029: warning: Function parameter or member 'bdev' not described in 'amdgpu_ttm_backend_bind' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1029: warning: Function parameter or member 'ttm' not described in 'amdgpu_ttm_backend_bind' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1029: warning: Function parameter or member 'bo_mem' not described in 'amdgpu_ttm_backend_bind' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1087: warning: Function parameter or member 'bo' not described in 'amdgpu_ttm_alloc_gart' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1146: warning: Function parameter or member 'tbo' not described in 'amdgpu_ttm_recover_gart' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1168: warning: Function parameter or member 'bdev' not described in 'amdgpu_ttm_backend_unbind' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1168: warning: Function parameter or member 'ttm' not described in 'amdgpu_ttm_backend_unbind' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1214: warning: Function parameter or member 'page_flags' not described in 'amdgpu_ttm_tt_create' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1247: warning: Function parameter or member 'bdev' not described in 'amdgpu_ttm_tt_populate' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1247: warning: Function parameter or member 'ttm' not described in 'amdgpu_ttm_tt_populate' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1247: warning: Function parameter or member 'ctx' not described in 'amdgpu_ttm_tt_populate' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1291: warning: Function parameter or member 'bdev' not described in 'amdgpu_ttm_tt_unpopulate' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1291: warning: Function parameter or member 'ttm' not described in 'amdgpu_ttm_tt_unpopulate' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1357: warning: Function parameter or member 'ttm' not described in 'amdgpu_ttm_tt_get_usermm' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1376: warning: Function parameter or member 'ttm' not described in 'amdgpu_ttm_tt_affect_userptr' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1376: warning: Function parameter or member 'start' not described in 'amdgpu_ttm_tt_affect_userptr' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1376: warning: Function parameter or member 'end' not described in 'amdgpu_ttm_tt_affect_userptr' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1397: warning: Function parameter or member 'ttm' not described in 'amdgpu_ttm_tt_is_userptr' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1410: warning: Function parameter or member 'ttm' not described in 'amdgpu_ttm_tt_is_readonly' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1449: warning: bad line: drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1454: warning: Function parameter or member 'adev' not described in 'amdgpu_ttm_tt_pte_flags' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1477: warning: Function parameter or member 'bo' not described in 'amdgpu_ttm_bo_eviction_valuable' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1477: warning: Function parameter or member 'place' not described in 'amdgpu_ttm_bo_eviction_valuable' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1787: warning: Function parameter or member 'adev' not described in 'amdgpu_ttm_init' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1915: warning: Function parameter or member 'adev' not described in 'amdgpu_ttm_late_init' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:1926: warning: Function parameter or member 'adev' not described in 'amdgpu_ttm_fini' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2250: warning: Function parameter or member 'f' not described in 'amdgpu_ttm_vram_read' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2250: warning: Function parameter or member 'buf' not described in 'amdgpu_ttm_vram_read' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2250: warning: Function parameter or member 'size' not described in 'amdgpu_ttm_vram_read' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2250: warning: Function parameter or member 'pos' not described in 'amdgpu_ttm_vram_read' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2285: warning: Function parameter or member 'f' not described in 'amdgpu_ttm_vram_write' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2285: warning: Function parameter or member 'buf' not described in 'amdgpu_ttm_vram_write' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2285: warning: Function parameter or member 'size' not described in 'amdgpu_ttm_vram_write' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2285: warning: Function parameter or member 'pos' not described in 'amdgpu_ttm_vram_write' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2336: warning: Function parameter or member 'f' not described in 'amdgpu_ttm_gtt_read' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2336: warning: Function parameter or member 'buf' not described in 'amdgpu_ttm_gtt_read' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2336: warning: Function parameter or member 'size' not described in 'amdgpu_ttm_gtt_read' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2336: warning: Function parameter or member 'pos' not described in 'amdgpu_ttm_gtt_read' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2390: warning: Function parameter or member 'f' not described in 'amdgpu_iomem_read' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2390: warning: Function parameter or member 'buf' not described in 'amdgpu_iomem_read' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2390: warning: Function parameter or member 'size' not described in 'amdgpu_iomem_read' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2390: warning: Function parameter or member 'pos' not described in 'amdgpu_iomem_read' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2446: warning: Function parameter or member 'f' not described in 'amdgpu_iomem_write' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2446: warning: Function parameter or member 'buf' not described in 'amdgpu_iomem_write' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2446: warning: Function parameter or member 'size' not described in 'amdgpu_iomem_write' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2446: warning: Function parameter or member 'pos' not described in 'amdgpu_iomem_write' Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc: Jerome Glisse Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Cc: linux-media@vger.kernel.org Cc: linaro-mm-sig@lists.linaro.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 60 +++++++++++++------------ 1 file changed, 31 insertions(+), 29 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c index 676fb520e0449..b473b13f34f76 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c @@ -451,7 +451,7 @@ int amdgpu_ttm_copy_mem_to_mem(struct amdgpu_device *adev, return r; } -/** +/* * amdgpu_move_blit - Copy an entire buffer to another buffer * * This is a helper called by amdgpu_bo_move() and amdgpu_move_vram_ram() to @@ -512,7 +512,7 @@ static int amdgpu_move_blit(struct ttm_buffer_object *bo, return r; } -/** +/* * amdgpu_mem_visible - Check that memory can be accessed by ttm_bo_move_memcpy * * Called by amdgpu_bo_move() @@ -536,7 +536,7 @@ static bool amdgpu_mem_visible(struct amdgpu_device *adev, <= adev->gmc.visible_vram_size; } -/** +/* * amdgpu_bo_move - Move a buffer object to a new memory location * * Called by ttm_bo_handle_move_mem() @@ -649,7 +649,7 @@ static int amdgpu_bo_move(struct ttm_buffer_object *bo, bool evict, return r; } -/** +/* * amdgpu_ttm_io_mem_reserve - Reserve a block of memory during a fault * * Called by ttm_mem_io_reserve() ultimately via ttm_bo_vm_fault() @@ -740,7 +740,7 @@ struct amdgpu_ttm_tt { }; #ifdef CONFIG_DRM_AMDGPU_USERPTR -/** +/* * amdgpu_ttm_tt_get_user_pages - get device accessible pages that back user * memory and start HMM tracking CPU page table update * @@ -845,7 +845,7 @@ int amdgpu_ttm_tt_get_user_pages(struct amdgpu_bo *bo, struct page **pages) return r; } -/** +/* * amdgpu_ttm_tt_userptr_range_done - stop HMM track the CPU page table change * Check if the pages backing this ttm range have been invalidated * @@ -881,7 +881,7 @@ bool amdgpu_ttm_tt_get_user_pages_done(struct ttm_tt *ttm) } #endif -/** +/* * amdgpu_ttm_tt_set_user_pages - Copy pages in, putting old pages as necessary. * * Called by amdgpu_cs_list_validate(). This creates the page list @@ -896,7 +896,7 @@ void amdgpu_ttm_tt_set_user_pages(struct ttm_tt *ttm, struct page **pages) ttm->pages[i] = pages ? pages[i] : NULL; } -/** +/* * amdgpu_ttm_tt_pin_userptr - prepare the sg table with the user pages * * Called by amdgpu_ttm_backend_bind() @@ -936,7 +936,7 @@ static int amdgpu_ttm_tt_pin_userptr(struct ttm_bo_device *bdev, return r; } -/** +/* * amdgpu_ttm_tt_unpin_userptr - Unpin and unmap userptr pages */ static void amdgpu_ttm_tt_unpin_userptr(struct ttm_bo_device *bdev, @@ -1017,7 +1017,7 @@ static int amdgpu_ttm_gart_bind(struct amdgpu_device *adev, return r; } -/** +/* * amdgpu_ttm_backend_bind - Bind GTT memory * * Called by ttm_tt_bind() on behalf of ttm_bo_handle_move_mem(). @@ -1075,7 +1075,7 @@ static int amdgpu_ttm_backend_bind(struct ttm_bo_device *bdev, return r; } -/** +/* * amdgpu_ttm_alloc_gart - Make sure buffer object is accessible either * through AGP or GART aperture. * @@ -1136,7 +1136,7 @@ int amdgpu_ttm_alloc_gart(struct ttm_buffer_object *bo) return 0; } -/** +/* * amdgpu_ttm_recover_gart - Rebind GTT pages * * Called by amdgpu_gtt_mgr_recover() from amdgpu_device_reset() to @@ -1157,7 +1157,7 @@ int amdgpu_ttm_recover_gart(struct ttm_buffer_object *tbo) return r; } -/** +/* * amdgpu_ttm_backend_unbind - Unbind GTT mapped pages * * Called by ttm_tt_unbind() on behalf of ttm_bo_move_ttm() and @@ -1206,6 +1206,7 @@ static void amdgpu_ttm_backend_destroy(struct ttm_bo_device *bdev, * amdgpu_ttm_tt_create - Create a ttm_tt object for a given BO * * @bo: The buffer object to create a GTT ttm_tt object around + * @page_flags: flags to request SG or DMA page directory * * Called by ttm_tt_create(). */ @@ -1235,7 +1236,7 @@ static struct ttm_tt *amdgpu_ttm_tt_create(struct ttm_buffer_object *bo, return >t->ttm; } -/** +/* * amdgpu_ttm_tt_populate - Map GTT pages visible to the device * * Map the pages of a ttm_tt object to an address space visible @@ -1280,7 +1281,7 @@ static int amdgpu_ttm_tt_populate(struct ttm_bo_device *bdev, return ttm_pool_alloc(&adev->mman.bdev.pool, ttm, ctx); } -/** +/* * amdgpu_ttm_tt_unpopulate - unmap GTT pages and unpopulate page arrays * * Unmaps pages of a ttm_tt object from the device address space and @@ -1350,7 +1351,7 @@ int amdgpu_ttm_tt_set_userptr(struct ttm_buffer_object *bo, return 0; } -/** +/* * amdgpu_ttm_tt_get_usermm - Return memory manager for ttm_tt object */ struct mm_struct *amdgpu_ttm_tt_get_usermm(struct ttm_tt *ttm) @@ -1366,7 +1367,7 @@ struct mm_struct *amdgpu_ttm_tt_get_usermm(struct ttm_tt *ttm) return gtt->usertask->mm; } -/** +/* * amdgpu_ttm_tt_affect_userptr - Determine if a ttm_tt object lays inside an * address range for the current task. * @@ -1390,7 +1391,7 @@ bool amdgpu_ttm_tt_affect_userptr(struct ttm_tt *ttm, unsigned long start, return true; } -/** +/* * amdgpu_ttm_tt_is_userptr - Have the pages backing by userptr? */ bool amdgpu_ttm_tt_is_userptr(struct ttm_tt *ttm) @@ -1403,7 +1404,7 @@ bool amdgpu_ttm_tt_is_userptr(struct ttm_tt *ttm) return true; } -/** +/* * amdgpu_ttm_tt_is_readonly - Is the ttm_tt object read only? */ bool amdgpu_ttm_tt_is_readonly(struct ttm_tt *ttm) @@ -1444,9 +1445,10 @@ uint64_t amdgpu_ttm_tt_pde_flags(struct ttm_tt *ttm, struct ttm_resource *mem) /** * amdgpu_ttm_tt_pte_flags - Compute PTE flags for ttm_tt object * + * @adev: amdgpu_device pointer * @ttm: The ttm_tt object to compute the flags for * @mem: The memory registry backing this ttm_tt object - + * * Figure out the flags to use for a VM PTE (Page Table Entry). */ uint64_t amdgpu_ttm_tt_pte_flags(struct amdgpu_device *adev, struct ttm_tt *ttm, @@ -1463,7 +1465,7 @@ uint64_t amdgpu_ttm_tt_pte_flags(struct amdgpu_device *adev, struct ttm_tt *ttm, return flags; } -/** +/* * amdgpu_ttm_bo_eviction_valuable - Check to see if we can evict a buffer * object. * @@ -1774,7 +1776,7 @@ static int amdgpu_ttm_reserve_tmr(struct amdgpu_device *adev) return 0; } -/** +/* * amdgpu_ttm_init - Init the memory management (ttm) as well as various * gtt/vram related fields. * @@ -1908,7 +1910,7 @@ int amdgpu_ttm_init(struct amdgpu_device *adev) return 0; } -/** +/* * amdgpu_ttm_late_init - Handle any late initialization for amdgpu_ttm */ void amdgpu_ttm_late_init(struct amdgpu_device *adev) @@ -1919,7 +1921,7 @@ void amdgpu_ttm_late_init(struct amdgpu_device *adev) amdgpu_bo_free_kernel(&adev->mman.stolen_extended_memory, NULL, NULL); } -/** +/* * amdgpu_ttm_fini - De-initialize the TTM memory pools */ void amdgpu_ttm_fini(struct amdgpu_device *adev) @@ -2240,7 +2242,7 @@ static const struct drm_info_list amdgpu_ttm_debugfs_list[] = { {"ttm_page_pool", amdgpu_ttm_pool_debugfs, 0, NULL}, }; -/** +/* * amdgpu_ttm_vram_read - Linear read access to VRAM * * Accesses VRAM via MMIO for debugging purposes. @@ -2275,7 +2277,7 @@ static ssize_t amdgpu_ttm_vram_read(struct file *f, char __user *buf, return result; } -/** +/* * amdgpu_ttm_vram_write - Linear write access to VRAM * * Accesses VRAM via MMIO for debugging purposes. @@ -2328,7 +2330,7 @@ static const struct file_operations amdgpu_ttm_vram_fops = { #ifdef CONFIG_DRM_AMDGPU_GART_DEBUGFS -/** +/* * amdgpu_ttm_gtt_read - Linear read access to GTT memory */ static ssize_t amdgpu_ttm_gtt_read(struct file *f, char __user *buf, @@ -2378,7 +2380,7 @@ static const struct file_operations amdgpu_ttm_gtt_fops = { #endif -/** +/* * amdgpu_iomem_read - Virtual read access to GPU mapped memory * * This function is used to read memory that has been mapped to the @@ -2434,7 +2436,7 @@ static ssize_t amdgpu_iomem_read(struct file *f, char __user *buf, return result; } -/** +/* * amdgpu_iomem_write - Virtual write access to GPU mapped memory * * This function is used to write memory that has been mapped to the From patchwork Thu Nov 12 19:00:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324232 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp589079ils; Thu, 12 Nov 2020 11:01:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJwRZ0UHR3Z5Tbz2nslbKQe/c6fC+MupZor1+0o7AgeUOPcOb97qLtiB/db3s7PnjiLCj1+9 X-Received: by 2002:a17:90a:f292:: with SMTP id fs18mr626456pjb.222.1605207680776; Thu, 12 Nov 2020 11:01:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605207680; cv=none; d=google.com; s=arc-20160816; b=p5f0jMFLMtGrQpygdZkgJBqP19Ps9sfOx5jM0FZmbOAyWlQb9mhibbmrkr1mPOjkZ+ 0IdmGcYyJeEq9XU8A3PgH7vKsTH1+qfqcpcfSqt1v1HpguhxSBolr0V6eK2Vez/7VF5Z 62rrKBJc+Un8Bbq1GLdlMKhln9oWaDhnbEeIFHJ1arQ8HXTPCRyBBQr79unSQoD5/BCU XD9MBelAj72bopUm6RwomhpppZqHnv7Dui6opEH3w7Sw1gnihTUDJotSu9WBYWGlLrI3 zYl3QMYjPv5sUanIA5TfmDKDNMiz0GEi83B23dyRlWC/k24TTWuDVHJTBHot8nBInfG1 BOcw== 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=HlVS312J8vhCZF6NOEFCwqQXNZYZEa0tk+gu+WL08Ic=; b=E5+s5KoxNoYMenX5TYtK7MzknSBnlCoMR1Fn0gpxdLmtp1ks4uLB7p9kb160GVJnaN zRpcOnJXl9s+T6aKAPRkxvCyvmKBD1PJ4Sl2ku083dSGk7539nHgnTGapBiESs4j4GWa NzcUjcrAjrg2p0hfyWC7vGMlZRLxz5qTgP9dnQmZx2VVqqqb5eR+9RHwhvaFa12TkR9E 5glkjfM5Pqm8dDmha2emDAvpGp2Li70Xk8uxHsRYtuya8lgNZIMGvsYMp3nRwFsUIyfE jpT6Vo1DWRZYMQuXb4o7st4QXpqkjRW9BmEESxQfFKg6KeK4jF9U63/BaJ3SzIFhOR5o 26Hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=eFZ0nyME; 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 g11si5547107pgj.280.2020.11.12.11.01.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:20 -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=eFZ0nyME; 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 09C986E3A0; Thu, 12 Nov 2020 19:01:18 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8652E6E372 for ; Thu, 12 Nov 2020 19:01:16 +0000 (UTC) Received: by mail-wm1-x342.google.com with SMTP id a3so6420009wmb.5 for ; Thu, 12 Nov 2020 11:01:16 -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=3tJhB0Hg6HAWYXnosRdlVU8vKZOSyhLIYiRgTEXQL+8=; b=eFZ0nyMEgcF3m/AhK2jWUr98teTvtyaCoUBu+csBEw/gH1A2K8TWUlHFEXj1H91Dhn zPTWKrK/hpTxawzZz18YGICA+DOS7OBbLkgfxRLIi164sk5OCFhSHC0gKW8nKeJ2yYFX zxcyMqavnIwUKukY51JfOoe/m9NGE8DjSAutaGM3HWFbEshT2qAqyB6d/qAcohmVZAZ+ Q98TrI7uBD23HyyG5tmr481OLoDvvqDo/wIhi5G0bR+C9ChfGJ4LThfR/tcrBrtHKsGz ptHhlRvurdkrblutEcv7VJ6CIt7MB2tocfQ+Ofw7vPVJiEKl4z/5fGc0Yo7i1ICnKLuW /CNw== 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=3tJhB0Hg6HAWYXnosRdlVU8vKZOSyhLIYiRgTEXQL+8=; b=NfpViVBn42UoHOuEmhndDrpyyBpmkYrfodPv/doypQ9YFqP4EWfZsvclWzWFWPPi4K YJ2DUlJOwiFS+c1rLHNagPcJp9DirWi/e2cBSkp3OxJxnLBgTjoVtVPOsz1sk6B0yo5I BW6bigza++SwT8Ee2KkZAHtmfciYLxNhjfJRgm9/qUMIQdOiDf919fn8kl/mE5lr2/kx XVZJStJJp0RZqVDtnES39Quo3nPZ1AL6lt7aIubSfDlT7ilXN9vo9B+LNHamiiYoz8M2 H9On3zf9P8aoD4nYHt2zdxoI+qMYrMIfWNLmRXFJs8adHtfIhh/YwEYyTFKIeMwkqYcc Qbpw== X-Gm-Message-State: AOAM531Sm3YVnUnehvEpnlHMI6ngXHoagMV6fHwRo+3TVFsip5hTy+eN IZqEK/bJfBniA4bMRu3wfW4l+A== X-Received: by 2002:a1c:7418:: with SMTP id p24mr1088162wmc.36.1605207673415; Thu, 12 Nov 2020 11:01:13 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id p4sm8105214wrm.51.2020.11.12.11.01.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:12 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 13/30] drm/atmel-hlcdc/atmel_hlcdc_crtc: Apply correct formatting to struct docs Date: Thu, 12 Nov 2020 19:00:22 +0000 Message-Id: <20201112190039.2785914-14-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201112190039.2785914-1-lee.jones@linaro.org> References: <20201112190039.2785914-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: Alexandre Belloni , Jean-Jacques Hiblot , Boris Brezillon , David Airlie , Nicolas Ferre , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Ludovic Desroches , Sam Ravnborg , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" And fix-up a misnamed member description. Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c:33: warning: cannot understand function prototype: 'struct atmel_hlcdc_crtc_state ' drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c:52: warning: cannot understand function prototype: 'struct atmel_hlcdc_crtc ' Cc: Sam Ravnborg Cc: Boris Brezillon Cc: David Airlie Cc: Daniel Vetter Cc: Nicolas Ferre Cc: Alexandre Belloni Cc: Ludovic Desroches Cc: Jean-Jacques Hiblot Cc: dri-devel@lists.freedesktop.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c index c17571a3cc2bf..c58fa00b4848c 100644 --- a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c +++ b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c @@ -25,7 +25,7 @@ #include "atmel_hlcdc_dc.h" /** - * Atmel HLCDC CRTC state structure + * struct atmel_hlcdc_crtc_state - Atmel HLCDC CRTC state structure * * @base: base CRTC state * @output_mode: RGBXXX output mode @@ -42,10 +42,10 @@ drm_crtc_state_to_atmel_hlcdc_crtc_state(struct drm_crtc_state *state) } /** - * Atmel HLCDC CRTC structure + * struct atmel_hlcdc_crtc - Atmel HLCDC CRTC structure * * @base: base DRM CRTC structure - * @hlcdc: pointer to the atmel_hlcdc structure provided by the MFD device + * @dc: pointer to the atmel_hlcdc structure provided by the MFD device * @event: pointer to the current page flip event * @id: CRTC id (returned by drm_crtc_index) */ From patchwork Thu Nov 12 19:00:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324233 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp589103ils; Thu, 12 Nov 2020 11:01:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJwL9kTa24+1iYJilTmBHk4fDRbFIdODOUzLLYIDQaorD8J5jDhHcw6gS9I4Uv2qkUa6Eqiz X-Received: by 2002:a17:90b:994:: with SMTP id bl20mr677137pjb.34.1605207682167; Thu, 12 Nov 2020 11:01:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605207682; cv=none; d=google.com; s=arc-20160816; b=Rz9U36tgYGUM5Gl1/Euxr6tHmKNJWV2JbqPRx0/NeDtL1ZskwL54YMQmjX2uhEzd8a YJwpX2sgTFs9qZNWLv0amPHuVSP+eg9urLdhHbgRccuph/LN3/BQuh/Lc47CrrZkkzar MPo6NztI0AxKC9UD4t+qh5ytf7iJRQskr2k1CslfVhf7KmN7irKYFKYMTr+wkbiWozba NLjkk5MbiX8QqTOoPWmS776ThZ1MWZXtsT/3CenFrKXcvckLXAoCv8GAlcWIdZ5relPG qnoZkGYo7NiTMiI03QRa5cknKOkughcsClqbt2wAcTjGd4YoRo6vs8YE2GQx/rn7rwhR lakQ== 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=dnzKyzHMtimYj9un0/L1bc9D3Z3m/gn5SCalZmeDiaw=; b=puKjUZUWWJvjfX2iPwpwpO/OFfEhwRlivgxWqMFBuoNRpyJu8lvw/mqKe5pkDSSUU1 /x4uE7ekJEpVrO9wi4WwHxoRojQLu75m9e02cBg/nmEfRWVA3phSVGrPQF4A4WiTon+R AdDN5NdpCt8vFAW+VsK9wUoTReWGpaZl79eSYvddizjEVUdrX50f8+PWeDAchgeVxlTc p+WaIp6v07bNxsq2O8uHdwo32vNRJn5Ljl06dRxB7b2mpakoOLskAzjRt8Ix8dbb0g2h BhzRLbhqQ1CWzxSP7BpnG5px5N7kZ5Lp/S+iqRfo25kD98UvRAaapefWbmtIoYxVhDVh qHMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Uu4xJvWH; 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 ls18si5479128pjb.136.2020.11.12.11.01.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:22 -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=Uu4xJvWH; 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 3DD2B6E364; Thu, 12 Nov 2020 19:01:19 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by gabe.freedesktop.org (Postfix) with ESMTPS id 10CF16E3B7 for ; Thu, 12 Nov 2020 19:01:18 +0000 (UTC) Received: by mail-wr1-x441.google.com with SMTP id o15so7155698wru.6 for ; Thu, 12 Nov 2020 11:01:17 -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=YpyVTU+tqYpOdqYFV7Yyz8eI/R9DV3oM3CFnCgiNLh8=; b=Uu4xJvWHcKPPYDjs+hyK5B7d8HMBUj/yTACwflvslo/PKGX4dzLVg8Hm2afZX0yNzn IDxJzY8ETvFBci87UC/2BGc2ifN3TWH8lMFAHzZndmdHXJYtrIwDZHJfeo03Y5ve8Zp5 x+W0zF325jR3ygT6nKBe7p1NieYmy6NrEQJYOBV1zP8RQxGbVKRhZVPXTBZZ4dF/cUx2 ugbkhIUsvKOdUYuhlxRpfXENXWUsYIDuof1ifFMSBFof/er1k5RLhLM6i+Fr2gfz9nDH +QBN2RD5gFdbhcqQRP9+iwAQPFFmt1TJUSDskdxnPH5ilO/6PI7BmUPxEbRVR7r19B/2 tSmw== 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=YpyVTU+tqYpOdqYFV7Yyz8eI/R9DV3oM3CFnCgiNLh8=; b=lCrBwJjp0dwRMNCu5rhJsy8ASmFqbO2YN217rZj7F2jZ/RoT9E4HALgoZDkueYdB6J JBX/fAxWcG9e1DJXLZdli6IrYyQXUQZTBAJhaCc683xcCPqcpfGZkEzYJLrusJQCsIcg ofjXtu0OPvIgHcTdznujsVFaUvG/5R+gPVYgeZvoL5p99VFnFFqcYhJeXgrXm3M8AVWu BXWO2se5yWAcdY4FUsvcZkUbP34j7rbvLvyDWQ80UJYRU4ydTQjRWKvyPs9Ok54OODMo m25FKAw+QWFEMihYqUcWybYQvF4IG39Uwe9XBeOKxY9fddsVMiwXgGyxDV0XXm4o2c+9 6nUA== X-Gm-Message-State: AOAM530bMyxLpthzmsNbKmHVLkclXt8c7KaKvjmhNpDCkqUORKFKsNmW 9Bb/3bmGHhd4V2Q6brEc4VCAoA== X-Received: by 2002:a5d:6286:: with SMTP id k6mr1116225wru.216.1605207676690; Thu, 12 Nov 2020 11:01:16 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id p4sm8105214wrm.51.2020.11.12.11.01.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:16 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 14/30] drm/amd/amdgpu/amdgpu_ring: Fix a bunch of function misdocumentation Date: Thu, 12 Nov 2020 19:00:23 +0000 Message-Id: <20201112190039.2785914-15-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201112190039.2785914-1-lee.jones@linaro.org> References: <20201112190039.2785914-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: David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, =?utf-8?q?Christian_K=C3=B6nig?= , linaro-mm-sig@lists.linaro.org, dri-devel@lists.freedesktop.org, Alex Deucher , linux-media@vger.kernel.org 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/amdgpu_ring.c:63: warning: Excess function parameter 'adev' description in 'amdgpu_ring_alloc' drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:122: warning: Excess function parameter 'adev' description in 'amdgpu_ring_commit' drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:167: warning: Function parameter or member 'max_dw' not described in 'amdgpu_ring_init' drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:167: warning: Function parameter or member 'irq_src' not described in 'amdgpu_ring_init' drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:167: warning: Function parameter or member 'irq_type' not described in 'amdgpu_ring_init' drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:167: warning: Function parameter or member 'hw_prio' not described in 'amdgpu_ring_init' drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:167: warning: Excess function parameter 'max_ndw' description in 'amdgpu_ring_init' drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:167: warning: Excess function parameter 'nop' description in 'amdgpu_ring_init' drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:285: warning: Excess function parameter 'adev' description in 'amdgpu_ring_fini' drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:325: warning: Function parameter or member 'ring' not described in 'amdgpu_ring_emit_reg_write_reg_wait_helper' drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:325: warning: Excess function parameter 'adev' description in 'amdgpu_ring_emit_reg_write_reg_wait_helper' Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Cc: linux-media@vger.kernel.org Cc: linaro-mm-sig@lists.linaro.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c index 2697b250dc326..a23b2079696a1 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c @@ -52,7 +52,6 @@ /** * amdgpu_ring_alloc - allocate space on the ring buffer * - * @adev: amdgpu_device pointer * @ring: amdgpu_ring structure holding ring information * @ndw: number of dwords to allocate in the ring buffer * @@ -95,7 +94,8 @@ void amdgpu_ring_insert_nop(struct amdgpu_ring *ring, uint32_t count) amdgpu_ring_write(ring, ring->funcs->nop); } -/** amdgpu_ring_generic_pad_ib - pad IB with NOP packets +/** + * amdgpu_ring_generic_pad_ib - pad IB with NOP packets * * @ring: amdgpu_ring structure holding ring information * @ib: IB to add NOP packets to @@ -112,7 +112,6 @@ void amdgpu_ring_generic_pad_ib(struct amdgpu_ring *ring, struct amdgpu_ib *ib) * amdgpu_ring_commit - tell the GPU to execute the new * commands on the ring buffer * - * @adev: amdgpu_device pointer * @ring: amdgpu_ring structure holding ring information * * Update the wptr (write pointer) to tell the GPU to @@ -156,7 +155,9 @@ void amdgpu_ring_undo(struct amdgpu_ring *ring) * @adev: amdgpu_device pointer * @ring: amdgpu_ring structure holding ring information * @max_ndw: maximum number of dw for ring alloc - * @nop: nop packet for this ring + * @irq_src: interrupt source to use for this ring + * @irq_type: interrupt type to use for this ring + * @hw_prio: ring priority (NORMAL/HIGH) * * Initialize the driver information for the selected ring (all asics). * Returns 0 on success, error on failure. @@ -276,7 +277,6 @@ int amdgpu_ring_init(struct amdgpu_device *adev, struct amdgpu_ring *ring, /** * amdgpu_ring_fini - tear down the driver ring struct. * - * @adev: amdgpu_device pointer * @ring: amdgpu_ring structure holding ring information * * Tear down the driver information for the selected ring (all asics). @@ -310,7 +310,7 @@ void amdgpu_ring_fini(struct amdgpu_ring *ring) /** * amdgpu_ring_emit_reg_write_reg_wait_helper - ring helper * - * @adev: amdgpu_device pointer + * @ring: ring to write to * @reg0: register to write * @reg1: register to wait on * @ref: reference value to write/wait on From patchwork Thu Nov 12 19:00:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324237 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp589222ils; Thu, 12 Nov 2020 11:01:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJwRjZs+15aSXMb01ANEPwygO5Z18OTREgPt+KVcYzuLkQxfnFkfdpVd9BhZpNgb2U8Vilyd X-Received: by 2002:a17:90a:fd08:: with SMTP id cv8mr582919pjb.203.1605207690308; Thu, 12 Nov 2020 11:01:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605207690; cv=none; d=google.com; s=arc-20160816; b=KOC4CrPwEZV0xk4GgYgN4ThVVyl709kgU0cZ8hCp6bEQdQA1QAsI1g74+lFHMHVOtz f6zYWyM5HagJdwyRE+0xOEOVhGOhIRFyZPRKFTVIg647ipgFdJklnFIN/GeoTxdnTxRZ qONA3df6R5JY7mJx5iP/MwbHnVsaWRowFuXlS4qCJS5zHTqf3QIAlxQRrzQl4+AKZVCF WBvc9pWdrFSrW3rDjzME5YBWU8kKVsRWmCweOY3stgElqL/orXoNuGTKacUPyVlqYpO/ rIp08wRxA0J41nX4eYJdoDqMkIeZI5NH292df7hUMuXVlw7adyD0eqnCNcOzpJTR+/eR COFQ== 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=Dv/TBzmr1KBIKgV0SfHnUq62THR7nQn2xbDYX2Cpkoc=; b=ozFuDCSNVnSNDZsG8QYWvsmwuJDU4RQP5UELodqFr29EZnq2ymD2tNxIyYg/E16Xx7 skEvYXDKgZrPVeEoOLk9/sYRXwU9Pt9666DvM1KFAVLH/ahB530t31Xk5RkubZ+UKpot HuH/my1VPPeEtaBYriF9hetlbO0bXfqQMC/ydSRcIcb4RWfGM+ZXtjMYu+Qb/NqDvYeQ qBR4wdo0ME+/Ue4VRwEAZlEn6G2rcEaVJtkuNd+0lH2KQ8jxhIDDUN4nTFdXJb1sf2dw gxWW+N3mTdNvdY9wPT8+X+ghKlbzeki8TOLR/m0yEfzvv02kRboXhP+6d5Nwdnh23NAB Re3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="Ou/EHKHa"; 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 e15si5583154pge.246.2020.11.12.11.01.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:30 -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="Ou/EHKHa"; 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 7CA376E3D2; Thu, 12 Nov 2020 19:01:26 +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 5CC686E3B7 for ; Thu, 12 Nov 2020 19:01:19 +0000 (UTC) Received: by mail-wr1-x444.google.com with SMTP id l1so7145704wrb.9 for ; Thu, 12 Nov 2020 11:01:19 -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=5obwl2HLa2hJZGgN7+byxbis29C9PE5dIA5hYQvye+A=; b=Ou/EHKHaEikqtJE8cSM3UeFbvQcGsPiJBRWhjq0TuVV/p+7lAQB2pg8b4Kd4VZd3N1 /ZIKy/fqiwlHuzVcGicWjs831K9oFyeMNkx15nOMF0ribAwncR+UlsMsN53nJxHpf8N9 HXUn3sdCI7FBbNOTOcZj2kanCeY73XcDbJJE9vCsZpZOtsDcws/JJn8heE5TwbNydQyK Z3uZJT4YcJlwukgQusZuPZoA6EJC5YxUtc1/Wr1tCOJBTIn9eMzncQXP0eUye5RR6Z85 LuqSc1Olu8pR4ucIVUaWvTlZPOaVBKThOibDWHfCJzrYn2QLuLp6Tgta/aAwympaqPdZ 59Og== 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=5obwl2HLa2hJZGgN7+byxbis29C9PE5dIA5hYQvye+A=; b=rx1n6aM3Jebijuni9TmbIufEePh6GVkkb34roRf861aMLPOaLH8MnY81H8wcNdem+z nOWYVP8FAG8oFPWe9ATuLPKtgfi2jrwe5nhePzRG9LUJ9BKGk9rWVpnwepJ4h5ugtm0y 2A3CZR/COXRlE6Nwcz+rxIUX6+IMbf+lBt+ELWJFtFeVemqOgoQk9h0fJTeirNitbc+J rggjvFdFf1FGxqpv5pTKcI6X7HfLXi6ZoVlIUHpnb25rrJUCWxqn+zdlbWPamnnK3YhQ eiGePH8rUYxp5L1zOzZsNMMad2k2AbIXSwE8bWpFFpBFeMofNkCMFhVQxvDJjfRpCEIO B1Bw== X-Gm-Message-State: AOAM530aO/3AmU7haBjE8MmKFRiMmMp9glajLgYZ7e04Qu41XSRcAhVN qpjj/BSZDrw0fs59zGYjcXkAuw== X-Received: by 2002:a5d:5222:: with SMTP id i2mr1116351wra.247.1605207677934; Thu, 12 Nov 2020 11:01:17 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id p4sm8105214wrm.51.2020.11.12.11.01.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:17 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 15/30] drm/amd/amdgpu/amdgpu_display: Remove pointless header Date: Thu, 12 Nov 2020 19:00:24 +0000 Message-Id: <20201112190039.2785914-16-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201112190039.2785914-1-lee.jones@linaro.org> References: <20201112190039.2785914-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: David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, =?utf-8?q?Christian_K=C3=B6nig?= , linaro-mm-sig@lists.linaro.org, dri-devel@lists.freedesktop.org, Alex Deucher , report to , linux-media@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" It seems only to repeat the function name. Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_display.c:450: warning: Function parameter or member 'amdgpu_connector' not described in 'amdgpu_display_ddc_probe' drivers/gpu/drm/amd/amdgpu/amdgpu_display.c:450: warning: Function parameter or member 'use_aux' not described in 'amdgpu_display_ddc_probe' Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc: report to Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Cc: linux-media@vger.kernel.org Cc: linaro-mm-sig@lists.linaro.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c index 0b134598b3a65..f4de4b41adcfd 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c @@ -441,10 +441,6 @@ void amdgpu_display_print_display_setup(struct drm_device *dev) drm_connector_list_iter_end(&iter); } -/** - * amdgpu_display_ddc_probe - * - */ bool amdgpu_display_ddc_probe(struct amdgpu_connector *amdgpu_connector, bool use_aux) { From patchwork Thu Nov 12 19:00:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324236 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp589207ils; Thu, 12 Nov 2020 11:01:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJx+IqK7ao6jQllL1uXbY1f7EVpXCXmIn/cjjHLToUz2iu4FAXn0x+XphlOySJ0Dp+xqgUd4 X-Received: by 2002:a63:cb51:: with SMTP id m17mr729493pgi.337.1605207689031; Thu, 12 Nov 2020 11:01:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605207689; cv=none; d=google.com; s=arc-20160816; b=QBPHssXDKp3G8sTQXNTROb1L3wLXpEfWch3IH1s9jMhA7NjgsjyMHumkrDl8SoU09j 88aZT3N/0Day7kbRrvaSbaxu4Ph3+71+crSyy4GFV7WHcQKzQazUaBwkUv7i4cBIjtLG s9XRdodU06/tBY0/S7ypiNBuDr7JmgmyKKXhrFkI0YjlLAw2Ka/FhbfukVVLtbAHta3Z 830rNJnMhut37qDCqOuWXDWyzuW+rG7QuKT16khmkyabF+Drpo/eBG605+JDo1DQNnyM DPnqZ5pVMOrPY2RnBMPJAfrKqzKu5PqTeHp+oTOPvmoi1sS1ET6QyDXEDQO9UO1wsOcA yjWA== 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=76NXx6dJFZE53X1tfW/k7xAgGg52+T1prgS3bi7yCik=; b=YRSxCjpE0xiwYE4aStup4zUk/QP04l5pMqbMgwtVos6qIiilB5KpO+/C+lMRq3Uldt 6uBBM/hctB6MLIpn7Sv6D8ADwt4f5J9po62rUMprS7PC8CqC9j81kX94uiYAywRcg7ts j/hxiJr84Rxsjwcmp2FJYPDbNsWWLGy2Sd5+/6pD8wv6Nzra721jm4SfpznAnYBTGp1F Uup6ycUiFRi6DQDPTSlBzlZ0HYKIsa/W6ZlUamz6mH/t1eoiOVd5dS2JoLUkdoaveQ8D QiAdc5tBdA1b5vPd0LpVrZpMV8Ymt2GmDuRgCYVxqeiXmgXDWu+mOY6mqM8zKJzWbTaV 6KOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=wZ6DK6QT; 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 j33si5533246pgm.30.2020.11.12.11.01.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:29 -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=wZ6DK6QT; 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 85F346E3C6; Thu, 12 Nov 2020 19:01:25 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by gabe.freedesktop.org (Postfix) with ESMTPS id D99276E3CE for ; Thu, 12 Nov 2020 19:01:20 +0000 (UTC) Received: by mail-wr1-x442.google.com with SMTP id p8so7171644wrx.5 for ; Thu, 12 Nov 2020 11:01:20 -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=GSQeWTdjtKHE/snC/M+vXh/C2LESCnHy86BMb0+s4p4=; b=wZ6DK6QT/0jgXl86gYHoNbMa2HFabOJWNjlDe3eubw/4ODuekBAeMhKInFvqDGoeVA 9GMpX6S8jUDnsdPAmyqUBDezSM3GZecQrtoX28rTAEB59O4wK8at1IfmwWuHOoDor4M0 HMyq4J4Jh4Qi/F2xnEMmUJa1cB5WVuzgp+dIq00AYW3uz03TwSkMqLb/Xu9CY6aTfKHh VJkHxIOKy2+LjQXf+9F35I2U0uPVSRD/8pg33OAk1QvuCLBlk2VxvVp4jBRBk4HNAvGG xMPHmsyRLBbEAQUMNVH6Y2Z/M8LKSkU8wv7uaIrjjFsSYzHNCNtYLxWg+iOViFQkQLEx jnyQ== 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=GSQeWTdjtKHE/snC/M+vXh/C2LESCnHy86BMb0+s4p4=; b=S/3YsHexTqwF9Dv1gzplp4+zTVaZvfxm436OHWeYyoVk88Pxe/ghVK608O53EVIFCB vhK+zc1uASocRXZ/32yzS3Z279lS4yTKu5Lq3301FpeFM7IEUTNNPhbrDyNng42ZMyF4 yLY9hL57rzCCEyIYZ5NBVuu3pWKZhxOkFIRcZG3sQ5UjkuYf7q8p4eQzufdzHcP33r1J qr4PsY5Lp3TXT8Pz2EykaeZSeuGgA+VMJx92M6DDq3VE82YAb4MWN2FDnAJ1BqSdlH7c EQn4WqXvvcYFMMR/OkwWNtxdZNPVxG8tv9w0lNsnrltiXl6TRDcvjVgVzirHFOjakc0z mJcQ== X-Gm-Message-State: AOAM5339oS5m/hkDGvA+RtnFyAN1wGy0E84GYqOeugl1F9wCrwmrXnvU +nUxEJXzT8xA5Nhb1bkQVJUlRw== X-Received: by 2002:adf:eeca:: with SMTP id a10mr1095430wrp.186.1605207679555; Thu, 12 Nov 2020 11:01:19 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id p4sm8105214wrm.51.2020.11.12.11.01.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:18 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 16/30] drm/atmel-hlcdc/atmel_hlcdc_plane: Staticise local function 'atmel_hlcdc_plane_setup_scaler()' Date: Thu, 12 Nov 2020 19:00:25 +0000 Message-Id: <20201112190039.2785914-17-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201112190039.2785914-1-lee.jones@linaro.org> References: <20201112190039.2785914-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: Alexandre Belloni , Boris Brezillon , David Airlie , Nicolas Ferre , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Ludovic Desroches , Sam Ravnborg , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c:283:6: warning: no previous prototype for ‘atmel_hlcdc_plane_setup_scaler’ [-Wmissing-prototypes] Cc: Sam Ravnborg Cc: Boris Brezillon Cc: David Airlie Cc: Daniel Vetter Cc: Nicolas Ferre Cc: Alexandre Belloni Cc: Ludovic Desroches Cc: dri-devel@lists.freedesktop.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c index 40800ec5700a8..2d502d23ab12d 100644 --- a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c +++ b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c @@ -280,8 +280,8 @@ atmel_hlcdc_plane_scaler_set_phicoeff(struct atmel_hlcdc_plane *plane, coeff_tab[i]); } -void atmel_hlcdc_plane_setup_scaler(struct atmel_hlcdc_plane *plane, - struct atmel_hlcdc_plane_state *state) +static void atmel_hlcdc_plane_setup_scaler(struct atmel_hlcdc_plane *plane, + struct atmel_hlcdc_plane_state *state) { const struct atmel_hlcdc_layer_desc *desc = plane->layer.desc; u32 xfactor, yfactor; From patchwork Thu Nov 12 19:00:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324234 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp589160ils; Thu, 12 Nov 2020 11:01:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJzgDK4w/Dcv9/qRI2wsryiQifFSq2jiPMOVdt5E4x/lVIc5lIiKyEkNXECK2o/E0l8Di62j X-Received: by 2002:a17:90a:7522:: with SMTP id q31mr649496pjk.158.1605207686091; Thu, 12 Nov 2020 11:01:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605207686; cv=none; d=google.com; s=arc-20160816; b=CA9veVaaxSLdDT6EpLv9Pye8BGcHOB300vriPH9Y5bI+OWb2wDhrfYa2j7NvzMQu66 CFy+BiAD0XV2xhw2rQNqYDebxwSH64deLySx2+rwJMQaAUWwzQjHNgNf4XmYyt9dQ/m1 wJI1NwdgE0qANpKg7M4am+/RXdrhONpX0SLZOUHS9sCzLBxcrkB7iBosW7h/dcyvzcA0 LRId7H4XDqlAQZP7/QjBKgPGrZPwCH1iboC6jG8lGVt6QrE1izebcM81H4ec8wQOXchs iU/9H7wQmQ0rGQe8fl3NcmfQVyhageQk7AjEVpN3XzuCmWzzj3e9q8YZuRUNionh6ye4 M20Q== 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=YH1UhuMpRCWCSHKQjo6JWc58XcwePMPeZOi9HXnPTds=; b=tQ6kcj/WzOBrDGqOK9Vx3jkHPgW6H5eC+IugqJXpzbxmISZnx0qIzSDdZpSMw6bCZQ y38C31MvOxAC43+QM/aNodtTimzvEIOhExdB5kAtK1v7MmNigk55N/cI+TFpuvsl397V BGE/OMMmGfwCU7n4Yn5fyU3J7hrg4v2Ll2noHIp52a0xCJfeK+Kwg/7VTjGcTB5dCDNi u7l0gL7YEeaLwzgVjOZq6adgz9UX1TaK9TgxZz1/zwivHNjuClEInngmNkcRl4PsU1/Y 5V6ci974AwuSN+iefqypr9XaBkr531s80+CVCznWirpHYe5WIrnRmFD04wuUzIOpxgRe pL4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ftVe61vl; 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 z10si669083pgp.290.2020.11.12.11.01.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:26 -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=ftVe61vl; 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 0BAC76E3AE; Thu, 12 Nov 2020 19:01:25 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0CEC96E3AE for ; Thu, 12 Nov 2020 19:01:22 +0000 (UTC) Received: by mail-wr1-x442.google.com with SMTP id o15so7155903wru.6 for ; Thu, 12 Nov 2020 11:01:21 -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=QNH9kt00Ytktj23I8cCOxWaGTDw/PvYngQ1rA6iE+q8=; b=ftVe61vl1qHazPhsUFSHiMVrrXrdpSLAdqtZdV0KiAUu+I4967UqclrYIfnxHdS7BZ 2M4+lPokvvsQdoh076IAg87Fh4Au+4HCycCxdH5pGzeluuftd3dUU1nlPgDwd6LMyKYL xe7jQ7PoAxwZC9EhN07fdr3LK5zOfKcrwtm9Uy7F38YFFGOh6l9+VjlF/Kpf+UPDKjXC vicRjcjjFMRlKxs8elyYuEe6n/jfOjhShF758j3BDkXeK7KHR7cEfufg0/OFJMISlzkX 25dpMFYDpFFpS5MSug+pRZu4qsFPPkhrDjN91h9/CvCk7X1O75dOXDvK4boMGEJFXW9Q KskA== 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=QNH9kt00Ytktj23I8cCOxWaGTDw/PvYngQ1rA6iE+q8=; b=EEGjOzmP+Q/3Vtvd70ojaiyBfwbLdVxUm8IPWA7mYiXg+NvNKDWsxQb4pS8zL6XZ+U QOI6gF7nLxu0pjkJe6GEMZAI3IvjnzObVz0wGWh0Enbb307nhLFZ/G3p0ueK1Ihq2QEl sFNSZpdqY++0t5mtcgSuECJdZ8CkohiIDuQ2xTqIDXB5djDPmjUt8DGqH1ns0fO3XyQG btoCc2OVa6k2UUbrl9f68qy7dWsGPelfAiZGciACDlxBmtnKkkBI86GG2p7R4+g5XhJD +OWMOpNHUauAWLnB07pLn9D9kHa8MYWmu08bI9sccC6NDG2cSnlBeGaGCp0OpVbbj8zi rbvw== X-Gm-Message-State: AOAM532PDH92dcN5EfF6W9lqh39YL5Y3VScNqwvdPp7vWgxtSlzGsNTJ WM0ujNN3u74806kN885hxq7cMw== X-Received: by 2002:a5d:5643:: with SMTP id j3mr1076296wrw.43.1605207680754; Thu, 12 Nov 2020 11:01:20 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id p4sm8105214wrm.51.2020.11.12.11.01.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:20 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 17/30] drm/atmel-hlcdc/atmel_hlcdc_plane: Fix documentation formatting and add missing description Date: Thu, 12 Nov 2020 19:00:26 +0000 Message-Id: <20201112190039.2785914-18-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201112190039.2785914-1-lee.jones@linaro.org> References: <20201112190039.2785914-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: Alexandre Belloni , Boris Brezillon , David Airlie , Nicolas Ferre , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Ludovic Desroches , Sam Ravnborg , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c:283:6: warning: no previous prototype for ‘atmel_hlcdc_plane_setup_scaler’ [-Wmissing-prototypes] drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c:44: warning: cannot understand function prototype: 'struct atmel_hlcdc_plane_state ' Cc: Sam Ravnborg Cc: Boris Brezillon Cc: David Airlie Cc: Daniel Vetter Cc: Nicolas Ferre Cc: Alexandre Belloni Cc: Ludovic Desroches Cc: dri-devel@lists.freedesktop.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c index 2d502d23ab12d..15bc93163833b 100644 --- a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c +++ b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c @@ -19,7 +19,7 @@ #include "atmel_hlcdc_dc.h" /** - * Atmel HLCDC Plane state structure. + * struct atmel_hlcdc_plane_state - Atmel HLCDC Plane state structure. * * @base: DRM plane state * @crtc_x: x position of the plane relative to the CRTC @@ -34,6 +34,7 @@ * @disc_y: y discard position * @disc_w: discard width * @disc_h: discard height + * @ahb_id: AHB identification number * @bpp: bytes per pixel deduced from pixel_format * @offsets: offsets to apply to the GEM buffers * @xstride: value to add to the pixel pointer between each line From patchwork Thu Nov 12 19:00:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324235 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp589189ils; Thu, 12 Nov 2020 11:01:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJylZjiXYN6+F6+gTqwKRW10dGdjRJKVJKbzuNRI2tbe8HtCFydOB8Zj3jdbzNi/6K26i4aw X-Received: by 2002:a63:5608:: with SMTP id k8mr724085pgb.285.1605207687861; Thu, 12 Nov 2020 11:01:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605207687; cv=none; d=google.com; s=arc-20160816; b=PaliS16ah7WR408ZFeNPidqwBieVTUbGdw5vJc3NouQZ2mK1wq4e9A3nhNei+FfIao G8GSJAaHjgYp9CcGXHtaoE9MpRYVhxx++ASLOqJXv2+cDgostuM+VJZP3Xzka7/QEj+d HVjE+5RVYloY7dDVsjkhyX/74f1carr4trs5hDhiSCs0kPXHHykg62Gn4pkGw0YtqQ+n jipCplBu3jNVqYHL+nYnAmTFxLjIsl2l1bmaY5OtDB90wCmfnpeo38vP2EV4Zh5kyiQU h9cd5ErOtQYcmQKwZhDRgO3Lrd65vKUBrEoinWKrFyUnLQQ2fsN/8X17a+gKSrCV8SPT A/KA== 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=odeD0Y/TPyGdsr0AzNVY6X5MHOWBMTRs20zvK1QgsKg=; b=CxdmCn5ia3/7OjlrqglN8zjr16JJ2xqpGpfVOtioXJmyTqzTEw5cWiM5lWlwMC57p8 haOwQyyKh1Js5RiAbKT3Q5f95/95u/4Z1sCrS+jFUED7YezZX8g/npVJVDCKNp27Q/nF IImgXdkLHoQ082GnPYEkR0oEVXm8B8FlbTH4enNmxhdZqyhZo04zns2s1d6mrX9sORQz LlR91oPhKpTyF758fqY8/6LJOdc8j7LRVFy5TUp/C0O78L0QFXTIhCgGLGACdeH9q5Dx x8Jj/64/Y807R1kfcQ1rE2P4kBfkD1+XjClhPdWVrnsyUWEzGwBGT63kY+n2RHPQ6xP4 peYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=P90TJGWF; 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 i10si5724326pgc.35.2020.11.12.11.01.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:27 -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=P90TJGWF; 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 81C5D6E3C4; Thu, 12 Nov 2020 19:01:25 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by gabe.freedesktop.org (Postfix) with ESMTPS id 858B86E3AE for ; Thu, 12 Nov 2020 19:01:24 +0000 (UTC) Received: by mail-wm1-x342.google.com with SMTP id c9so6181808wml.5 for ; Thu, 12 Nov 2020 11:01:24 -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=3dpuU5BsT173A/3X/IKJ/RVPURrpJEnyWKPfCisq40U=; b=P90TJGWFxXWKZTP2scYCOfsqY/wKKa1+4kmWdDdolBtQxz0OR7Cfzjww0kbTQK2sc0 i/KmQ4x3Jjf7hxdCJ3q13Y20iRA6ny8Q7mDh56qfaOxSaJFUWgbO9uJAj+S0XyphglZy DdBOPZhizxJ8aLSKYE3zJRVnQd0q5UsQOsgDhBkLImip3LKE+ulUHyhF1doGJLW+fmh9 4vf8a14EaZ+W7Z4+Ja0XXbTq+ZEz/kqs3jO/mDp1S8LdLLfmUsCh64+05tmYXC8HtGZZ 6MRCTA/pKLDAP9iWxdL03koe+A1DgD9h1sogY76kYlQkXW6oh1ZXKG0kHiw75wamAA0f xpTQ== 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=3dpuU5BsT173A/3X/IKJ/RVPURrpJEnyWKPfCisq40U=; b=KPc+2GKa1qWwpC97e16TgHUhcnI06G5ZzoA9vD5ODOIbBbgvsxolKHkUU6DcrREkgY tJKJShmTHa8QAdTKloyhk45GvvvolQQC2wsG+24z0bllgmn90GSIoop2MKlbC78wvoxf tDEsAFddFaDwliATE+uJes+0+6w+G56Q0m0bKeDmjQq1TTR+r/d90Mq5/RgEmjbHvDj+ TUsbgMj8P5gTT/kFTGtXMdPqNmJf7FuoI3Re+4l7pg5+ZuTLhwOqsbDRk+MQ+59QGVO4 aOkYbnusx8JRVyb2VCh6+xhrbBhsNu6YC7cseec7qBxtQgWZw59eZYi82WPMtdpaU6AI rhmw== X-Gm-Message-State: AOAM531ijNJjLytTN4iB3/quvRb8S6WDdbzTdZdOdN5ICpMHYE/ByL4X 9kbXobjzuGtsLc44vbvmYGntmw== X-Received: by 2002:a7b:cc84:: with SMTP id p4mr1108394wma.86.1605207681995; Thu, 12 Nov 2020 11:01:21 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id p4sm8105214wrm.51.2020.11.12.11.01.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:21 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 18/30] drm/vc4/vc4_v3d: Demote non-conformant kernel-doc headers Date: Thu, 12 Nov 2020 19:00:27 +0000 Message-Id: <20201112190039.2785914-19-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201112190039.2785914-1-lee.jones@linaro.org> References: <20201112190039.2785914-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: David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vc4/vc4_v3d.c:131: warning: Function parameter or member 'vc4' not described in 'vc4_v3d_pm_get' drivers/gpu/drm/vc4/vc4_v3d.c:231: warning: Function parameter or member 'vc4' not described in 'bin_bo_alloc' Cc: Eric Anholt Cc: Maxime Ripard Cc: David Airlie Cc: Daniel Vetter Cc: Rob Clark Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/vc4/vc4_v3d.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/vc4/vc4_v3d.c b/drivers/gpu/drm/vc4/vc4_v3d.c index 65d0dac69b0bc..73d63d72575b0 100644 --- a/drivers/gpu/drm/vc4/vc4_v3d.c +++ b/drivers/gpu/drm/vc4/vc4_v3d.c @@ -122,7 +122,7 @@ static int vc4_v3d_debugfs_ident(struct seq_file *m, void *unused) return 0; } -/** +/* * Wraps pm_runtime_get_sync() in a refcount, so that we can reliably * get the pm_runtime refcount to 0 in vc4_reset(). */ @@ -205,7 +205,7 @@ int vc4_v3d_get_bin_slot(struct vc4_dev *vc4) return -ENOMEM; } -/** +/* * bin_bo_alloc() - allocates the memory that will be used for * tile binning. * From patchwork Thu Nov 12 19:00:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324238 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp589331ils; Thu, 12 Nov 2020 11:01:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJyH1BcQz8FL+R4LE3cwnBJ+WRq1yCqyXyj9hCW4hdv8Bfk2efDlsKxAAwgEZP200pbXKct4 X-Received: by 2002:a62:1408:0:b029:18b:78d:4c4b with SMTP id 8-20020a6214080000b029018b078d4c4bmr888846pfu.25.1605207699724; Thu, 12 Nov 2020 11:01:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605207699; cv=none; d=google.com; s=arc-20160816; b=TJlKU6U9Ajcc9sm4Yio3BRtaOTqcoD9UVEvoZ0ahwEp/QoW3rQOefYw4fqJVknkQa/ pRyRUrv0JKfCQRJcxq6ydv//o1ucV6jovUfKDJCVxIFAZLYT+INU0TFuCRyl77rcEgeC 5SzQbzf0SNuNY8qMt44Z/r8vsQLeG/g++bDAYGi5IuMLZ8nMnHdGgl1gIh31tJf5QDCc XBaTOl4Fkku7od0xzDiIvIgBdfmHKRULs9r3hGZ/vdaUYTbXCFC8ECfAbBYOEbnMd1nD Z6wK8ayHsQGjbz8AWKQEb0pdoSr4FcyhS3FkvZ8P6dnTMLiAYNVCVZ3QBorPPUcEqddK CRhA== 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=WbplkZDM3Hr56eB9y8zH/01xVS09Hn1g7uH08oQNXs0=; b=PWb5LkBMjTBC3FJynQv3Oh/RfQCyiKB9XVnpPoulJkm5rqa/AK9VvmB2u1RbuFpMWs SFtFRB4QTVSwyeCHKkQ3u5vUqewMYDfFK4tM2sj0C/zWNG1OEQxoaOBxpJu+6ji4ib+C +a5tu/NLDZjJgsr6sYxzts9D+yG4LOFPscAqOAt1JXlU4dt0F7qBenz0qdgecsk5LeI+ 9qR9mxWnybXl0Q6hW1klEhaUD4/trLA6QV8BcD75gaUz9mZMzjj4KtQvQ81oKUVo1tKL cvpfCL0mf8+ytk2lIQoObCrwHgCUjJsAb/iQ2fx59yJuHIcamsI/RFkdZBI9BkiKK6tc 1gdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=TYYnc+JT; 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 27si5499561pgw.463.2020.11.12.11.01.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:39 -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=TYYnc+JT; 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 9BFCC6E3B7; Thu, 12 Nov 2020 19:01:38 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by gabe.freedesktop.org (Postfix) with ESMTPS id 09AB36E3B7 for ; Thu, 12 Nov 2020 19:01:38 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id a3so6420818wmb.5 for ; Thu, 12 Nov 2020 11:01:37 -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=wySX8cNvv9NUCsmEXsR0JBc7XJM0MHUH49ItqBshbVE=; b=TYYnc+JTtX+7g5eq1yvtLhuta3frJKaGjJnmhpp9ssLYcLhSlYVMBIOWVkhID5dXhy s0fOBHL3PKNm6fWy6QXiAIvJgwepaT9f6/pLhP1CntWD8Qpb1yak3htNpVOHksCcu2C9 t4Qtnlq8kSQMdGxnccItE49u5fTKpnXDivlcqvMyqj8OHuw5Y3paAtOYRb36Kmbrev9o Ys/VjaGC/LobEWcR+ODlkmq67ao4FjFVmrEWhiWfRf5fIaJWwSc7GZLiSkb+Bf+hM1lp 1T2eUHPmvgHaMIcY1zz6E/B0c96U35SHIq7MT4ptq4uwr0uYFsiChoj6PBePbph19uqo uASA== 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=wySX8cNvv9NUCsmEXsR0JBc7XJM0MHUH49ItqBshbVE=; b=eDmGdDKgA1ZbNV2YavpnpGPKcfGggaSH5M37uWQpFjsepyK7TkhOotHVKgVF836Rh2 PTwsFemgYhStN62s00HL1NPt3fmK4KAmzL7YFZKzUCqfpzRonEvb/gSEQ/RvEi+eAC7H KQPswa9W9JlHw8Y4y3XQ2HzzwcmWGtFiWEhyNUstvYu65izPuJJM6P4+DvAX6IFKZZO6 9w9eEw3iS1O7MfLWycBoGHP5hV72+hx3YnARM5WQQkW9xTWYsQeyGSgGquCY9Otx0Lcr FQstfcGb5s5PmPomLzY2+vdeLzidyOmEwZoZS8TAqt9hBaAFwi+Rr70WT4xKun6n+tg7 NYcA== X-Gm-Message-State: AOAM533yv9ht/ihhmIzEBL3qrtV9dUJ//mq7WPxGxbbnnhIhC1kF+ZeF LVtRDr/baM/JNZKXyILgQKH2Zw== X-Received: by 2002:a05:600c:4147:: with SMTP id h7mr1060841wmm.186.1605207696742; Thu, 12 Nov 2020 11:01:36 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id p4sm8105214wrm.51.2020.11.12.11.01.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:36 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 20/30] drm/armada/armada_overlay: Staticify local function 'armada_overlay_duplicate_state' Date: Thu, 12 Nov 2020 19:00:29 +0000 Message-Id: <20201112190039.2785914-21-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201112190039.2785914-1-lee.jones@linaro.org> References: <20201112190039.2785914-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: David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Russell King Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/armada/armada_overlay.c:329:1: warning: no previous prototype for ‘armada_overlay_duplicate_state’ [-Wmissing-prototypes] Cc: Russell King Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/armada/armada_overlay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/armada/armada_overlay.c b/drivers/gpu/drm/armada/armada_overlay.c index 30e01101f59ed..6346b890279a0 100644 --- a/drivers/gpu/drm/armada/armada_overlay.c +++ b/drivers/gpu/drm/armada/armada_overlay.c @@ -325,7 +325,7 @@ static void armada_overlay_reset(struct drm_plane *plane) } } -struct drm_plane_state * +static struct drm_plane_state * armada_overlay_duplicate_state(struct drm_plane *plane) { struct armada_overlay_state *state; From patchwork Thu Nov 12 19:00:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324240 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp589410ils; Thu, 12 Nov 2020 11:01:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJzLH+ZMgZ8LZyK/9yk0SWSq5NPRKFAgItMG1ubv6RCZ9sd5UkQMaxxcdBbeYtb9OkzTou2R X-Received: by 2002:a17:90a:c254:: with SMTP id d20mr654579pjx.112.1605207703842; Thu, 12 Nov 2020 11:01:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605207703; cv=none; d=google.com; s=arc-20160816; b=jO6AZ9pzTvFhJl/stz5vbbSFTgAMXhZjSRs5/diyRrdoEauaO8yJV4BKFefwzQxj7A FK/ysx/6vjn7TsFFYWiLTq7XYj/9Ku+vr7rvEhtyDnN2KJasthg4tarQFBA2D5cDVskL T/YVu+QGud838sPolfcZsViVyxGkSjof/kzrwXaA3alSt39IuDpCTLf1g1QMHD1TT3gT wBg4rpA2LiygzmCULHvRE4sIh+MGmgg4cFfBoWjiBtKo+ahRudnzd0zP9100t02fPnRO QsvWz4NttBIrpMAr7soFBbjIObv4EGp4je9n4vZvPBpFy6i8b7MrWphGKHLmfoWXCXD2 wB5Q== 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=acoHURbDqMNkHySMsNgog+9Bxm5abHsGFzCdtaF39Vo=; b=bj7L5ferfKN5d50V8vW1QwbP67vXFPuZACRVGbhid9NXTvIP1BXO0ZY691g6alLnyp TgD0BykkAvcj7z/35ESQzY3r/EBTkl8XUk9GhR1nYEkjOWXZkETAPSi96X32tR0eCjMA T4vxaLt1j2Bi1Peuo6ridJSBTyFbmVaeulPYAmy21VKqdJCalrTSTFNwSnPRVBOa2oAX EXzcU8V5/PgD7h97kKCk5Hjm+GqArn9FsnXVesiFUORGJVrKlHJPa6H3LmHdjxrir7VE kAVS+N/VvOv0g0zgLrRBlHD6A6cFDT02/pwsztYsbX0WKQRy9VxQO5gL1zo1ZYvFawPe k5iQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Fres0t8J; 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 g1si5758776plq.81.2020.11.12.11.01.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:43 -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=Fres0t8J; 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 0B8586E3CE; Thu, 12 Nov 2020 19:01:42 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4D9D16E3CE for ; Thu, 12 Nov 2020 19:01:39 +0000 (UTC) Received: by mail-wm1-x343.google.com with SMTP id p22so6194297wmg.3 for ; Thu, 12 Nov 2020 11:01:39 -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=kwAPsdpVMxl/zDOaEKrvh3eBbThND3Sgn5s6wfB0Uyk=; b=Fres0t8Jfa1sMxBPb0ng+NZpGwBSuzbU/49z0C3NU890xFlv5eHKoMT2jnyDkSsUAN wnRBK1oLvYnOS19g9mm4bLKMsv9QVIR5nFRFSZWpq4hV9GOrTC/JGCdpMREo/tXyua0o yOQ+ZpxcYuoKP3bJmtqPuD29cfasJafnwYwqQ5N3PcfAC+KckZT0h88fD71xx84k1skp eq8Tqu+RqO9DtehkdDNiMSEVRYhVFTAgnDzbmHo0/bPuddqsieHSGFIiKKn8/3Ss8SUC BcPKgebo/3N3FuVsc+Wq0lAi/oI16TaiL3sJTGXmlIbX+H6M5+9j9E4xR+fS2u2xGkV9 TW3g== 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=kwAPsdpVMxl/zDOaEKrvh3eBbThND3Sgn5s6wfB0Uyk=; b=foAEVZsiUAJuN9F+/UKkZ8rZYkavS7BuJMjBmEfeR6ETx/HKknvBqypwymIkVckc0r gAmCotbFW+CSyO6vU0L3yqlTuD3uFxUX6MVtFoRH/zYJKCtLb/97VQTDgcJtO/5luwyq h4AAPJgdjoingDBLe1c7K4h87TcWjlPKQfgt3UJPrnacFACD+aa8MhOLE/90zge9ptO8 nPiimoz84cI8VmFmMxbVZOhLRjA+wwmkuZohQptWqIs79Z6HaQe4kIAEmo7Fo8yMokbJ aPKmg/2eRtdB4pdNOG9B8n7m0qYke5A4O7lvC1XfQ3Au68G2+WQWmRpCqhsQKNgsksNn MKng== X-Gm-Message-State: AOAM530YZgH49fpa2iWz7MJZF7lttJFFoCiws5Pl+FoQRfrWSRQnAvoM TS2gN1pfn/Ehk4eREu1n4ZmYrw== X-Received: by 2002:a7b:cf05:: with SMTP id l5mr1029122wmg.81.1605207697949; Thu, 12 Nov 2020 11:01:37 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id p4sm8105214wrm.51.2020.11.12.11.01.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:37 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 21/30] drm/vc4/vc4_debugfs: Demote non-conformant kernel-doc headers Date: Thu, 12 Nov 2020 19:00:30 +0000 Message-Id: <20201112190039.2785914-22-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201112190039.2785914-1-lee.jones@linaro.org> References: <20201112190039.2785914-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: David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vc4/vc4_debugfs.c:25: warning: Function parameter or member 'minor' not described in 'vc4_debugfs_init' drivers/gpu/drm/vc4/vc4_debugfs.c:62: warning: Function parameter or member 'dev' not described in 'vc4_debugfs_add_file' drivers/gpu/drm/vc4/vc4_debugfs.c:62: warning: Function parameter or member 'name' not described in 'vc4_debugfs_add_file' drivers/gpu/drm/vc4/vc4_debugfs.c:62: warning: Function parameter or member 'show' not described in 'vc4_debugfs_add_file' drivers/gpu/drm/vc4/vc4_debugfs.c:62: warning: Function parameter or member 'data' not described in 'vc4_debugfs_add_file' Cc: Eric Anholt Cc: Maxime Ripard Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/vc4/vc4_debugfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/vc4/vc4_debugfs.c b/drivers/gpu/drm/vc4/vc4_debugfs.c index 4fbbf980a299f..6da22af4ee911 100644 --- a/drivers/gpu/drm/vc4/vc4_debugfs.c +++ b/drivers/gpu/drm/vc4/vc4_debugfs.c @@ -16,7 +16,7 @@ struct vc4_debugfs_info_entry { struct drm_info_list info; }; -/** +/* * Called at drm_dev_register() time on each of the minors registered * by the DRM device, to attach the debugfs files. */ @@ -46,7 +46,7 @@ static int vc4_debugfs_regset32(struct seq_file *m, void *unused) return 0; } -/** +/* * Registers a debugfs file with a callback function for a vc4 component. * * This is like drm_debugfs_create_files(), but that can only be From patchwork Thu Nov 12 19:00:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324239 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp589388ils; Thu, 12 Nov 2020 11:01:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJxLNnR3wIXIzM/3+DGLGmefLMZBVonmzlW/VqAbfbAf3MTNDh4Dx8VpFajgKCQ9hqMqLfg5 X-Received: by 2002:a63:3202:: with SMTP id y2mr730995pgy.97.1605207702727; Thu, 12 Nov 2020 11:01:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605207702; cv=none; d=google.com; s=arc-20160816; b=st1BX1eQ93MZo5PbT+0d5xIODIWMvjit8hr/ndLjVNpuIrBn6GVWKkjJVHXCqCRcHR jkLvKtisvPuNeZy7PTWwmqQ2gCqdYe5AKzLq3OIYt6EKasOc7X0xVWpUFyHeylwW2gAk a/jvzsXl63r4dz6lBJQtd8gOXPlflfngJ+77eBg92wlEaeg1JoYlDaOG4pYyLo9yC9xX r74HrOCbJ4pfrFGg8EufVtXtvzw/U+8vNh2pBJjC1rfUYNseXMC11ukhXZKKjlwDS0Ar Yvasj8hMHVIidAyw02751Vm3yDMBVbywfcnZhxflkMbSzJYZA6sMx/Ttz4dgQIAc4wKA 2qaA== 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=FpsCbaGu1CdBB6MQl8YO6IOJpdXnseCkdCn3jSGHZeE=; b=ARX5bXNOpImXjyKlABCptsOX/tYSd6Ce8R6ov/HIXz3EgjV+q04dvu2JkD1GCQqP+i sojorhXSpxh7eqwyvDUE0vX4B467Kk4GozE059u36I28apJ2Oi5tp0FZimrFdBFw305V CvHOACkk6TbRq2/2FpHOpFXJVmnV/64QqWNENBg5XEGFeNZVvQ8yd5txvhMXJkN4rKhn 0IbNguaQmo09GviwjWKW2JNBKRthSdzlAAGEoqK6+QH0pWP9QgpT+qiefPH49jDTCfaR ADQ659s6/6InftSPBQNaF/wdvlPvpAbhqiq50R5LUqd7n5QwPGa7VkygOiUbHymEFPVJ 8S7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=luGD853v; 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 v5si5861712pja.142.2020.11.12.11.01.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:42 -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=luGD853v; 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 B50BC6E334; Thu, 12 Nov 2020 19:01:41 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2968F6E334 for ; Thu, 12 Nov 2020 19:01:41 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id d142so6187977wmd.4 for ; Thu, 12 Nov 2020 11:01:41 -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=CEyFJOSSbdvLfYxo1nswzgxPyZwwh2XfGKJvNAOyE+k=; b=luGD853vRdhiDvEzMuqlML/DI46z1HchP7kIYP7123hCXjIDgT+HMOCnSJrjwbOs5T dyI9rFHG0jjrNjVTuoAMKToPrIkva/LkzsMRcVNzK9cBSG2xBrrMOPXjo/YLDV+uHCjF H7vK6vwlbKYitJyuncaAeAWzP2EWg44x3fmsTEpg53cocdLYVkxg3dTjJzwp9W717Bbf m9syiXJiuReemJUapLpUUPWPavpT6L8UOkIrtVnpFmG1FGBdZvF3DcldZyWeqB3hxnnK eNzI7U1bN53rVphSw0qjmtxO0V1pGzv6KhP75YnlQNU7GvWZJiHb0QSUJwnj1C6EckMd hDEA== 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=CEyFJOSSbdvLfYxo1nswzgxPyZwwh2XfGKJvNAOyE+k=; b=s1TIVOH5WvxGuoktEHq6O94CusDMyImxNAUebH6RZqJaEXLpGG0s0q5e02IchrYTpS AEKdrk4PH6uIh20+FKuChFcwCpSMBJCvD2Qd70jBexndnuLXC/bUEZ60MmMIrR37DjZ9 FPZCoB3n5Se+4OynHRfRuUumO4444EikjTxO374EeD2GVmWkCthfVixNtp4hywSVTrwQ dYZJFHm7dMsmY3S8e0R1JnawVdSHqZNMGNVU7/SfXRE2ZLba52JHxNmBOPJ8urSGtrNj v4Bgo4Y90a6uwBNJJDmf3rp1QisukPickiYY36fxzZ0n0P30op1xo16jvp2Koxcdd4y5 eJUQ== X-Gm-Message-State: AOAM530CAKist0iRYlHACxAzGgJIuxse6XCuouoRxwfiWtSCcft2jqbX b1DdiDxfqeYvJlV1Vo9IKLHu2w== X-Received: by 2002:a1c:1d82:: with SMTP id d124mr1156353wmd.12.1605207699167; Thu, 12 Nov 2020 11:01:39 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id p4sm8105214wrm.51.2020.11.12.11.01.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:38 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 22/30] drm/rockchip/dw-mipi-dsi-rockchip: Demote non-conformant kernel-doc headers Date: Thu, 12 Nov 2020 19:00:31 +0000 Message-Id: <20201112190039.2785914-23-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201112190039.2785914-1-lee.jones@linaro.org> References: <20201112190039.2785914-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: David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Sandy Huang , linux-rockchip@lists.infradead.org, Nickey Yang , Chris Zhong , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c:357: warning: Function parameter or member 'dsi' not described in 'ns2bc' drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c:357: warning: Function parameter or member 'ns' not described in 'ns2bc' drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c:365: warning: Function parameter or member 'dsi' not described in 'ns2ui' drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c:365: warning: Function parameter or member 'ns' not described in 'ns2ui' Cc: Sandy Huang Cc: "Heiko Stübner" Cc: David Airlie Cc: Daniel Vetter Cc: Chris Zhong Cc: Nickey Yang Cc: dri-devel@lists.freedesktop.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-rockchip@lists.infradead.org Signed-off-by: Lee Jones --- drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c b/drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c index 542dcf7eddd66..e84325e56d980 100644 --- a/drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c +++ b/drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c @@ -350,7 +350,7 @@ static void dw_mipi_dsi_phy_write(struct dw_mipi_dsi_rockchip *dsi, dsi_write(dsi, DSI_PHY_TST_CTRL0, PHY_TESTCLK | PHY_UNTESTCLR); } -/** +/* * ns2bc - Nanoseconds to byte clock cycles */ static inline unsigned int ns2bc(struct dw_mipi_dsi_rockchip *dsi, int ns) @@ -358,7 +358,7 @@ static inline unsigned int ns2bc(struct dw_mipi_dsi_rockchip *dsi, int ns) return DIV_ROUND_UP(ns * dsi->lane_mbps / 8, 1000); } -/** +/* * ns2ui - Nanoseconds to UI time periods */ static inline unsigned int ns2ui(struct dw_mipi_dsi_rockchip *dsi, int ns) From patchwork Thu Nov 12 19:00:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324241 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp589439ils; Thu, 12 Nov 2020 11:01:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJxQST6IdocBU8Hla3PeFRDThaenb1avGN/nv4bzK7Qnqm7Lpy3uCZMMxWvNOKrn7rtEzBx4 X-Received: by 2002:a63:6a82:: with SMTP id f124mr811040pgc.236.1605207706071; Thu, 12 Nov 2020 11:01:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605207706; cv=none; d=google.com; s=arc-20160816; b=qo0iKaiZNJLMY8w9llFBakG+vbIWPALDX/LwDO8Uusn8OcMnU2okm2w0qqvJpcZqD3 IfJCfJ5y/ZkfHtHUMx+ksrgXRkjNYZaKkx3uNGvSovyARqdkOg9cXRrI52ILgg9SW094 DwiOkupW9IDuO42HKrZlOUdZK1RmJpAsFUgOigMmlNrGAiwR/315wt7Hp/Bp4U2+gDSZ kkZ9hilgWTeJkhzgo1wQdEp8/zsUYqNZNB+kTcxUqJBnabJk3PcYpslOJLYZKo3oot+i bBt3T55t5JWoaM8cjH9ENauHOKLZxJJhc2rHphV7yw1E6iMMM2oDcUMhO8rZ8q2saO51 nqWQ== 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=XOkCDIybNHBV9XgAirPjEKDd1OYGXN4M47Yz033KlOc=; b=eoin16hpaM2YCttwUVxI2mnkloEugRztc9kzY8oCgjNv+mWNZQJjWyX6eyDBKi5R+z UuCO8FrJyuzeRWXY+nzG7X8N1h47NW8soU+bAX90GBoAlgmHlu55xlx6xQO9zSBSHwz/ IZJT0mHvWkPqt8YJN4Y3O2gOigexEMq8kRr6heO6UoO0mVo7RWLMWvO2TLCU5YbLCAl4 qCG7402clrdm2IPPm8zV4qTfI14k8nTQMz/DTtjPULE+wJIvcljXCUBo9nokEml9Rj/1 jyPIRw2Had/BPDj+yKcg/ZY2gCKH6m7Z5+yb7aC9N2x1qB9Efo5yjp+waEh4Y6Kbmrau 4xWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=S9tZWZNQ; 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 q18si5325996pjg.115.2020.11.12.11.01.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:46 -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=S9tZWZNQ; 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 E0CC76E3D3; Thu, 12 Nov 2020 19:01:44 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2B3246E3D3 for ; Thu, 12 Nov 2020 19:01:42 +0000 (UTC) Received: by mail-wr1-x442.google.com with SMTP id o15so7156849wru.6 for ; Thu, 12 Nov 2020 11:01:42 -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=vIBIVuzBlrGyaebIimJgPfSPXPdePz/jLOplaNl77Uc=; b=S9tZWZNQXIkRV9mPM6OEmeVeYu0c4QMcShen80UEKoX4pqHBh/GmCzilomqYNxV5r+ Gvfd1aJzgRPBkD/CPATnf//LEkjmtVu73Mvst7Yw5of7zAwHLJiLWbOtttCx5SQ0HFYd HRAKO81DLHM+HxOmmHNxqpv4R5H1NdLISE28IMLAp83hNQ96sMDrtPXh3rhl1ZRlosu4 3sd6MsCuUE/vPrKmay52fIdQIi0vi0tOvBK04HHiUj+In+L8e08Qlzamx2gTq+STIq5G HGbFhB8xc0BlejFY8N8U+27dYAqSatMBbQPiyHrOuFIw0XjG2VeuIN7LeOTTFKJ6XrWu fB+A== 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=vIBIVuzBlrGyaebIimJgPfSPXPdePz/jLOplaNl77Uc=; b=XkrDtrptEPJBbQNKKU2atWYLwgGxjQZ0JFftm0Vx+4+dvhOGqDTMrF/k1J7rokdBhd yixeZxSuRcdNosyom18Fx40xonxLOcu4N+3uHLx35wl41OPTSlDdBhAMspNnGXKYpj8H dun7v63toyPRVogd/mZI0qPx0sFWaPFoR9xDwQXd9wx+YbBeed+Scs3Hxk+Xpab+ilzS VcROwbenU0+OpVStyREvw5eTnvhcvlZQwj5U/+qEChpDqFs0sK2y9PGhVDFtWQa3Ow/z 87fhD+l1KM433d8OID7MkFKILHXWts+oIQkVIiFfhhxg6RAG1tvdTetwtP2UmnxISZRX lH1Q== X-Gm-Message-State: AOAM530J5eJMw2d1+gZv3wBxgn7ZewcQrac4riyV/aSkBFuiBt2BB418 GvzGA4y+xU11lcC7jCT2JJMFeQ== X-Received: by 2002:a05:6000:110c:: with SMTP id z12mr1108335wrw.214.1605207700757; Thu, 12 Nov 2020 11:01:40 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id p4sm8105214wrm.51.2020.11.12.11.01.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:40 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 23/30] drm/rockchip/rockchip_rgb: Consume our own header Date: Thu, 12 Nov 2020 19:00:32 +0000 Message-Id: <20201112190039.2785914-24-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201112190039.2785914-1-lee.jones@linaro.org> References: <20201112190039.2785914-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: David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Sandy Huang , linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/rockchip/rockchip_rgb.c:71:22: warning: no previous prototype for ‘rockchip_rgb_init’ [-Wmissing-prototypes] drivers/gpu/drm/rockchip/rockchip_rgb.c:159:6: warning: no previous prototype for ‘rockchip_rgb_fini’ [-Wmissing-prototypes] Cc: Sandy Huang Cc: "Heiko Stübner" Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-rockchip@lists.infradead.org Signed-off-by: Lee Jones --- drivers/gpu/drm/rockchip/rockchip_rgb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/rockchip/rockchip_rgb.c b/drivers/gpu/drm/rockchip/rockchip_rgb.c index 9a771af5d0c95..c079714477d8a 100644 --- a/drivers/gpu/drm/rockchip/rockchip_rgb.c +++ b/drivers/gpu/drm/rockchip/rockchip_rgb.c @@ -18,6 +18,7 @@ #include "rockchip_drm_drv.h" #include "rockchip_drm_vop.h" +#include "rockchip_rgb.h" #define encoder_to_rgb(c) container_of(c, struct rockchip_rgb, encoder) From patchwork Thu Nov 12 19:00:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324242 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp589456ils; Thu, 12 Nov 2020 11:01:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJwRHCgtAyGqhuadhPgifi++AtsGGpAjAGSiOvbyC1Iamehmi0wy14IR3GRi8f2cSgdRfw2Z X-Received: by 2002:a17:902:9b89:b029:d2:42a6:88f with SMTP id y9-20020a1709029b89b02900d242a6088fmr684307plp.71.1605207707270; Thu, 12 Nov 2020 11:01:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605207707; cv=none; d=google.com; s=arc-20160816; b=Oj9UpcmV39AF5TYkrUCzffkzBeOKiNyUF9Sa0AG3WxYJyv8n/nhTIk//ErG63i1mzk qOa5jo5KfqNbNuTRCAcAUjid3VjQBATt0XRdLQsxF6IsCy3KTrgyYZikjxB6eSfPf4GJ irTjf/yZhl0uYYhKA4kmPmije5j3MEsvv0M8orNDPn72HlWp/jL7WFR9T5JwQyUhrazU ensocB+FQGKRHhcVuy177dduB9Vteo1cpwDvPcy27lih8lkL+C0J5FhllUclRahpvIvY lPz5YUNZR0p5ceM4u1DKdQ2ho9u+KiAh0epbZdrKRAqdAmMrTXtDK9nPYN2G/+jCjlTg ICAw== 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=Y3smD7tfd4dI9mhtJ4OBAEj6KueKuMdc2jcCl3ZnuSA=; b=SXD7q7mLhofPlivv6eJW4lmh2nIwXcvgdcOPYnupMwWDB22WZhVvc5mNEgCsNz5s/e ZMpP+8Ptlc7ZwuiwsQikwGcna4WbtOHMOoI0sQ0sZgIf6NrjtHV/Xwo0iJnkWgsxUFfw pjBvFbDygtmtF3fzLn9Wsh48UWWPgRzaiAQtY/yx36BaTjbmZ04EftixzSB9Ik5N8tix jOBtnZ+YFqayiTrO4F1DseWYYINTLN1LyhJ0Hu2ekCd5o02OI7NCUgUDPgb3HV5mYlCl xP60Bk9McjRnsUNpY9ng0X9vihXO6hvQ66Q/BxgKuD73AB+v3czuM4sHLAMLWUdtE3SB Dxsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=FOMvItAJ; 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 o18si5124224pgu.541.2020.11.12.11.01.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:47 -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=FOMvItAJ; 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 402AF6E3DA; Thu, 12 Nov 2020 19:01:45 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by gabe.freedesktop.org (Postfix) with ESMTPS id 94BD36E3D3 for ; Thu, 12 Nov 2020 19:01:44 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id h2so6229392wmm.0 for ; Thu, 12 Nov 2020 11:01:44 -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=voWmA7JwfKGhDZMYWPZkZRLYOBpcwZ/fXqx90N9cMjo=; b=FOMvItAJ0Md9/XJuA8i3NbOckDk4OyHY1Ktg8z5bTbeyfc0VUbHX3JR6E5RjZjjOLM g8zu3Vbo3kidmyTmmILO+V6dNh/L5YGOcUSc1YNvp0u6MHND/MEYT8en0ADTe0yAmeaC YZHfPlZQ8MWUb2GiOtxikAMibM+p9fBEBBns6wi6v2IyzstBnvQRx7TOhF4T3DOibaMv mxb70HHdB+MFALg6+/9scGOQ2zDf4CkH0FMfqzn2Ihthew/b3VMySshovs1+V2DcsbfZ X5cAZmUaEG175AvGHinOFF6+L+O0UAVoTkh3GpCDODnM47mTc94g2g3YpDVwT0vQlqtf ZRZQ== 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=voWmA7JwfKGhDZMYWPZkZRLYOBpcwZ/fXqx90N9cMjo=; b=HiQlTlXm9xDM8FdqH6WF+4B4w/p7HHf5C4gCs/TcpF+Fs/aTU4tJI8lYTZrGIKBYfc yerGJAUZ6tQTSRS4Ug82M0RW5lqvZJST5taXKSW4lu7SADiKvTJLsQK7ZOU1Ym+P7akK pBjpfnpOwDpyPQ5y1a815zSQdVaoSbSse2pZrsnOqR1z1ioz4wktHnpuX9xbvFKAxtV1 TJQAxcUaIJSHc+laFKJFbFTZT6DvOGO+9mGwGr/zowVBL/sUg90Ny5mtVtbDaVADr2hP BPrJFgVsKyuETR4Rp6JJAjrT6tmI3m1JVz97FiocGnQj6osrrTwNRtoufeqUcZbEIN2D QzCw== X-Gm-Message-State: AOAM531mx3kd7g/xTIOWkNpBj9U9cb1iX5Ud0EyIDbdT3tsPZvWLadol 8lUOBk/PbNvlX3MOLfiNQhCvgA== X-Received: by 2002:a05:600c:2285:: with SMTP id 5mr1047874wmf.149.1605207702385; Thu, 12 Nov 2020 11:01:42 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id p4sm8105214wrm.51.2020.11.12.11.01.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:41 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 24/30] drm/nouveau/nvkm/core/firmware: Fix formatting, provide missing param description Date: Thu, 12 Nov 2020 19:00:33 +0000 Message-Id: <20201112190039.2785914-25-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201112190039.2785914-1-lee.jones@linaro.org> References: <20201112190039.2785914-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: David Airlie , nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Ben Skeggs Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" ... and demote non-conformant kernel-doc header. Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/nvkm/core/firmware.c:71: warning: Function parameter or member 'subdev' not described in 'nvkm_firmware_get' drivers/gpu/drm/nouveau/nvkm/core/firmware.c:71: warning: Function parameter or member 'fwname' not described in 'nvkm_firmware_get' drivers/gpu/drm/nouveau/nvkm/core/firmware.c:71: warning: Function parameter or member 'ver' not described in 'nvkm_firmware_get' drivers/gpu/drm/nouveau/nvkm/core/firmware.c:71: warning: Function parameter or member 'fw' not described in 'nvkm_firmware_get' drivers/gpu/drm/nouveau/nvkm/core/firmware.c:106: warning: Function parameter or member 'fw' not described in 'nvkm_firmware_put' Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: nouveau@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/nouveau/nvkm/core/firmware.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/nouveau/nvkm/core/firmware.c b/drivers/gpu/drm/nouveau/nvkm/core/firmware.c index 8b25367917ca0..ca1f8463cff51 100644 --- a/drivers/gpu/drm/nouveau/nvkm/core/firmware.c +++ b/drivers/gpu/drm/nouveau/nvkm/core/firmware.c @@ -58,9 +58,10 @@ nvkm_firmware_load_blob(const struct nvkm_subdev *subdev, const char *base, /** * nvkm_firmware_get - load firmware from the official nvidia/chip/ directory - * @subdev subdevice that will use that firmware - * @fwname name of firmware file to load - * @fw firmware structure to load to + * @subdev: subdevice that will use that firmware + * @fwname: name of firmware file to load + * @ver: firmware version to load + * @fw: firmware structure to load to * * Use this function to load firmware files in the form nvidia/chip/fwname.bin. * Firmware files released by NVIDIA will always follow this format. @@ -98,7 +99,7 @@ nvkm_firmware_get(const struct nvkm_subdev *subdev, const char *fwname, int ver, return -ENOENT; } -/** +/* * nvkm_firmware_put - release firmware loaded with nvkm_firmware_get */ void From patchwork Thu Nov 12 19:00:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324243 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp589493ils; Thu, 12 Nov 2020 11:01:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJzpRg0ZbjZX/q15Q9E5KnDzCHskIGjYY5FZYzmk3OYxMeRKuNqd2cnuY4oyq3c43P3opivt X-Received: by 2002:a17:902:10e:b029:d8:d11d:9613 with SMTP id 14-20020a170902010eb02900d8d11d9613mr999050plb.26.1605207708855; Thu, 12 Nov 2020 11:01:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605207708; cv=none; d=google.com; s=arc-20160816; b=Ocy+647XuPbDVdW8QTmocc2tYr0ZAzzVahoCVanT1tEsM1EwmazHkmjUSFlfs8T+LB oppgWcXlkTO0XwaGKS203JHEk1O6yHbvRa49uVNwq3hcmS+N5dFalD355qVItsROpgBf P2ym8NITzFmhjfvHXgCHEShn2f+r8oRuIE3+99Br2l9Vlpa8LJugx8gZQcwH6z7MdhPA LKSiBb67A55JDUY/kGa86+cygDvus8oDPdRaQANxLH0/qtM1Xdxblhif3gQ3CK9t8Pc8 OyWiPF7pWl7pL7OhcG+CAGyDgmOwYGgh1hsPcNz3JXeptx/ltA8EvXlYVl3LrOzTdOvH C5BA== 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=TRmlGwd301zfoz4lQh5XVUgwXQW/gZILqODGRDYKigc=; b=LR2tlj+pG73Z4oESwNDXSS1VkxhuGIBhUOVjDvAZSXzna2Ig5+zFSr2sj6GjZIPaQz 9Ukl+W6FWdpRez473fl1B4XMQQ0rW9DPBccBJEobJIcirb3ICFGtBWcMB/huXFQiUx/F wNbv6N7+SCaGcE3pm3FuJsdGrhAyrBIVHUOTAlEMjJaHNFqGiMDK4w7tG6JniqZDdCMf kyJWqzAEsl+IVY2XjT5nQKSqDSqsQclzGAexOFOAvYvmXThpYVgtpw8ni2HUoypS23cK wkdnYP1QCYrNqDLOjETZW9BrTFR1are5F4psb5pnVcTqSA1UTvSbrKJo6gkwg4RDQXaW X9Xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=s4lVN2Hs; 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 j68si6023614pfd.79.2020.11.12.11.01.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:48 -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=s4lVN2Hs; 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 BFD146E3E3; Thu, 12 Nov 2020 19:01:45 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by gabe.freedesktop.org (Postfix) with ESMTPS id E2E1F6E3DA for ; Thu, 12 Nov 2020 19:01:44 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id 10so6195264wml.2 for ; Thu, 12 Nov 2020 11:01:44 -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=+WLjHfl3orvIQYtFk8cWNm313KtEs9zxT+XRuqJ/3Ug=; b=s4lVN2Hsx8GQ3TeqOoSE+KsBPJlUyYD142nagiXHMQJgIDfn1bY4BwRFQBD8Vbl9FQ O1+Z4SJSb0AKtr0z4NL7sqVeIdUmqJgfibxF7FcTPCDjxi72V/cgW+I45MyNR7hyQatY Qq6fLZTJliIXtLc70YQLXh9XCIkxcvBrW28WU+HTtjc9SLVqe0wfSak6HsnGU4+CHXD2 TLxVHbtf1X+A4xTTQUaJmHS+quv06uqVKJCznn0DlN8LHoqBZKvJ05NZTDOTgolMzCmA p7dTjD0sVkTvS3CHvXQSUXtaP5QslSGjSxcJeX6go4uEcgyGTct/hmAMIrOA64HMzKE5 4F9g== 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=+WLjHfl3orvIQYtFk8cWNm313KtEs9zxT+XRuqJ/3Ug=; b=RniRTQftJ9YOSkWeNnjhwMIR8o/wMFzXaFC/q1DbE6qIZZ/Eb49LC3Xh/LZQ22ZrUu Y9vE+EdpBKyutbHaaqVgEg2aKFP6QOc5v3yASCOpPoowYOWGCBijKIhpvyjYZR3u5I4v Px53c6Q4GhZww7xHObsACauluNJ61LgGfX1Jw62NCC1o2GowmxrU8RO+4KErNGPAoQ/h oEgkelQvBhky20elepTOI+Lk4wKYhGotK1dPi9gn+JrW81Hl+0hhJOntl3cPz0TWivue EWC+GzwuIi5HvmJVIqk0ShSvtihR3mqKkF0sw0s8LUHbCJCEjbW1j0jgHkQTqUXJtuQ5 RV2g== X-Gm-Message-State: AOAM533pevGp8TxUe6sHvHTCyjIxkAPP5FzguPD87qjFYFRstcbXLbiU uHWYcqZfjTFY/UAUj7bHUafQRg== X-Received: by 2002:a1c:3d44:: with SMTP id k65mr999880wma.147.1605207703616; Thu, 12 Nov 2020 11:01:43 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id p4sm8105214wrm.51.2020.11.12.11.01.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:42 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 25/30] drm/rockchip/rockchip_lvds: Fix struct document formatting Date: Thu, 12 Nov 2020 19:00:34 +0000 Message-Id: <20201112190039.2785914-26-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201112190039.2785914-1-lee.jones@linaro.org> References: <20201112190039.2785914-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: David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Sandy Huang , linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Mark Yao Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Must start with "struct " Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/rockchip/rockchip_lvds.c:49: warning: cannot understand function prototype: 'struct rockchip_lvds_soc_data ' Cc: Sandy Huang Cc: "Heiko Stübner" Cc: David Airlie Cc: Daniel Vetter Cc: Mark Yao Cc: dri-devel@lists.freedesktop.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-rockchip@lists.infradead.org Signed-off-by: Lee Jones --- drivers/gpu/drm/rockchip/rockchip_lvds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/rockchip/rockchip_lvds.c b/drivers/gpu/drm/rockchip/rockchip_lvds.c index f292c6a6e20fb..8658ef82d937b 100644 --- a/drivers/gpu/drm/rockchip/rockchip_lvds.c +++ b/drivers/gpu/drm/rockchip/rockchip_lvds.c @@ -42,7 +42,7 @@ struct rockchip_lvds; container_of(c, struct rockchip_lvds, encoder) /** - * rockchip_lvds_soc_data - rockchip lvds Soc private data + * struct rockchip_lvds_soc_data - rockchip lvds Soc private data * @probe: LVDS platform probe function * @helper_funcs: LVDS connector helper functions */ From patchwork Thu Nov 12 19:00:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324246 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp589563ils; Thu, 12 Nov 2020 11:01:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJxyCgx9ZrAEIZBcUVuU6/Hlh7q1RsHjATxfAknWrp22qz3Ns2LMgQs3ORgWL3YAJXdAP4Aa X-Received: by 2002:a17:902:9a46:b029:d6:f20a:83e1 with SMTP id x6-20020a1709029a46b02900d6f20a83e1mr973106plv.49.1605207714530; Thu, 12 Nov 2020 11:01:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605207714; cv=none; d=google.com; s=arc-20160816; b=kSxoZkvr7/Tvt40zY5qGc1DXsLo+lwsY7hDMuzUdlBpTuYlOpfa8HgXZ62BBKyEjJP T/ftXnebWgVcogJJApSe6RxU2KDBzZQdQIv2a0xff9CRJ3HePYiD2gg51JmA+oy9P8XU 07aZ2Nuk5mWDdlJb5fI9vg0f8/3Mi/5JS7ecX3R7ElHvgyCDwJXft4FvLPhH/U/iwUrY lWeOzGXxAjBiiiE07UFiNCkf7AWP4lyLsllHTImglELTKZaHLThZ6T2amYtvw5QnZSFk 11dy6y9NOrz3z2itKkowpI4cHMzQl+kxXt+z0ESBThVR2ywT7c6PNkKE/1059+hvHgsx 4YHg== 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=v8epEHGSAyQercXFG6y91v68xqGiy5A/SSVnJ7Dm8Ew=; b=FYnJyLrUv2OJMS6MfgN3aRra+FlBXdaEFVgpA3L8jApKrVxBhzztbHXxRLlRK+g84+ IH3qlsGmO3yT+21JouMyOGah5tPU7ma+pnsB98zKcr0Ad0qTXgmp5U63k4Lxw9P1XeUC ieeS40wmnE7UbWM0D+damQd1QJ9g1X+dqh5Yd1eTHkEotYPRoVwW4jSqjiOK8nR8izPW edrDuhKUOFVS/kX3y1oLSqtVKWYa1BVWf3kLRcvZu7gNf4qlNAJaJ3ZekLdIjCbUaWLY jwzw5KP46ZI4BEMy4dq+4rRRr0cAbV3N2O5Ujd39WXJ/vofD4aZ3MKowBgIRjZSpUpCD 3KBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=tdjaaSua; 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 a12si5646161plm.366.2020.11.12.11.01.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:54 -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=tdjaaSua; 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 9A4626E3EC; Thu, 12 Nov 2020 19:01:51 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id 312C86E3DB for ; Thu, 12 Nov 2020 19:01:47 +0000 (UTC) Received: by mail-wr1-x443.google.com with SMTP id 23so7137184wrc.8 for ; Thu, 12 Nov 2020 11:01:47 -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=rT+IXEU28/HBDiXMRe74AzE+dn3RqXWDXkbUpL6OkoA=; b=tdjaaSuaL8f73OZa6UUsPKJjUCx6w+csHrLMQpSHxNDvRT0Ejajm9RK/ikXe4ea8dn C/+cimXhEn18f0wcUKVz8wQLISeZJJvF09qkXWh1wGcO8CSlYt/wGaz9hbq5+eO3yC0J ISrgyxBrrLlvG0Zi1IUN8NhiomV3/E5bpY2B0kW8VGSpWc21ajrnZkOPKImDEn7Z1PFf PI0VWcHs8iLytYqKhKiNltaxRYoOBUWpHyzt1T2g/OxuD90NDEEZFeJZHDfx7m15cOlj iHUZUr6CEBoTHqDwb7rZvu87Sq+YXAvgT+6ABAgCe+U2ipZP8NEODF8O2we3wWsI9S37 ufag== 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=rT+IXEU28/HBDiXMRe74AzE+dn3RqXWDXkbUpL6OkoA=; b=OVg7e6CNDWYaakF8oncDS7iPC0Qk34VzHvJ20NmePPFzAFB/l/LauJvfb+tVtiPXuj BsVudut3ZTVF/ZHs03aIWsTtUtwV8AHnRs3xpRFx6dThx7Kn487o8/JXpE581/2H8+Lr cMn/SjHTZTRnD3n9nZlmpIbFoU++OUKH+ML7o0mvyErx+5suLuv95FI4/yrI6nifzAI2 sEPkjrtmafD76E2N/y+iF1IInyi6wUqkCTUr8uWMKfeDpHQy/DUTxHzDF5Wfx2EIpNiR 5vYBFz4FtTtU3djW0o45yn0A6A78h/9CdXb/wZjveh9U5atIR2T1tRsjGeXxLIL0YCsG xShQ== X-Gm-Message-State: AOAM531kqMCf5Y7MyFSiO57s7ZEJEL0VpZZ2zTG9lqciGU8bgsO8GTWN TjVVECbPUrMB/zzQ/COh+hALRQ== X-Received: by 2002:adf:f20c:: with SMTP id p12mr1162094wro.27.1605207704885; Thu, 12 Nov 2020 11:01:44 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id p4sm8105214wrm.51.2020.11.12.11.01.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:44 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 26/30] drm/exynos/exynos_drm_gsc: Supply missing description for 'num_limits' Date: Thu, 12 Nov 2020 19:00:35 +0000 Message-Id: <20201112190039.2785914-27-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201112190039.2785914-1-lee.jones@linaro.org> References: <20201112190039.2785914-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: linux-samsung-soc@vger.kernel.org, Eunchul Kim , Joonyoung Shim , David Airlie , Seung-Woo Kim , linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Jinyoung Jeon , Kyungmin Park , dri-devel@lists.freedesktop.org, Sangmin Lee , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/exynos/exynos_drm_gsc.c:129: warning: Function parameter or member 'num_limits' not described in 'gsc_driverdata' Cc: Inki Dae Cc: Joonyoung Shim Cc: Seung-Woo Kim Cc: Kyungmin Park Cc: David Airlie Cc: Daniel Vetter Cc: Krzysztof Kozlowski Cc: Eunchul Kim Cc: Jinyoung Jeon Cc: Sangmin Lee Cc: dri-devel@lists.freedesktop.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-samsung-soc@vger.kernel.org Signed-off-by: Lee Jones --- drivers/gpu/drm/exynos/exynos_drm_gsc.c | 1 + 1 file changed, 1 insertion(+) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/exynos/exynos_drm_gsc.c b/drivers/gpu/drm/exynos/exynos_drm_gsc.c index 45e9aee8366a8..b01f36e76eafd 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_gsc.c +++ b/drivers/gpu/drm/exynos/exynos_drm_gsc.c @@ -118,6 +118,7 @@ struct gsc_context { * struct gsc_driverdata - per device type driver data for init time. * * @limits: picture size limits array + * @num_limits: number of items in the aforementioned array * @clk_names: names of clocks needed by this variant * @num_clocks: the number of clocks needed by this variant */ From patchwork Thu Nov 12 19:00:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324244 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp589532ils; Thu, 12 Nov 2020 11:01:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJyFjRCGmlO1VETIJhgQ6kcZCifzF5d9jmUZdHMFReVGBQcqVqSiXSSOjXLBqs/aNfHAhsGJ X-Received: by 2002:a17:90b:154:: with SMTP id em20mr652713pjb.114.1605207712181; Thu, 12 Nov 2020 11:01:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605207712; cv=none; d=google.com; s=arc-20160816; b=OwG8WBNXm9AVLfCw7qixhX6lOvNSnkvhBZdHEYCsFPiWxUDwrN94qCzeJuzH0pP9nV NBbUBPwwZvesEgpsEOvBfZ4+JyBR8ugyHc4Xt5Va9dawMRDKulXKaBspqF53o3teW/Q6 QcOuSXzDr5Ga4I6CJhAj+V98BVxm5X375Qrwx44lfMGm4hL+AxvTd7qMUDkLHv8mROOe NUyEU4R6FS9voEybf9RwxeBZxjOEpXEtN3QX5es47jYvtXqmHOEis9ouvMTBCvgLhnf4 fqnJfhi6gDvuwXEKgBlu6JZ07/Fp3b6hvvaRXRcIKv8Bg0cTjKDWQt/3/pMK/UMq+Dp1 JMgg== 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=jBznjY80mrNBrmc4hnKhCcnIK+sZ2wwAgYt7t2ns0qI=; b=W7e5OZyEBYaYWwRXU7FM7LtTiXjzCUhIukraP6VhSgEhzLD2JQRTj9Gz9GG4IPurHb YETkCMrFdAXCUIc3wQTF9XRVRFsvSa4QlYA6Dk5PsOi9L8W7kU+MPH72hrFOMzvpN4PL okgymhRQyXXKCmxYteHi8yEtZBh25N6KAaNswuGwZDMG5EupO1welxIrDEV4kWLahtKM 4WO/h0RyXXVNcjiZjxz2HsG0jWBmujR6FfzbIYQIbGHkwuoOGwd9i6uUckkTb16zYaHL xsu2yNWJsmRdZIhWszqUFYD3EuXAeCO87SpuhDHFEJHuHq3VQH847vAqMQcxiboZK6V1 EdIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=HaKWon5e; 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 fr10si5639487pjb.71.2020.11.12.11.01.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:52 -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=HaKWon5e; 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 28DD56E3DB; Thu, 12 Nov 2020 19:01:51 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by gabe.freedesktop.org (Postfix) with ESMTPS id 458876E3EC for ; Thu, 12 Nov 2020 19:01:48 +0000 (UTC) Received: by mail-wr1-x442.google.com with SMTP id d12so7122077wrr.13 for ; Thu, 12 Nov 2020 11:01:48 -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=Ov+hNhD3SKYkmXLxIt4K88IOrbz9wi3prlF4IGflKIA=; b=HaKWon5e27vVoEszYC+8GRccl3aOte+jqCuD5RwYvw6ylRWQd+CrIRkR769NKQET+a NL15ssjcWuHmB4bGvwWQE15yhgjPfNjQZJEkpEWKtwO15LmfdpWSGi2jxoGPtRF3onFR OMCJcskY6WOsWAC3jLRiORkoCCBrebvUO0iccdgpgchRhmHQTRjFTdj4H/hd/tNKfWw8 v9VAvpV5PuEmRGo5WNivCmGd2TWHPU1F5F5qdr/ZVVTKGKkszlMWRp6uJ3j6LV5sF6Ce Y2J8LeF0SlEfnnzIAYZPMXx8e/WQ7QclnjIFWV37iZJi2NtqT8r2WywT4Wf331WLmZOl 9r+w== 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=Ov+hNhD3SKYkmXLxIt4K88IOrbz9wi3prlF4IGflKIA=; b=SOcrVnZb82JdULjMBRq4DssHL6u6gC7/QLGVX4HPj3gemcmYZtDgjtaLy/5NLQQy8t b2jaeq1Vb0FV25XGig5YjyxuK1xtxt7kNH47pOQqkOFFjUwdFIiuONFNn0hagzVtIlJL HCvjhY4oMiKn+8MIMiwKkAGCfHoSIXzWNU2/leYaD+PhXXIfygAyufydUK3TYdFOEcdF cI7Ao/uCLXQjBLwqHca337z5OkJSguK1pHFXKaX/L9EQgBPbrr2lOcq7UL7Q6WAxdvZ8 YfgJ1FT8898v7p7iyIrg53u1j6N8Z0GFrbCR6wyb8rM24S6dsdWwuTNKP6Wyh1qJTsu+ kK+A== X-Gm-Message-State: AOAM530imDFAKdqKrnwLL1jDV6ZKgd94ZnmCjzibpSz5w3qmA2/69b9e XVqu9O8HnCECivWkbdKLltVcWQ== X-Received: by 2002:adf:d4c6:: with SMTP id w6mr1152395wrk.71.1605207706981; Thu, 12 Nov 2020 11:01:46 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id p4sm8105214wrm.51.2020.11.12.11.01.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:46 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 27/30] drm/sti/sti_hdmi: Move 'colorspace_mode_names' array to where its used Date: Thu, 12 Nov 2020 19:00:36 +0000 Message-Id: <20201112190039.2785914-28-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201112190039.2785914-1-lee.jones@linaro.org> References: <20201112190039.2785914-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: David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Vincent Abriou Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/sti/sti_hdmi.h:36:40: warning: ‘colorspace_mode_names’ defined but not used [-Wunused-const-variable=] 36 | static const struct drm_prop_enum_list colorspace_mode_names[] = { | ^~~~~~~~~~~~~~~~~~~~~ Cc: Benjamin Gaignard Cc: Vincent Abriou Cc: David Airlie Cc: Daniel Vetter Cc: Philipp Zabel Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/sti/sti_hdmi.c | 6 ++++++ drivers/gpu/drm/sti/sti_hdmi.h | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/sti/sti_hdmi.c b/drivers/gpu/drm/sti/sti_hdmi.c index 38a558768e531..f3ace11209dd7 100644 --- a/drivers/gpu/drm/sti/sti_hdmi.c +++ b/drivers/gpu/drm/sti/sti_hdmi.c @@ -167,6 +167,12 @@ struct sti_hdmi_connector { #define to_sti_hdmi_connector(x) \ container_of(x, struct sti_hdmi_connector, drm_connector) +static const struct drm_prop_enum_list colorspace_mode_names[] = { + { HDMI_COLORSPACE_RGB, "rgb" }, + { HDMI_COLORSPACE_YUV422, "yuv422" }, + { HDMI_COLORSPACE_YUV444, "yuv444" }, +}; + u32 hdmi_read(struct sti_hdmi *hdmi, int offset) { return readl(hdmi->regs + offset); diff --git a/drivers/gpu/drm/sti/sti_hdmi.h b/drivers/gpu/drm/sti/sti_hdmi.h index 1f6dc90b5d83a..05b2f3d0d48d3 100644 --- a/drivers/gpu/drm/sti/sti_hdmi.h +++ b/drivers/gpu/drm/sti/sti_hdmi.h @@ -33,12 +33,6 @@ struct hdmi_audio_params { struct hdmi_audio_infoframe cea; }; -static const struct drm_prop_enum_list colorspace_mode_names[] = { - { HDMI_COLORSPACE_RGB, "rgb" }, - { HDMI_COLORSPACE_YUV422, "yuv422" }, - { HDMI_COLORSPACE_YUV444, "yuv444" }, -}; - #define DEFAULT_COLORSPACE_MODE HDMI_COLORSPACE_RGB /** From patchwork Thu Nov 12 19:00:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324245 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp589580ils; Thu, 12 Nov 2020 11:01:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJzX2L4bTXq4abn+Nw6+J1pmrNHGvrT/XlifUcxKSywq9Vb9oRRkzYdyRBYV3XM1z9e779hB X-Received: by 2002:aa7:8c55:0:b029:18c:45ed:d87e with SMTP id e21-20020aa78c550000b029018c45edd87emr829808pfd.76.1605207715261; Thu, 12 Nov 2020 11:01:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605207715; cv=none; d=google.com; s=arc-20160816; b=yWvTqE1BrazOWbyQeNVjKew/xEc081BbMkSFDfuT6Tx+bbBHGcV+pWSWD56Rk/NOtL 1uMFWJO7w8VQowIFXzbg3El7QnZIEd3m5PSX2BCkuYHDMl0DjK/cZt+mXZbQuz2L9rTG YQjupxy80042O/8kcDKXWWZYvv6+fa8qtZwUf9Y7GOCkJXaLKXWJajCZvhOZptJHCnj4 +um+hCTvGPDygr7nUZih6Pjk2DV7QAaQd96E/d4PxjmhGCCYHwDqpY3tmAZ4Me8rNym+ n/KVXIR894iNC8cuq4GjCb7YSlz6bqRP8CEVyr+yy7g9FTv/8pKqWkZkTvmbkPcDnyde hBLw== 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=nEHPxho/GIPF1HhXXgFWeUA3y/mbdUFDt5eFGZaJfrw=; b=TdPiEYoN44tfiiw2z58TbjoDBsUC1w8lfIvuLIfU+lWUoFlP5axokqChbqianykbMy hsLaxNXwOPbxUnwiG+wgLpyKn0R+948+xaMbRvgXYB8YwDIIukkoQETNosCpnxvRaCe9 7UEcyz8CvDi3hmn7qPXMOf0BRoNLLSYkSBV6EBSuIdSW+DmhV9Qh2bIxLTYxWfs521+O l+Yo3osBJWUQcyQn+osww8VY2tWdd+zu+8/mzPULsSJnHk1szzpUkUC9HO2yMD+6pa8W mNyFKGFwLVWxxREf2u1YawlAQcun7ceK5JStu2p0cja6cD/n25hKdWhhcfWr5kPUV5Lz 6CPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Kn2ivuqg; 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 w16si5742365pgi.19.2020.11.12.11.01.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:55 -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=Kn2ivuqg; 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 E7DBF6E3EE; Thu, 12 Nov 2020 19:01:51 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id D4E156E3E5 for ; Thu, 12 Nov 2020 19:01:49 +0000 (UTC) Received: by mail-wr1-x443.google.com with SMTP id k2so7185598wrx.2 for ; Thu, 12 Nov 2020 11:01:49 -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=E894eMua3BcyVtBQpbTegYEGiTjlkwuli5uk69Q3IOw=; b=Kn2ivuqgAsK52Jio64tgCg5gEc3heO8c9beyz/bqFQbf5NkBPLY0+mhmwCJ6UNpA3P J4x/Rd3GXHQO/a/7YTp80S3ElfDEZFctAwN1fZKTPz8totTDUrGBrl8p88E9wBEhi+Vj 2zmyC3n++XMwoLh/RL82lSqhrY7fWGLb6m98Nsc77uAzHP7z86dDHPaXrtRzpLI/SHXV fVu3eXDW/AUtoktCjuFoknQPCENGgeS9pTL1Nr/1cP8B8IeH4pRObv232EktleSaFXGo GYsnK3HMSXR5k+Gcc5sO0FRKxjZa7Lc2K5sSnN+o7DNgZBGnfLxH4JM1NTZ/nwQxlHgY 2eJg== 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=E894eMua3BcyVtBQpbTegYEGiTjlkwuli5uk69Q3IOw=; b=PBbt+mxN4jZSxlVyYTyzaaWqH4qgnCiFxqlB5DY/gZX1UIq6PpPJcFWY0zFq09y4Y2 UB4id8V/bJOSeZYfmc9NtGXajNudwWk0pcm/DjTr59aJlyMU+f3oUql1JPD8fZJIqFIW naAKMC5FRAe5OuO175EMAud/an7rNrpQbZ28t/cNNkGiZZURId8NcrnGYhbBc1VmyzEK fvGud6osLBhGJjiC/a/nXwJ4ZPpB1WpcnpfjIZdwMq4xTgCnQ4UEWdPQAzl6tOWZoLrF +RafuSoUzeBO4kWVrw1ncCIcYu59Xm8XsZ3geOyokorni3S24tar8NVdlwWHrOrI6g6w 3Wiw== X-Gm-Message-State: AOAM531j1vhzyBMnsGhN9ftHtihsfxtRY/+adLxv3RP4Y0mQpVKkCwbs ZKJORUNNynHW0vAxLqQQqBQ2C8oYKOCxo1iX X-Received: by 2002:a5d:6286:: with SMTP id k6mr1118692wru.216.1605207708584; Thu, 12 Nov 2020 11:01:48 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id p4sm8105214wrm.51.2020.11.12.11.01.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:47 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 28/30] drm/mediatek/mtk_disp_color: Fix formatting and provide missing member description Date: Thu, 12 Nov 2020 19:00:37 +0000 Message-Id: <20201112190039.2785914-29-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201112190039.2785914-1-lee.jones@linaro.org> References: <20201112190039.2785914-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: Chun-Kuang Hu , David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, Matthias Brugger , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/mediatek/mtk_disp_color.c:40: warning: Function parameter or member 'ddp_comp' not described in 'mtk_disp_color' drivers/gpu/drm/mediatek/mtk_disp_color.c:40: warning: Function parameter or member 'crtc' not described in 'mtk_disp_color' drivers/gpu/drm/mediatek/mtk_disp_color.c:40: warning: Function parameter or member 'data' not described in 'mtk_disp_color' Cc: Chun-Kuang Hu Cc: Philipp Zabel Cc: David Airlie Cc: Daniel Vetter Cc: Matthias Brugger Cc: dri-devel@lists.freedesktop.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-mediatek@lists.infradead.org Signed-off-by: Lee Jones --- drivers/gpu/drm/mediatek/mtk_disp_color.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/mediatek/mtk_disp_color.c b/drivers/gpu/drm/mediatek/mtk_disp_color.c index 3ae9c810845bb..a788ff95ed6e4 100644 --- a/drivers/gpu/drm/mediatek/mtk_disp_color.c +++ b/drivers/gpu/drm/mediatek/mtk_disp_color.c @@ -30,8 +30,9 @@ struct mtk_disp_color_data { /** * struct mtk_disp_color - DISP_COLOR driver structure - * @ddp_comp - structure containing type enum and hardware resources - * @crtc - associated crtc to report irq events to + * @ddp_comp: structure containing type enum and hardware resources + * @crtc: associated crtc to report irq events to + * @data: platform colour driver data */ struct mtk_disp_color { struct mtk_ddp_comp ddp_comp; From patchwork Thu Nov 12 19:00:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324247 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp589594ils; Thu, 12 Nov 2020 11:01:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJyFW+vG/Ael0z/17+58lmTh6EwGNph+5qlDv6wQTcdE0F9VQWhhNzsWusfGDvfEJq6iVxtX X-Received: by 2002:a17:902:6b46:b029:d6:e5c6:b3bc with SMTP id g6-20020a1709026b46b02900d6e5c6b3bcmr728363plt.64.1605207716609; Thu, 12 Nov 2020 11:01:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605207716; cv=none; d=google.com; s=arc-20160816; b=QnpaYXjdjckMhAYMoPWaiHsQst4yygutQcbopZAMn/Xv7GJDcrNrkYw05JBqPZgNke SlmC7pwD9b0GuwQjhf2W/HVsS/QO5JLSAqJIpEaaGZCc4o2zic0OB4fy9+wOgvhczhGR 6G5ZPLrWFb2/JQa7d5Ux8tkq7ZoRFyiAUjNZZ2TgGk2aXKOfcgt8H+ygYL9nyfbZ5BCQ tzdLGcwLsp3vJ1BIuuTlWeRJgMoMu9xd/27CMDmhXfxUiRA3RQJsVdJgTb8TjYPod8AD WKsqaP9yU730y3EjuZnM91ZTLJ0Ma7ygdG+pw0Xqa3IVnHG/quiCubER0Ilg8DsX5C/t QWOQ== 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=6GIJ76lXjnHZWyQ1Y6C01DqAolf6SVEik4QNgXyIhgg=; b=ThKb+92j1u06zFfcszSSAHobirFLBNbfleMFxyokfpKwU1rBdFvyXTtMx+qqSaFTTo HE/kX6OPIGDoUslHO9vp95FkV/vXPctAHIEosgAWntNCeinhLpjd3b7Bwim+xz+9cmG5 A3YILC2Z6hTqYdvt4CH8UTOlHaQWPf0hvzIUfQIBisF3sRgkdFwy4mfrzYIawYoRproa YTvcWEn+bbdaRf7ntyToMcmtLzJ1xOJ86d7tLxO0+kuN2K/Wvw7Y4/AWXkpnl6ZBM3bL UopFnMdQST1G8Icxi8Gm3MQJzbHMgaaNnuuAOONgb1seNTH5fupLyD107FOp0ZiOtW2w sz8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=vq4ZP2TV; 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 be3si5522656plb.73.2020.11.12.11.01.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:56 -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=vq4ZP2TV; 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 65CFB6E3E5; Thu, 12 Nov 2020 19:01:52 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2D9506E3E5 for ; Thu, 12 Nov 2020 19:01:51 +0000 (UTC) Received: by mail-wr1-x441.google.com with SMTP id p1so7128568wrf.12 for ; Thu, 12 Nov 2020 11:01:51 -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=LK83PtW9bWg13v6GeG4X98Td032TuGFWFjyFs29+ymI=; b=vq4ZP2TVmSqBWCOE1Wu+ytkEKp2xRQfUssN2R6DGgz8tFeRWOgvoEvdWsZE8eSlmzX T7oLXH66Lae/Qr3uAOim8byoaRyb2q3k1zhgoit1n1huKS46ig4/cKUNdvroiUKa/I6u 8RlUhEltZ4fv7QkMnn8qg5Et2eUaCE5zH1UHNRevW64lB/xOIJYt63WmEwYZi//AB+2V 8sRr68YKSZyT5rl6FSfWtakQZ2iKFLJCyzXGyqBj4oUEsvSCHlMgnamLIx/7sEwt23rj WvRMy83ztza+CoIFdi9oVXtjeaJuN//QojE3MCEUeE7da8G4FVpucVGnWk3KSi0H8l0q TJQg== 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=LK83PtW9bWg13v6GeG4X98Td032TuGFWFjyFs29+ymI=; b=oREEWCBdlCK+LvknH0odffpS1dDuZxU/t4kk7xQng+0Zb+KzTazzBplhTnCQAgvV76 pmvhdpjp+PT9mT+BnO5m03d7ADi/sHi0f39sj5gjkZq87149/fRu+Jy+dcQbab8JFjO5 recOYkcfNqNjxO9TkU8BLz0fi2Edp78IYQBdk780fy8FEgTn6F3AzQRm377zUdfhzKKa OgHaMndyjusYUswWexqORCWs2KxexVZvefl8SIdHgcfOCP9LqKxFXkpX/ADkh+Zzi2uT v+jjEKoDR2Mmli1HJdlpKm18hj9Gi3mR4Us/rRlH5I94Rd+BFZQ9/BXlegZCNMzN7NcM R4xA== X-Gm-Message-State: AOAM531UKO81W+gufsplAC+1BLJpHtAI7yV8uk/n/+FXjEIMLhvVQY4j cGt90hOKvNkiExmExYUG+GuOPw== X-Received: by 2002:a5d:514a:: with SMTP id u10mr1112855wrt.312.1605207709781; Thu, 12 Nov 2020 11:01:49 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id p4sm8105214wrm.51.2020.11.12.11.01.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:49 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 29/30] drm/amd/amdgpu/atombios_encoders: Remove set but unused variable 'backlight_level' Date: Thu, 12 Nov 2020 19:00:38 +0000 Message-Id: <20201112190039.2785914-30-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201112190039.2785914-1-lee.jones@linaro.org> References: <20201112190039.2785914-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: David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, Luben Tuikov , 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/atombios_encoders.c: In function ‘amdgpu_atombios_encoder_init_backlight’: drivers/gpu/drm/amd/amdgpu/atombios_encoders.c:174:5: warning: variable ‘backlight_level’ set but not used [-Wunused-but-set-variable] Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Luben Tuikov Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/atombios_encoders.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/atombios_encoders.c b/drivers/gpu/drm/amd/amdgpu/atombios_encoders.c index fa817ebff9804..af87505ad7d57 100644 --- a/drivers/gpu/drm/amd/amdgpu/atombios_encoders.c +++ b/drivers/gpu/drm/amd/amdgpu/atombios_encoders.c @@ -171,7 +171,6 @@ void amdgpu_atombios_encoder_init_backlight(struct amdgpu_encoder *amdgpu_encode struct backlight_properties props; struct amdgpu_backlight_privdata *pdata; struct amdgpu_encoder_atom_dig *dig; - u8 backlight_level; char bl_name[16]; /* Mac laptops with multiple GPUs use the gmux driver for backlight @@ -207,7 +206,7 @@ void amdgpu_atombios_encoder_init_backlight(struct amdgpu_encoder *amdgpu_encode pdata->encoder = amdgpu_encoder; - backlight_level = amdgpu_atombios_encoder_get_backlight_level_from_reg(adev); + amdgpu_atombios_encoder_get_backlight_level_from_reg(adev); dig = amdgpu_encoder->enc_priv; dig->bl_dev = bd; From patchwork Thu Nov 12 19:00:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324248 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp589631ils; Thu, 12 Nov 2020 11:01:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJys5yI1K5kOAs5BErcarLt1+lkMfqXdPICeIn8UDqvD0wGlxrSKMvPfsA1nT9lcL+uhsQ5K X-Received: by 2002:a62:7781:0:b029:18b:5c31:5c27 with SMTP id s123-20020a6277810000b029018b5c315c27mr842721pfc.70.1605207718961; Thu, 12 Nov 2020 11:01:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605207718; cv=none; d=google.com; s=arc-20160816; b=agqNiVgiNClYEyVbOtw9lWABXe+u+cAUCtJ5+/MCgZwWWJpRc8NpNUzAwaczFQ4Ycu 6SjfVH6b5p6zxOwHBbB1eeY7ZQW59GOmgmKye5CXU5ISPD0DThYseDzec0qx9lSUgPiL aLYhpRtS9/Px1Idhm/IkE1m5WqE9gXtkR31ZisVgwTWz1f9vVZvI+R+7IesW10gBZLiO cBWlLP5htEqBjuDIHTInm+NyKE9/c/GPl1N4d6Sads+tpBaE9gvRJ+bTRp1oMz8IxrTY RhILfRpKHl/yosqpxOjg05lukjuFi6Iym2xYOixttnVbSEApNffZhnF/2fGPjUKziy0c 3bgQ== 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=tenJLaxFX6QAGGOyyeSVGuR3Y6AsSxp7yLXZ9ARj2Ls=; b=kuP4vRa08jtsUiUeCBSFAk2+2eXj1ypxjKWe7GTw85SuR3JmxwlQ7aygvyjhkSpfnM jCPjNRgsdPinVlVFawVtfii9aq605dIJhWVVpwK/cOU1eLf5k3zMKz5NhelHS6egZ0Sh C9vgkxN1ugodBXkFoyTMcQx8wLbVSsBIPYl84LKIDQRyTnBZxTB/FD1yG/3pDzBwIEIC IPEpqmi6lj/oruzXeBZOyLK6R39ex674zWsloT0ZLGX/S3lxRtctyERiy6wJav0RAg/u UvhBNA+Wt37Pdzgr1AXuqrOGxQQAiF0LttMQGiy96OLAk/ltXNTSm75RvlLM1mFFhA6a pP6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=FLer8tlT; 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 x20si5352025plm.34.2020.11.12.11.01.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:58 -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=FLer8tlT; 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 B33C66E3F0; Thu, 12 Nov 2020 19:01:57 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by gabe.freedesktop.org (Postfix) with ESMTPS id 642EF6E3EB for ; Thu, 12 Nov 2020 19:01:54 +0000 (UTC) Received: by mail-wm1-x342.google.com with SMTP id c16so6438765wmd.2 for ; Thu, 12 Nov 2020 11:01:54 -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=lV20qvkcXuKJ/8kdoQy2xSMx6pSot2KZYylCMdc97vk=; b=FLer8tlTJpW9/03wMweKDBS55avbIBPNMLVtPNnoxD4MVGnFei7f6YAUPIu9J2n2Gg +Pdyq75fTNEUeCBTcdXceFn0HzcUeXJxghFUDF6I7M4qx6yCAdYvds2tB5Np4BBOv2cI t8jYVNyEU0qnCvxYIhyWwRsHymc31CJa6rbyWGWmd4psXhR2pAvKq9sYOjLn5yYqxv0Q IdoP1C1LJvHsCcTkD6WmAjsOOSxxFTPTxeo627RMfQDiMpAu/4GwmOBwcNLcpStOKMqY Hwtv55Vxa1wzZdsOhTxilW8KPfa0IwU7MpU2MuMucnSHkdEn5I0AxGoJ+GAbffpCBMJI tpbA== 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=lV20qvkcXuKJ/8kdoQy2xSMx6pSot2KZYylCMdc97vk=; b=hQ4kALj1RFT65er7t+8pDznr7V0dsDu7eeQAEyFrxwBBd7B5SkEwy2tzzUhgPDcCrK l9a6wGRExfZFevifi6RbFAcLflOZL1qCEbMcAm2DE/M9HuHj3Ih2UwG8ZqpgWXgDLWeM IX53pDdhTstRjWSOr3TMVktKq7fe0b4ehXSxcDQZRFCM+4WFym/zCyCN9t8b+4jrPL7L MRxglj4/UzFyKRRCbnmIIY/IOEJ8d3m1gRXbdNVbRoZlDFYyL/FHlKKZc/tQua9nLtUr AEDd4X/1/IkIGDlzSvFW81iCeWK8M7ymqOgWLUSf406oMLeW2S7Sxp/hc7ihMa3gfEzV c73g== X-Gm-Message-State: AOAM531hWuIMGz/S16jvxKFlR9N3LdbHu6OgIRGiDqSshWkvPcd4mw5s 0ylaRa9Vnxxoe7H4P3mQTt+K2g== X-Received: by 2002:a7b:cf05:: with SMTP id l5mr1029949wmg.81.1605207711389; Thu, 12 Nov 2020 11:01:51 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id p4sm8105214wrm.51.2020.11.12.11.01.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Nov 2020 11:01:50 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 30/30] drm/mediatek/mtk_disp_ovl: Fix formatting and provide missing member description Date: Thu, 12 Nov 2020 19:00:39 +0000 Message-Id: <20201112190039.2785914-31-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201112190039.2785914-1-lee.jones@linaro.org> References: <20201112190039.2785914-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: Chun-Kuang Hu , David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, Matthias Brugger , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/mediatek/mtk_disp_ovl.c:75: warning: Function parameter or member 'ddp_comp' not described in 'mtk_disp_ovl' drivers/gpu/drm/mediatek/mtk_disp_ovl.c:75: warning: Function parameter or member 'crtc' not described in 'mtk_disp_ovl' drivers/gpu/drm/mediatek/mtk_disp_ovl.c:75: warning: Function parameter or member 'data' not described in 'mtk_disp_ovl' Cc: Chun-Kuang Hu Cc: Philipp Zabel Cc: David Airlie Cc: Daniel Vetter Cc: Matthias Brugger Cc: dri-devel@lists.freedesktop.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-mediatek@lists.infradead.org Signed-off-by: Lee Jones --- drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/mediatek/mtk_disp_ovl.c b/drivers/gpu/drm/mediatek/mtk_disp_ovl.c index 28651bc579bc9..74ef6fc0528b6 100644 --- a/drivers/gpu/drm/mediatek/mtk_disp_ovl.c +++ b/drivers/gpu/drm/mediatek/mtk_disp_ovl.c @@ -65,8 +65,9 @@ struct mtk_disp_ovl_data { /** * struct mtk_disp_ovl - DISP_OVL driver structure - * @ddp_comp - structure containing type enum and hardware resources - * @crtc - associated crtc to report vblank events to + * @ddp_comp: structure containing type enum and hardware resources + * @crtc: associated crtc to report vblank events to + * @data: platform data */ struct mtk_disp_ovl { struct mtk_ddp_comp ddp_comp;