mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Brandon Pollack <brpol@chromium.org>,
	marius.vlad@collabora.com, jshargo@chromium.org
Cc: oe-kbuild-all@lists.linux.dev, hamohammed.sa@gmail.com,
	rodrigosiqueiramelo@gmail.com, linux-doc@vger.kernel.org,
	hirono@chromium.org, mduggan@chromium.org, corbet@lwn.net,
	linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
	melissa.srw@gmail.com, mairacanal@riseup.net, mripard@kernel.org,
	tzimmermann@suse.de, Brandon Pollack <brpol@chromium.org>
Subject: Re: [PATCH v4 5/7] drm/vkms: Support enabling ConfigFS devices
Date: Thu, 24 Aug 2023 19:13:55 +0800	[thread overview]
Message-ID: <202308241907.YtPY7t8j-lkp@intel.com> (raw)
In-Reply-To: <20230824084350.1062579-6-brpol@chromium.org>

Hi Brandon,

kernel test robot noticed the following build warnings:

[auto build test WARNING on drm-misc/drm-misc-next]
[also build test WARNING on next-20230824]
[cannot apply to linus/master v6.5-rc7]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Brandon-Pollack/drm-vkms-Back-VKMS-with-DRM-memory-management-instead-of-static-objects/20230824-164550
base:   git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
patch link:    https://lore.kernel.org/r/20230824084350.1062579-6-brpol%40chromium.org
patch subject: [PATCH v4 5/7] drm/vkms: Support enabling ConfigFS devices
config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20230824/202308241907.YtPY7t8j-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230824/202308241907.YtPY7t8j-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308241907.YtPY7t8j-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/vkms/vkms_output.c:178: warning: Function parameter or member 'vkmsdev' not described in 'validate_vkms_configfs_no_dangling_objects'


vim +178 drivers/gpu/drm/vkms/vkms_output.c

   166	
   167	/**
   168	* validate_vkms_configfs_no_dangling_objects - warn on unused objects in vkms configfs.
   169	*
   170	* This gives slightly more visible warning messaging to the user before the drm
   171	* system finds the configuration invalid and prints it's debug information.  In
   172	* this case the user may have accidentally not included some links, or the user
   173	* could be testing this faulty configuration.
   174	*
   175	*/
   176	static void
   177	validate_vkms_configfs_no_dangling_objects(struct vkms_device *vkmsdev)
 > 178	{
   179		struct vkms_configfs *configfs = vkmsdev->configfs;
   180		struct config_item *item;
   181	
   182		// 1. Planes
   183		list_for_each_entry(item, &configfs->planes_group.cg_children,
   184				    ci_entry) {
   185			struct vkms_config_plane *config_plane =
   186				item_to_config_plane(item);
   187			if (config_plane->possible_crtcs.linked_object_bitmap == 0)
   188				DRM_WARN(
   189					"Vkms configfs created plane %s has no linked crtcs",
   190					item->ci_name);
   191		}
   192	
   193		// 2. connectors
   194		list_for_each_entry(item, &configfs->connectors_group.cg_children,
   195				    ci_entry) {
   196			struct vkms_config_connector *config_connector =
   197				item_to_config_connector(item);
   198			if (config_connector->possible_encoders.linked_object_bitmap ==
   199			    0) {
   200				DRM_WARN(
   201					"Vkms configfs created connector %s has no linked encoders",
   202					item->ci_name);
   203			}
   204		}
   205	
   206		// 3. encoders
   207		list_for_each_entry(item, &configfs->encoders_group.cg_children,
   208				    ci_entry) {
   209			struct vkms_config_encoder *config_encoder =
   210				item_to_config_encoder(item);
   211			if (config_encoder->possible_crtcs.linked_object_bitmap == 0) {
   212				DRM_WARN(
   213					"Vkms configfs created encoder %s has no linked crtcs",
   214					item->ci_name);
   215			}
   216		}
   217	
   218		// 4. crtcs only require a primary plane to function, this is checked during
   219		// output initialization and returns an error.
   220	}
   221	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  reply	other threads:[~2023-08-24 11:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-24  8:40 [PATCH v4 0/7] Adds support for ConfigFS to VKMS! Brandon Pollack
2023-08-24  8:40 ` [PATCH v4 1/7] drm/vkms: Back VKMS with DRM memory management instead of static objects Brandon Pollack
2023-08-24  8:40 ` [PATCH v4 2/7] drm/vkms: Support multiple DRM objects (crtcs, etc.) per VKMS device Brandon Pollack
2023-08-24  8:40 ` [PATCH v4 3/7] drm/vkms: Provide platform data when creating VKMS devices Brandon Pollack
2023-08-24  8:40 ` [PATCH v4 4/7] drm/vkms: Add ConfigFS scaffolding to VKMS Brandon Pollack
2023-08-24  8:40 ` [PATCH v4 5/7] drm/vkms: Support enabling ConfigFS devices Brandon Pollack
2023-08-24 11:13   ` kernel test robot [this message]
2023-08-24  8:40 ` [PATCH v4 6/7] drm/vkms: Add a module param to enable/disable the default device Brandon Pollack
2023-08-24  8:40 ` [PATCH v4 7/7] drm/vkms Add hotplug support via configfs to VKMS Brandon Pollack

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202308241907.YtPY7t8j-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=brpol@chromium.org \
    --cc=corbet@lwn.net \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=hamohammed.sa@gmail.com \
    --cc=hirono@chromium.org \
    --cc=jshargo@chromium.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mairacanal@riseup.net \
    --cc=marius.vlad@collabora.com \
    --cc=mduggan@chromium.org \
    --cc=melissa.srw@gmail.com \
    --cc=mripard@kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=rodrigosiqueiramelo@gmail.com \
    --cc=tzimmermann@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®