All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [mlankhorst:xe 37/165] drivers/gpu/drm/xe/xe_irq.c:30:6: error: no previous prototype for 'gen11_gt_irq_reset'
Date: Wed, 26 Jan 2022 07:01:57 +0800	[thread overview]
Message-ID: <202201260746.o0wAH4uG-lkp@intel.com> (raw)

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

tree:   git://people.freedesktop.org/~mlankhorst/linux xe
head:   4bc3039b4403c76a13d58f7ac1f7c07dca6f88d8
commit: 0fc4361f4fc10e980acdb7328ad17d66aa1c3644 [37/165] MOAR
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20220126/202201260746.o0wAH4uG-lkp(a)intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        git remote add mlankhorst git://people.freedesktop.org/~mlankhorst/linux
        git fetch --no-tags mlankhorst xe
        git checkout 0fc4361f4fc10e980acdb7328ad17d66aa1c3644
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

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 >>):

>> drivers/gpu/drm/xe/xe_irq.c:30:6: error: no previous prototype for 'gen11_gt_irq_reset' [-Werror=missing-prototypes]
      30 | void gen11_gt_irq_reset(struct xe_device *xe)
         |      ^~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/gen11_gt_irq_reset +30 drivers/gpu/drm/xe/xe_irq.c

    29	
  > 30	void gen11_gt_irq_reset(struct xe_device *xe)
    31	{
    32		/* Disable RCS, BCS, VCS and VECS class engines. */
    33		xe_mmio_write32(xe, GEN11_RENDER_COPY_INTR_ENABLE.reg, 0);
    34		xe_mmio_write32(xe, GEN11_VCS_VECS_INTR_ENABLE.reg,	  0);
    35	
    36		/* Restore masks irqs on RCS, BCS, VCS and VECS engines. */
    37		xe_mmio_write32(xe, GEN11_RCS0_RSVD_INTR_MASK.reg,	~0);
    38		xe_mmio_write32(xe, GEN11_BCS_RSVD_INTR_MASK.reg,	~0);
    39		xe_mmio_write32(xe, GEN11_VCS0_VCS1_INTR_MASK.reg,	~0);
    40		xe_mmio_write32(xe, GEN11_VCS2_VCS3_INTR_MASK.reg,	~0);
    41	//	if (HAS_ENGINE(gt, VCS4) || HAS_ENGINE(gt, VCS5))
    42	//		xe_mmio_write32(xe, GEN12_VCS4_VCS5_INTR_MASK.reg,   ~0);
    43	//	if (HAS_ENGINE(gt, VCS6) || HAS_ENGINE(gt, VCS7))
    44	//		xe_mmio_write32(xe, GEN12_VCS6_VCS7_INTR_MASK.reg,   ~0);
    45		xe_mmio_write32(xe, GEN11_VECS0_VECS1_INTR_MASK.reg,	~0);
    46	//	if (HAS_ENGINE(gt, VECS2) || HAS_ENGINE(gt, VECS3))
    47	//		xe_mmio_write32(xe, GEN12_VECS2_VECS3_INTR_MASK.reg, ~0);
    48	
    49		xe_mmio_write32(xe, GEN11_GPM_WGBOXPERF_INTR_ENABLE.reg, 0);
    50		xe_mmio_write32(xe, GEN11_GPM_WGBOXPERF_INTR_MASK.reg,  ~0);
    51		xe_mmio_write32(xe, GEN11_GUC_SG_INTR_ENABLE.reg, 0);
    52		xe_mmio_write32(xe, GEN11_GUC_SG_INTR_MASK.reg,  ~0);
    53	}
    54	

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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Jason Ekstrand <jason@jlekstrand.net>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Subject: [mlankhorst:xe 37/165] drivers/gpu/drm/xe/xe_irq.c:30:6: error: no previous prototype for 'gen11_gt_irq_reset'
Date: Wed, 26 Jan 2022 07:01:57 +0800	[thread overview]
Message-ID: <202201260746.o0wAH4uG-lkp@intel.com> (raw)

tree:   git://people.freedesktop.org/~mlankhorst/linux xe
head:   4bc3039b4403c76a13d58f7ac1f7c07dca6f88d8
commit: 0fc4361f4fc10e980acdb7328ad17d66aa1c3644 [37/165] MOAR
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20220126/202201260746.o0wAH4uG-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        git remote add mlankhorst git://people.freedesktop.org/~mlankhorst/linux
        git fetch --no-tags mlankhorst xe
        git checkout 0fc4361f4fc10e980acdb7328ad17d66aa1c3644
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

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 >>):

>> drivers/gpu/drm/xe/xe_irq.c:30:6: error: no previous prototype for 'gen11_gt_irq_reset' [-Werror=missing-prototypes]
      30 | void gen11_gt_irq_reset(struct xe_device *xe)
         |      ^~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/gen11_gt_irq_reset +30 drivers/gpu/drm/xe/xe_irq.c

    29	
  > 30	void gen11_gt_irq_reset(struct xe_device *xe)
    31	{
    32		/* Disable RCS, BCS, VCS and VECS class engines. */
    33		xe_mmio_write32(xe, GEN11_RENDER_COPY_INTR_ENABLE.reg, 0);
    34		xe_mmio_write32(xe, GEN11_VCS_VECS_INTR_ENABLE.reg,	  0);
    35	
    36		/* Restore masks irqs on RCS, BCS, VCS and VECS engines. */
    37		xe_mmio_write32(xe, GEN11_RCS0_RSVD_INTR_MASK.reg,	~0);
    38		xe_mmio_write32(xe, GEN11_BCS_RSVD_INTR_MASK.reg,	~0);
    39		xe_mmio_write32(xe, GEN11_VCS0_VCS1_INTR_MASK.reg,	~0);
    40		xe_mmio_write32(xe, GEN11_VCS2_VCS3_INTR_MASK.reg,	~0);
    41	//	if (HAS_ENGINE(gt, VCS4) || HAS_ENGINE(gt, VCS5))
    42	//		xe_mmio_write32(xe, GEN12_VCS4_VCS5_INTR_MASK.reg,   ~0);
    43	//	if (HAS_ENGINE(gt, VCS6) || HAS_ENGINE(gt, VCS7))
    44	//		xe_mmio_write32(xe, GEN12_VCS6_VCS7_INTR_MASK.reg,   ~0);
    45		xe_mmio_write32(xe, GEN11_VECS0_VECS1_INTR_MASK.reg,	~0);
    46	//	if (HAS_ENGINE(gt, VECS2) || HAS_ENGINE(gt, VECS3))
    47	//		xe_mmio_write32(xe, GEN12_VECS2_VECS3_INTR_MASK.reg, ~0);
    48	
    49		xe_mmio_write32(xe, GEN11_GPM_WGBOXPERF_INTR_ENABLE.reg, 0);
    50		xe_mmio_write32(xe, GEN11_GPM_WGBOXPERF_INTR_MASK.reg,  ~0);
    51		xe_mmio_write32(xe, GEN11_GUC_SG_INTR_ENABLE.reg, 0);
    52		xe_mmio_write32(xe, GEN11_GUC_SG_INTR_MASK.reg,  ~0);
    53	}
    54	

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

             reply	other threads:[~2022-01-25 23:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-25 23:01 kernel test robot [this message]
2022-01-25 23:01 ` [mlankhorst:xe 37/165] drivers/gpu/drm/xe/xe_irq.c:30:6: error: no previous prototype for 'gen11_gt_irq_reset' kernel test robot

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=202201260746.o0wAH4uG-lkp@intel.com \
    --to=lkp@intel.com \
    --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 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.