Re: [PATCH 52/56] drm/i915/gt: Infrastructure for ring scheduling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Chris,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on drm-tip/drm-tip]
[also build test WARNING on drm-intel/drm-intel-gt-next]
[cannot apply to drm-intel/for-linux-next v5.11-rc1 next-20201223]
[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-gt-Restore-ce-signal-flush-before-releasing-virtual-engine/20201229-200517
base:   git://anongit.freedesktop.org/drm/drm-tip drm-tip
config: x86_64-randconfig-r026-20201229 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project a8970dff1aece1f83e63f723847098ba992ef185)
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
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://github.com/0day-ci/linux/commit/3668247b4851376f9fd1c943043a86cabf3a0f08
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Chris-Wilson/drm-i915-gt-Restore-ce-signal-flush-before-releasing-virtual-engine/20201229-200517
        git checkout 3668247b4851376f9fd1c943043a86cabf3a0f08
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/i915/gt/intel_ring_scheduler.c:28:19: warning: unused function 'rq_prio' [-Wunused-function]
   static inline int rq_prio(const struct i915_request *rq)
                     ^
   drivers/gpu/drm/i915/gt/intel_ring_scheduler.c:33:19: warning: unused function 'rq_deadline' [-Wunused-function]
   static inline u64 rq_deadline(const struct i915_request *rq)
                     ^
>> drivers/gpu/drm/i915/gt/intel_ring_scheduler.c:38:20: warning: function 'reset_in_progress' is not needed and will not be emitted [-Wunneeded-internal-declaration]
   static inline bool reset_in_progress(const struct intel_engine_cs *engine)
                      ^
   drivers/gpu/drm/i915/gt/intel_ring_scheduler.c:135:20: warning: unused function 'ring_map_dw' [-Wunused-function]
   static inline u32 *ring_map_dw(struct intel_ring *ring, u32 len)
                      ^
   4 warnings generated.


vim +/reset_in_progress +38 drivers/gpu/drm/i915/gt/intel_ring_scheduler.c

    37	
  > 38	static inline bool reset_in_progress(const struct intel_engine_cs *engine)
    39	{
    40		return unlikely(!__tasklet_is_enabled(&engine->active.tasklet));
    41	}
    42	

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

Attachment: .config.gz
Description: application/gzip

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

[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux