All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: "Noralf Trønnes" <noralf@tronnes.org>
Cc: daniel.vetter@ffwll.ch, liviu.dudau@arm.com, kbuild-all@01.org,
	dri-devel@lists.freedesktop.org, alison.wang@freescale.com
Subject: Re: [PATCH v2 2/6] drm/modeset-helper: Add simple modeset suspend/resume helpers
Date: Tue, 7 Nov 2017 15:02:31 +0800	[thread overview]
Message-ID: <201711071427.ELuI4mnc%fengguang.wu@intel.com> (raw)
In-Reply-To: <20171106191812.38927-3-noralf@tronnes.org>

[-- Attachment #1: Type: text/plain, Size: 2957 bytes --]

Hi Noralf,

I love your patch! Yet something to improve:

[auto build test ERROR on drm/drm-next]
[also build test ERROR on v4.14-rc8 next-20171106]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Noralf-Tr-nnes/drm-Add-simple-modeset-suspend-resume-helpers/20171107-141931
base:   git://people.freedesktop.org/~airlied/linux.git drm-next
config: x86_64-randconfig-x000-201745 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/drm_modeset_helper.c: In function 'drm_mode_config_helper_suspend':
>> drivers/gpu/drm/drm_modeset_helper.c:186:40: error: 'struct drm_device' has no member named 'fb_helper'
     drm_fb_helper_set_suspend_unlocked(dev->fb_helper, 1);
                                           ^~
   drivers/gpu/drm/drm_modeset_helper.c:189:41: error: 'struct drm_device' has no member named 'fb_helper'
      drm_fb_helper_set_suspend_unlocked(dev->fb_helper, 0);
                                            ^~
   drivers/gpu/drm/drm_modeset_helper.c: In function 'drm_mode_config_helper_resume':
   drivers/gpu/drm/drm_modeset_helper.c:229:40: error: 'struct drm_device' has no member named 'fb_helper'
     drm_fb_helper_set_suspend_unlocked(dev->fb_helper, 0);
                                           ^~

vim +186 drivers/gpu/drm/drm_modeset_helper.c

   162	
   163	/**
   164	 * drm_mode_config_helper_suspend - Modeset suspend helper
   165	 * @dev: DRM device
   166	 *
   167	 * This helper function takes care of suspending the modeset side. It disables
   168	 * output polling if initialized, suspends fbdev if used and finally calls
   169	 * drm_atomic_helper_suspend().
   170	 * If suspending fails, fbdev and polling is re-enabled.
   171	 *
   172	 * Returns:
   173	 * Zero on success, negative error code on error.
   174	 *
   175	 * See also:
   176	 * drm_kms_helper_poll_disable() and drm_fb_helper_set_suspend_unlocked().
   177	 */
   178	int drm_mode_config_helper_suspend(struct drm_device *dev)
   179	{
   180		struct drm_atomic_state *state;
   181	
   182		if (!dev)
   183			return 0;
   184	
   185		drm_kms_helper_poll_disable(dev);
 > 186		drm_fb_helper_set_suspend_unlocked(dev->fb_helper, 1);
   187		state = drm_atomic_helper_suspend(dev);
   188		if (IS_ERR(state)) {
   189			drm_fb_helper_set_suspend_unlocked(dev->fb_helper, 0);
   190			drm_kms_helper_poll_enable(dev);
   191			return PTR_ERR(state);
   192		}
   193	
   194		dev->mode_config.suspend_state = state;
   195	
   196		return 0;
   197	}
   198	EXPORT_SYMBOL(drm_mode_config_helper_suspend);
   199	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 31510 bytes --]

[-- Attachment #3: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2017-11-07  7:03 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-06 19:18 [PATCH v2 0/6] drm/: Add simple modeset suspend/resume helpers Noralf Trønnes
2017-11-06 19:18 ` [PATCH v2 1/6] drm/probe-helper: Fix drm_kms_helper_poll_enable() docs Noralf Trønnes
2017-11-06 19:18 ` [PATCH v2 2/6] drm/modeset-helper: Add simple modeset suspend/resume helpers Noralf Trønnes
2017-11-07  7:02   ` kbuild test robot [this message]
2017-11-06 19:18 ` [PATCH v2 3/6] drm/arm/mali: Use drm_mode_config_helper_suspend/resume() Noralf Trønnes
2017-11-06 19:18 ` [PATCH v2 4/6] drm/fsl-dcu: " Noralf Trønnes
2017-11-09 14:34   ` Stefan Agner
2017-11-09 16:49     ` Noralf Trønnes
2017-11-09 17:18       ` Stefan Agner
2017-11-10 16:39       ` Stefan Agner
2017-11-10 18:06         ` Noralf Trønnes
2017-11-10 19:42           ` Noralf Trønnes
2017-11-14 15:23           ` Stefan Agner
2017-11-14 15:40             ` Noralf Trønnes
2017-11-14 15:56               ` Stefan Agner
2017-11-14 16:22                 ` Noralf Trønnes
2017-11-06 19:18 ` [PATCH v2 5/6] drm/tinydrm: " Noralf Trønnes
2017-11-14 15:40   ` Stefan Agner
2017-11-14 16:02     ` Noralf Trønnes
2017-11-06 19:18 ` [PATCH v2 6/6] drm/docs: Add todo entry for simple modeset suspend/resume Noralf Trønnes

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=201711071427.ELuI4mnc%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=alison.wang@freescale.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=kbuild-all@01.org \
    --cc=liviu.dudau@arm.com \
    --cc=noralf@tronnes.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.