Received: by 2002:a05:7412:1703:b0:e2:908c:2ebd with SMTP id dm3csp166833rdb; Thu, 24 Aug 2023 02:23:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEO2FBBRK8+Vmz1errKcN1p4DG58RSOVQ19JLLugnYBvHwLMriEXUKsmowiUs9gn0Ff7pam X-Received: by 2002:a05:620a:4308:b0:76c:c3e4:208e with SMTP id u8-20020a05620a430800b0076cc3e4208emr17407457qko.10.1692868998251; Thu, 24 Aug 2023 02:23:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692868998; cv=none; d=google.com; s=arc-20160816; b=qiigEK1T1fwz0gcAQYqKgMEUKc9VTsNmzw9G6Jsml8DYCiv/loAPrJDneZUsZVeJZo kDy22cCcadAwaMgXLzcM0UCM72bh8tgW37bXJJ0EN6/HEI39xd4P3/bCJRL1alweb/ck fpMwJGlwa9sI25Li6LEKj9XbGWrvwI5jwehqoWNgEVtkkalFs9eA02GZE3/13TKowlE5 oY3Msll85Yy+RMx+XEgs3t1368fO1v4/yjpzVsq7xxQ6ns5gjbeZac2s7qRnZTTrD5X7 Y5TWJaBlGC2r2W6zNdYpwloezqIxuM5+ReCRdOWlpDLVcOIXB8zeM1UYdFn2FQBfxGb8 BjYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=BlWXFxyD234VNKF+WG0OpMdTXX0Cl4PBtocvCX2M7JY=; fh=p4V5wq0ZQ7E4kCB3obzHzpsM26URv8wnXNOAiiqFmSI=; b=EFznogt6lZX+oce/D6aMwOSa8ckE9dZZmxmkKoV2g2vQnhwRoZqN0eMuF1diH4+z8+ 8EVPiRGS1FpQgOHXVKkQIEKRng8wqf/1nWCcq+G3Xxmfn5ifUIwVGtu+/7sT7mz+CJ2Z 1k2RE9q7TDHzg7vABOcUPfhbSZrTwGUgqyFWjXdiji9pLbrr3zZlosz/6Z9LtQiuEAgt yCorHP1SB+OcfqMYVfyB1EX/OpUXyzD7rYH3Tql+65pMmmPsxY78aCbwFrQumk0BIfgk CJAxH1BGlxXoHoDTjaLhDnUqqf3q+AjhlXgAMIQFPrMz6uLGarvImSNXwGHYi5/luGCT 7BYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LMwWtL3r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id om2-20020a17090b3a8200b00262ef440ed4si1753886pjb.27.2023.08.24.02.23.06; Thu, 24 Aug 2023 02:23:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LMwWtL3r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240516AbjHXHip (ORCPT + 99 others); Thu, 24 Aug 2023 03:38:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240420AbjHXHiN (ORCPT ); Thu, 24 Aug 2023 03:38:13 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7E7810F7 for ; Thu, 24 Aug 2023 00:38:11 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 82A1465936 for ; Thu, 24 Aug 2023 07:38:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DBFE5C433C8; Thu, 24 Aug 2023 07:38:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692862691; bh=yLSSSBHYD8WZeL0Wfaq/t90nMXiRlFnq7zlyLNlax8U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LMwWtL3rVjYSTgwJ1CI0v1o/Q48mMwbRMOlcDYwq+A+OS+R5v+eaFm+4HqPX1uOJC gEas7dKEasmD1CfTvMY/YVSpCQK2Hq+jpszRL2zJ/84p8ikOahpk0/oRlilDY59sIt TVBE1sKHZF+r5UGdG4k3EUgcqNYn2/K4DiXZfRWDNT0CkF/2wxgfvOlJvlbklxoC0G as99N1n4vmCf5pPfskYATjzCpN1aHB30TkDase584bKcopT2ziVrT9AxueUBAhpUzi 0ERnmGyM2YL0mMown++64XtrIKXoW2Gv8o6Z0j+wifwPuX1yA7raQd8FFsaCU10uqy 8Y2pcg+zymOfg== From: Lee Jones To: lee@kernel.org Cc: linux-kernel@vger.kernel.org, Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org Subject: [PATCH 16/20] drm/drm_connector: Provide short description of param 'supported_colorspaces' Date: Thu, 24 Aug 2023 08:37:01 +0100 Message-ID: <20230824073710.2677348-17-lee@kernel.org> X-Mailer: git-send-email 2.42.0.rc1.204.g551eb34607-goog In-Reply-To: <20230824073710.2677348-1-lee@kernel.org> References: <20230824073710.2677348-1-lee@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/drm_connector.c:2215: warning: Function parameter or member 'supported_colorspaces' not described in 'drm_mode_create_hdmi_colorspace_property' drivers/gpu/drm/drm_connector.c:2239: warning: Function parameter or member 'supported_colorspaces' not described in 'drm_mode_create_dp_colorspace_property' Signed-off-by: Lee Jones --- Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Thomas Zimmermann Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/drm_connector.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/drm_connector.c b/drivers/gpu/drm/drm_connector.c index bf8371dc2a612..c44d5bcf12847 100644 --- a/drivers/gpu/drm/drm_connector.c +++ b/drivers/gpu/drm/drm_connector.c @@ -2203,6 +2203,7 @@ static int drm_mode_create_colorspace_property(struct drm_connector *connector, /** * drm_mode_create_hdmi_colorspace_property - create hdmi colorspace property * @connector: connector to create the Colorspace property on. + * @supported_colorspaces: bitmap of supported color spaces * * Called by a driver the first time it's needed, must be attached to desired * HDMI connectors. @@ -2227,6 +2228,7 @@ EXPORT_SYMBOL(drm_mode_create_hdmi_colorspace_property); /** * drm_mode_create_dp_colorspace_property - create dp colorspace property * @connector: connector to create the Colorspace property on. + * @supported_colorspaces: bitmap of supported color spaces * * Called by a driver the first time it's needed, must be attached to desired * DP connectors. -- 2.42.0.rc1.204.g551eb34607-goog