From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7EFF2EE57CD for ; Sat, 9 Sep 2023 23:39:31 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3FD7210E0AE; Sat, 9 Sep 2023 23:39:19 +0000 (UTC) Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7F4C010E264 for ; Sat, 9 Sep 2023 11:04:50 +0000 (UTC) Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-1c0ecb9a075so21878505ad.2 for ; Sat, 09 Sep 2023 04:04:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694257490; x=1694862290; darn=lists.freedesktop.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=hhJX5VWHXXtciuS9BkKk5zfmvkcSaBWZ/aSQRFscuJA=; b=InvNRkjWYQG1PKObzgGmB4a0Eny2XPqoEoFsrGWYhNxklPnYsjBlnjqdSznTgWkZLW 7M+Q+0KfBNxhATxBzHI14TNL5by0R7fJuW64beiU3NmUjnYoFaPQEb2N6V4/JC6DVQVy 6q8IgmfJRdY4bbvtxCygAm9uwiYj4GiY6qKVFMF5X1ls72OV4ssA4s+KgJtNttyO2Nak rn/g2nVOzroFxPwBL/SeJJjo2zj45m4IRPihvCHuukTsw4aemMJwDr5bGFqZu4Dqsj80 gC2UF5kVWQh9kSH72MjgxzEDSr2H9/DvNOFpOzbGIgbdprltkVsU3O8KgrkSinFHX1Ha pOhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694257490; x=1694862290; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hhJX5VWHXXtciuS9BkKk5zfmvkcSaBWZ/aSQRFscuJA=; b=kM9jqyR4o1mSiRZaAo7FEj8we2pgpmrnBdrdTfwDngdJA7cJaS6tGWsZZh8VKdg9vU wM6zCPtEoDS/9ZAoeQDCqzjPmee5GhYVYRbFm0wVsR15qS0yn+DJjTUEr+jGjykfuR0F NWFos/U//mEZMh3CXyUJ8ePGWosisxF4oKyRMBoZil31fKpy3+k/tJjinlAn+KftxtPa YWFQFeFGkhjlbwhXA6rSaBC6otpV+qPKHcHPM63Vg5XCMfdF8hb+sSr2TRhyNEGx6L+j jcNOKendUZrG6aiVSWI8gu/v1wcn7Y3jdEO48ns4A1Y9kwLE7K1E/aBKFxVgmDHJLBnr t15A== X-Gm-Message-State: AOJu0YxuSsJ3MSxgG2iJKknvpFTIlt+17vD6PK+cZe/3ZX0D9xbmVwCy QomFX82fXF98Q8zYUIFwW40= X-Google-Smtp-Source: AGHT+IGMiGpjKR5+4BJIqy4f/HlylX0MSMIi2+xFdaiFsk2sdaUrzTeLkVocsGY1gIjqCETBTBv8TQ== X-Received: by 2002:a17:902:7489:b0:1bb:25bd:d09c with SMTP id h9-20020a170902748900b001bb25bdd09cmr4498991pll.1.1694257489858; Sat, 09 Sep 2023 04:04:49 -0700 (PDT) Received: from brag-vm.localdomain ([27.4.106.123]) by smtp.gmail.com with ESMTPSA id j9-20020a170902da8900b001bbbbda70ccsm3017206plx.158.2023.09.09.04.04.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Sep 2023 04:04:49 -0700 (PDT) From: Bragatheswaran Manickavel To: maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, daniel@ffwll.ch Subject: [PATCH] drm: fix doc warnings related to drm connector Date: Sat, 9 Sep 2023 16:33:43 +0530 Message-Id: <20230909110343.8103-1-bragathemanick0908@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Sat, 09 Sep 2023 23:39:17 +0000 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-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Bragatheswaran Manickavel Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Addressing drm dp/hdmi connector related kernel documentation warning and add more information about these values. Signed-off-by: Bragatheswaran Manickavel --- drivers/gpu/drm/drm_connector.c | 2 ++ include/drm/drm_connector.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/drivers/gpu/drm/drm_connector.c b/drivers/gpu/drm/drm_connector.c index bf8371dc2a61..084c95785dda 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: to get hdmi supported colorspaces. * * 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: to get dp supported colorspaces. * * Called by a driver the first time it's needed, must be attached to desired * DP connectors. diff --git a/include/drm/drm_connector.h b/include/drm/drm_connector.h index d300fde6c1a4..556d66dd122c 100644 --- a/include/drm/drm_connector.h +++ b/include/drm/drm_connector.h @@ -498,6 +498,8 @@ enum drm_privacy_screen_status { * ITU-R BT.601 colorimetry format * The DP spec does not say whether this is the 525 or the 625 * line version. + * @DRM_MODE_COLORIMETRY_COUNT: + * Represents the count of colorspaces. */ enum drm_colorspace { /* For Default case, driver will set the colorspace */ -- 2.34.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 116D2EEB587 for ; Sat, 9 Sep 2023 11:04:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344811AbjIILE4 (ORCPT ); Sat, 9 Sep 2023 07:04:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237575AbjIILEy (ORCPT ); Sat, 9 Sep 2023 07:04:54 -0400 Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B5F1CED for ; Sat, 9 Sep 2023 04:04:50 -0700 (PDT) Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-1c0ecb9a075so21878515ad.2 for ; Sat, 09 Sep 2023 04:04:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694257490; x=1694862290; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=hhJX5VWHXXtciuS9BkKk5zfmvkcSaBWZ/aSQRFscuJA=; b=s11GDNinn8phXfcPhsh/p6j0iF7jan8biJtSs07PbHWtz6qZvNw+bjDAVsthGGedAC yiVm+9KyxTHwWbYFgGfGJzVX0GPMOALOeaFEFeKZ4O14viP7PmbsS1HzHBY+3kRC9SHp YV0gWFkHveVDmEnb+48nPL8VZDbujEXMI63Dthy2eWFL38uVwbCqWrFSVjP23kGCz9j3 rx+rbtKn/gbxPG4DXnZJIKejr3B7+J5+3pDvExRm8fI4pQQCepmnk/xhxnetFydMwFvW jWhxpKLspMXiCi7uMqHQbNivOHX3pQfxzg5D09nx8u/V9ErktAlhQ0rJFsSxe4DDjuOb 8Tcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694257490; x=1694862290; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hhJX5VWHXXtciuS9BkKk5zfmvkcSaBWZ/aSQRFscuJA=; b=p4ZS+9ixKdLs2Xdi5S/y+9vG+tYENrlmmq6ZFjRKZOsnSkEcKl8U3uGmhhdtQOplNI vKWNc97/QPXbY/3e2PRinGD4vYsm+pj9UVtNX4pq14GU+qwJGpQBKC7VlU1mlravOrwn RazL4rAUMlm8zOA5IKsyELkbJH1MmNxdmHWDIpDM8Yb7gERrCJ6Ct+94sFagHwEWZsha NJqL5kkBHN6toPx7JMsbTrIFLOOy3bfT059woQvfWmWAEfEb3GlCzYplSV6F5E1cJ0Nu RqjwRnxasLFFOn7XL36aRFkTi2YZ2+0LIN38NCaV9It/gkrXjlLokG+G3Sv+kCvqXKeF RG9w== X-Gm-Message-State: AOJu0YziKabWa8W1bN2DOnCZ/Cq3BOTtVAUsI/0XkVUdfDCUneqOvkEY 3MTnsHZi0Gj+CUAJh5Rk1CA= X-Google-Smtp-Source: AGHT+IGMiGpjKR5+4BJIqy4f/HlylX0MSMIi2+xFdaiFsk2sdaUrzTeLkVocsGY1gIjqCETBTBv8TQ== X-Received: by 2002:a17:902:7489:b0:1bb:25bd:d09c with SMTP id h9-20020a170902748900b001bb25bdd09cmr4498991pll.1.1694257489858; Sat, 09 Sep 2023 04:04:49 -0700 (PDT) Received: from brag-vm.localdomain ([27.4.106.123]) by smtp.gmail.com with ESMTPSA id j9-20020a170902da8900b001bbbbda70ccsm3017206plx.158.2023.09.09.04.04.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Sep 2023 04:04:49 -0700 (PDT) From: Bragatheswaran Manickavel To: maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, daniel@ffwll.ch Cc: Bragatheswaran Manickavel , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm: fix doc warnings related to drm connector Date: Sat, 9 Sep 2023 16:33:43 +0530 Message-Id: <20230909110343.8103-1-bragathemanick0908@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Addressing drm dp/hdmi connector related kernel documentation warning and add more information about these values. Signed-off-by: Bragatheswaran Manickavel --- drivers/gpu/drm/drm_connector.c | 2 ++ include/drm/drm_connector.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/drivers/gpu/drm/drm_connector.c b/drivers/gpu/drm/drm_connector.c index bf8371dc2a61..084c95785dda 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: to get hdmi supported colorspaces. * * 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: to get dp supported colorspaces. * * Called by a driver the first time it's needed, must be attached to desired * DP connectors. diff --git a/include/drm/drm_connector.h b/include/drm/drm_connector.h index d300fde6c1a4..556d66dd122c 100644 --- a/include/drm/drm_connector.h +++ b/include/drm/drm_connector.h @@ -498,6 +498,8 @@ enum drm_privacy_screen_status { * ITU-R BT.601 colorimetry format * The DP spec does not say whether this is the 525 or the 625 * line version. + * @DRM_MODE_COLORIMETRY_COUNT: + * Represents the count of colorspaces. */ enum drm_colorspace { /* For Default case, driver will set the colorspace */ -- 2.34.1