All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Qiang Yu <yuq825@gmail.com>
Cc: intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
	oe-kbuild-all@lists.linux.dev
Subject: [Intel-gfx] [drm-tip:drm-tip 3/7] drivers/gpu/drm/lima/lima_ctx.c:53:45: error: 'struct drm_sched_entity' has no member named 'elapsed_ns'
Date: Sun, 2 Apr 2023 21:27:13 +0800	[thread overview]
Message-ID: <202304022108.kFqa3PUI-lkp@intel.com> (raw)

tree:   git://anongit.freedesktop.org/drm/drm-tip drm-tip
head:   25abf2df726cac2701780b068df74a9c36d60655
commit: 6e744f4032e55f6ea113d5b10906aebbd626e5b7 [3/7] Merge remote-tracking branch 'drm-misc/drm-misc-next' into drm-tip
config: arm64-buildonly-randconfig-r001-20230402 (https://download.01.org/0day-ci/archive/20230402/202304022108.kFqa3PUI-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git remote add drm-tip git://anongit.freedesktop.org/drm/drm-tip
        git fetch --no-tags drm-tip drm-tip
        git checkout 6e744f4032e55f6ea113d5b10906aebbd626e5b7
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/gpu/drm/lima/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202304022108.kFqa3PUI-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/gpu/drm/lima/lima_ctx.c: In function 'lima_ctx_do_release':
>> drivers/gpu/drm/lima/lima_ctx.c:53:45: error: 'struct drm_sched_entity' has no member named 'elapsed_ns'
      53 |                 mgr->elapsed_ns[i] += entity->elapsed_ns;
         |                                             ^~
   drivers/gpu/drm/lima/lima_ctx.c: In function 'lima_ctx_mgr_usage':
   drivers/gpu/drm/lima/lima_ctx.c:125:43: error: 'struct drm_sched_entity' has no member named 'elapsed_ns'
     125 |                         usage[i] += entity->elapsed_ns;
         |                                           ^~


vim +53 drivers/gpu/drm/lima/lima_ctx.c

a1d2a6339961ef Qiang Yu    2019-03-09  42  
a1d2a6339961ef Qiang Yu    2019-03-09  43  static void lima_ctx_do_release(struct kref *ref)
a1d2a6339961ef Qiang Yu    2019-03-09  44  {
a1d2a6339961ef Qiang Yu    2019-03-09  45  	struct lima_ctx *ctx = container_of(ref, struct lima_ctx, refcnt);
bccafec957a5c4 Erico Nunes 2023-03-13  46  	struct lima_ctx_mgr *mgr = ctx->mgr;
a1d2a6339961ef Qiang Yu    2019-03-09  47  	int i;
a1d2a6339961ef Qiang Yu    2019-03-09  48  
bccafec957a5c4 Erico Nunes 2023-03-13  49  	for (i = 0; i < lima_pipe_num; i++) {
bccafec957a5c4 Erico Nunes 2023-03-13  50  		struct lima_sched_context *context = &ctx->context[i];
bccafec957a5c4 Erico Nunes 2023-03-13  51  		struct drm_sched_entity *entity = &context->base;
bccafec957a5c4 Erico Nunes 2023-03-13  52  
bccafec957a5c4 Erico Nunes 2023-03-13 @53  		mgr->elapsed_ns[i] += entity->elapsed_ns;
bccafec957a5c4 Erico Nunes 2023-03-13  54  
a1d2a6339961ef Qiang Yu    2019-03-09  55  		lima_sched_context_fini(ctx->dev->pipe + i, ctx->context + i);
bccafec957a5c4 Erico Nunes 2023-03-13  56  	}
a1d2a6339961ef Qiang Yu    2019-03-09  57  	kfree(ctx);
a1d2a6339961ef Qiang Yu    2019-03-09  58  }
a1d2a6339961ef Qiang Yu    2019-03-09  59  

:::::: The code at line 53 was first introduced by commit
:::::: bccafec957a5c4b22ac29e53a39e82d0a0008348 drm/lima: add usage counting method to ctx_mgr

:::::: TO: Erico Nunes <nunes.erico@gmail.com>
:::::: CC: Qiang Yu <yuq825@gmail.com>

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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Qiang Yu <yuq825@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev, intel-gfx@lists.freedesktop.org,
	dri-devel@lists.freedesktop.org
Subject: [drm-tip:drm-tip 3/7] drivers/gpu/drm/lima/lima_ctx.c:53:45: error: 'struct drm_sched_entity' has no member named 'elapsed_ns'
Date: Sun, 2 Apr 2023 21:27:13 +0800	[thread overview]
Message-ID: <202304022108.kFqa3PUI-lkp@intel.com> (raw)

tree:   git://anongit.freedesktop.org/drm/drm-tip drm-tip
head:   25abf2df726cac2701780b068df74a9c36d60655
commit: 6e744f4032e55f6ea113d5b10906aebbd626e5b7 [3/7] Merge remote-tracking branch 'drm-misc/drm-misc-next' into drm-tip
config: arm64-buildonly-randconfig-r001-20230402 (https://download.01.org/0day-ci/archive/20230402/202304022108.kFqa3PUI-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git remote add drm-tip git://anongit.freedesktop.org/drm/drm-tip
        git fetch --no-tags drm-tip drm-tip
        git checkout 6e744f4032e55f6ea113d5b10906aebbd626e5b7
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/gpu/drm/lima/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202304022108.kFqa3PUI-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/gpu/drm/lima/lima_ctx.c: In function 'lima_ctx_do_release':
>> drivers/gpu/drm/lima/lima_ctx.c:53:45: error: 'struct drm_sched_entity' has no member named 'elapsed_ns'
      53 |                 mgr->elapsed_ns[i] += entity->elapsed_ns;
         |                                             ^~
   drivers/gpu/drm/lima/lima_ctx.c: In function 'lima_ctx_mgr_usage':
   drivers/gpu/drm/lima/lima_ctx.c:125:43: error: 'struct drm_sched_entity' has no member named 'elapsed_ns'
     125 |                         usage[i] += entity->elapsed_ns;
         |                                           ^~


vim +53 drivers/gpu/drm/lima/lima_ctx.c

a1d2a6339961ef Qiang Yu    2019-03-09  42  
a1d2a6339961ef Qiang Yu    2019-03-09  43  static void lima_ctx_do_release(struct kref *ref)
a1d2a6339961ef Qiang Yu    2019-03-09  44  {
a1d2a6339961ef Qiang Yu    2019-03-09  45  	struct lima_ctx *ctx = container_of(ref, struct lima_ctx, refcnt);
bccafec957a5c4 Erico Nunes 2023-03-13  46  	struct lima_ctx_mgr *mgr = ctx->mgr;
a1d2a6339961ef Qiang Yu    2019-03-09  47  	int i;
a1d2a6339961ef Qiang Yu    2019-03-09  48  
bccafec957a5c4 Erico Nunes 2023-03-13  49  	for (i = 0; i < lima_pipe_num; i++) {
bccafec957a5c4 Erico Nunes 2023-03-13  50  		struct lima_sched_context *context = &ctx->context[i];
bccafec957a5c4 Erico Nunes 2023-03-13  51  		struct drm_sched_entity *entity = &context->base;
bccafec957a5c4 Erico Nunes 2023-03-13  52  
bccafec957a5c4 Erico Nunes 2023-03-13 @53  		mgr->elapsed_ns[i] += entity->elapsed_ns;
bccafec957a5c4 Erico Nunes 2023-03-13  54  
a1d2a6339961ef Qiang Yu    2019-03-09  55  		lima_sched_context_fini(ctx->dev->pipe + i, ctx->context + i);
bccafec957a5c4 Erico Nunes 2023-03-13  56  	}
a1d2a6339961ef Qiang Yu    2019-03-09  57  	kfree(ctx);
a1d2a6339961ef Qiang Yu    2019-03-09  58  }
a1d2a6339961ef Qiang Yu    2019-03-09  59  

:::::: The code at line 53 was first introduced by commit
:::::: bccafec957a5c4b22ac29e53a39e82d0a0008348 drm/lima: add usage counting method to ctx_mgr

:::::: TO: Erico Nunes <nunes.erico@gmail.com>
:::::: CC: Qiang Yu <yuq825@gmail.com>

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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Qiang Yu <yuq825@gmail.com>
Cc: intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
	oe-kbuild-all@lists.linux.dev
Subject: [drm-tip:drm-tip 3/7] drivers/gpu/drm/lima/lima_ctx.c:53:45: error: 'struct drm_sched_entity' has no member named 'elapsed_ns'
Date: Sun, 2 Apr 2023 21:27:13 +0800	[thread overview]
Message-ID: <202304022108.kFqa3PUI-lkp@intel.com> (raw)

tree:   git://anongit.freedesktop.org/drm/drm-tip drm-tip
head:   25abf2df726cac2701780b068df74a9c36d60655
commit: 6e744f4032e55f6ea113d5b10906aebbd626e5b7 [3/7] Merge remote-tracking branch 'drm-misc/drm-misc-next' into drm-tip
config: arm64-buildonly-randconfig-r001-20230402 (https://download.01.org/0day-ci/archive/20230402/202304022108.kFqa3PUI-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git remote add drm-tip git://anongit.freedesktop.org/drm/drm-tip
        git fetch --no-tags drm-tip drm-tip
        git checkout 6e744f4032e55f6ea113d5b10906aebbd626e5b7
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/gpu/drm/lima/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202304022108.kFqa3PUI-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/gpu/drm/lima/lima_ctx.c: In function 'lima_ctx_do_release':
>> drivers/gpu/drm/lima/lima_ctx.c:53:45: error: 'struct drm_sched_entity' has no member named 'elapsed_ns'
      53 |                 mgr->elapsed_ns[i] += entity->elapsed_ns;
         |                                             ^~
   drivers/gpu/drm/lima/lima_ctx.c: In function 'lima_ctx_mgr_usage':
   drivers/gpu/drm/lima/lima_ctx.c:125:43: error: 'struct drm_sched_entity' has no member named 'elapsed_ns'
     125 |                         usage[i] += entity->elapsed_ns;
         |                                           ^~


vim +53 drivers/gpu/drm/lima/lima_ctx.c

a1d2a6339961ef Qiang Yu    2019-03-09  42  
a1d2a6339961ef Qiang Yu    2019-03-09  43  static void lima_ctx_do_release(struct kref *ref)
a1d2a6339961ef Qiang Yu    2019-03-09  44  {
a1d2a6339961ef Qiang Yu    2019-03-09  45  	struct lima_ctx *ctx = container_of(ref, struct lima_ctx, refcnt);
bccafec957a5c4 Erico Nunes 2023-03-13  46  	struct lima_ctx_mgr *mgr = ctx->mgr;
a1d2a6339961ef Qiang Yu    2019-03-09  47  	int i;
a1d2a6339961ef Qiang Yu    2019-03-09  48  
bccafec957a5c4 Erico Nunes 2023-03-13  49  	for (i = 0; i < lima_pipe_num; i++) {
bccafec957a5c4 Erico Nunes 2023-03-13  50  		struct lima_sched_context *context = &ctx->context[i];
bccafec957a5c4 Erico Nunes 2023-03-13  51  		struct drm_sched_entity *entity = &context->base;
bccafec957a5c4 Erico Nunes 2023-03-13  52  
bccafec957a5c4 Erico Nunes 2023-03-13 @53  		mgr->elapsed_ns[i] += entity->elapsed_ns;
bccafec957a5c4 Erico Nunes 2023-03-13  54  
a1d2a6339961ef Qiang Yu    2019-03-09  55  		lima_sched_context_fini(ctx->dev->pipe + i, ctx->context + i);
bccafec957a5c4 Erico Nunes 2023-03-13  56  	}
a1d2a6339961ef Qiang Yu    2019-03-09  57  	kfree(ctx);
a1d2a6339961ef Qiang Yu    2019-03-09  58  }
a1d2a6339961ef Qiang Yu    2019-03-09  59  

:::::: The code at line 53 was first introduced by commit
:::::: bccafec957a5c4b22ac29e53a39e82d0a0008348 drm/lima: add usage counting method to ctx_mgr

:::::: TO: Erico Nunes <nunes.erico@gmail.com>
:::::: CC: Qiang Yu <yuq825@gmail.com>

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

             reply	other threads:[~2023-04-02 13:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-02 13:27 kernel test robot [this message]
2023-04-02 13:27 ` [drm-tip:drm-tip 3/7] drivers/gpu/drm/lima/lima_ctx.c:53:45: error: 'struct drm_sched_entity' has no member named 'elapsed_ns' kernel test robot
2023-04-02 13:27 ` 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=202304022108.kFqa3PUI-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=yuq825@gmail.com \
    /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.