Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Chris Wilson <chris@chris-wilson.co.uk>, intel-gfx@lists.freedesktop.org
Cc: kbuild-all@lists.01.org, Chris Wilson <chris@chris-wilson.co.uk>
Subject: Re: [Intel-gfx] [PATCH] drm/i915/display: Record the plane update times for debugging
Date: Fri, 27 Nov 2020 09:47:05 +0800	[thread overview]
Message-ID: <202011270900.XpC2iCNs-lkp@intel.com> (raw)
In-Reply-To: <20201126211453.15461-1-chris@chris-wilson.co.uk>

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

Hi Chris,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on drm-tip/drm-tip v5.10-rc5 next-20201126]
[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]

url:    https://github.com/0day-ci/linux/commits/Chris-Wilson/drm-i915-display-Record-the-plane-update-times-for-debugging/20201127-052128
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: i386-randconfig-a004-20201127 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/0day-ci/linux/commit/7507dad86ddaa800a17665609a0171e9b958b451
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Chris-Wilson/drm-i915-display-Record-the-plane-update-times-for-debugging/20201127-052128
        git checkout 7507dad86ddaa800a17665609a0171e9b958b451
        # save the attached .config to linux build tree
        make W=1 ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from include/drm/drm_mm.h:49,
                    from include/drm/drm_vma_manager.h:26,
                    from include/drm/drm_gem.h:40,
                    from drivers/gpu/drm/i915/i915_drv.h:55,
                    from drivers/gpu/drm/i915/display/intel_sprite.c:42:
   drivers/gpu/drm/i915/display/intel_sprite.c: In function 'dbg_vblank_evade':
   include/drm/drm_print.h:450:19: error: request for member 'dev' in something not a structure or union
     450 |  drm_dev_dbg((drm)->dev, DRM_UT_KMS, fmt, ##__VA_ARGS__)
         |                   ^~
   drivers/gpu/drm/i915/display/intel_sprite.c:201:3: note: in expansion of macro 'drm_dbg_kms'
     201 |   drm_dbg_kms("Atomic update on pipe (%c) took %lld us, max time under evasion is %u us\n",
         |   ^~~~~~~~~~~
>> drivers/gpu/drm/i915/display/intel_display.h:96:27: error: passing argument 3 of 'drm_dev_dbg' makes pointer from integer without a cast [-Werror=int-conversion]
      96 | #define pipe_name(p) ((p) + 'A')
         |                      ~~~~~^~~~~~
         |                           |
         |                           int
   include/drm/drm_print.h:450:38: note: in definition of macro 'drm_dbg_kms'
     450 |  drm_dev_dbg((drm)->dev, DRM_UT_KMS, fmt, ##__VA_ARGS__)
         |                                      ^~~
   drivers/gpu/drm/i915/display/intel_sprite.c:202:8: note: in expansion of macro 'pipe_name'
     202 |        pipe_name(crtc->pipe),
         |        ^~~~~~~~~
   include/drm/drm_print.h:338:16: note: expected 'const char *' but argument is of type 'int'
     338 |    const char *format, ...);
         |    ~~~~~~~~~~~~^~~~~~
   cc1: all warnings being treated as errors

vim +/drm_dev_dbg +96 drivers/gpu/drm/i915/display/intel_display.h

09a28bd9e8024d drivers/gpu/drm/i915/intel_display.h Michal Wajdeczko 2017-12-21  95  
09a28bd9e8024d drivers/gpu/drm/i915/intel_display.h Michal Wajdeczko 2017-12-21 @96  #define pipe_name(p) ((p) + 'A')
09a28bd9e8024d drivers/gpu/drm/i915/intel_display.h Michal Wajdeczko 2017-12-21  97  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

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

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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  parent reply	other threads:[~2020-11-27  1:48 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-23 14:55 [Intel-gfx] [PATCH] drm/i915/display: Record the plane update times for debugging Chris Wilson
2020-11-23 15:55 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for " Patchwork
2020-11-23 16:25 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
2020-11-23 16:27 ` [Intel-gfx] [PATCH v2] " Chris Wilson
2020-11-24 21:38   ` [Intel-gfx] [PATCH] " Chris Wilson
2020-11-25 16:14     ` Chris Wilson
2020-11-26 21:13     ` Chris Wilson
2020-11-26 21:14       ` Chris Wilson
2020-11-27  1:02         ` kernel test robot
2020-11-27  1:47         ` kernel test robot [this message]
2020-11-27 11:30       ` Chris Wilson
2020-11-27 16:18       ` [Intel-gfx] [PATCH v2] " Chris Wilson
2020-12-02 13:17         ` Chris Wilson
2020-12-02 19:24         ` Ville Syrjälä
2020-12-02 19:37           ` Chris Wilson
2020-11-23 16:58 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/display: Record the plane update times for debugging (rev2) Patchwork
2020-11-23 17:27 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2020-11-23 20:23 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
2020-11-24 22:32 ` [Intel-gfx] ✗ Fi.CI.BUILD: failure for drm/i915/display: Record the plane update times for debugging (rev3) Patchwork
2020-11-25 16:35 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/display: Record the plane update times for debugging (rev4) Patchwork
2020-11-25 17:05 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2020-11-25 18:18 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2020-11-27  8:23 ` [Intel-gfx] ✗ Fi.CI.BUILD: failure for drm/i915/display: Record the plane update times for debugging (rev6) Patchwork
2020-11-27 14:20 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/display: Record the plane update times for debugging (rev7) Patchwork
2020-11-27 14:50 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2020-11-27 16:28 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
2020-11-27 19:14 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/display: Record the plane update times for debugging (rev8) Patchwork
2020-11-27 20:47 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork

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=202011270900.XpC2iCNs-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=chris@chris-wilson.co.uk \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=kbuild-all@lists.01.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox