Hi Chris,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on drm-tip/drm-tip]
[cannot apply to drm-intel/for-linux-next v5.10 next-20201211]
[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-Use-cmpxchg64-for-32b-compatilibity/20201214-181222
base:   git://anongit.freedesktop.org/drm/drm-tip drm-tip
config: x86_64-randconfig-a002-20201214 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 
d38205144febf4dc42c9270c6aa3d978f1ef65e1)
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/38f938d4eb11b84c9bf70078037a64f189e57de2
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review 
Chris-Wilson/drm-i915-Use-cmpxchg64-for-32b-compatilibity/20201214-181222
        git checkout 38f938d4eb11b84c9bf70078037a64f189e57de2
        # 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 <l...@intel.com>

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/i915/gt/intel_ring_scheduler.c:43:19: warning: unused 
function 'queue_deadline' [-Wunused-function]
   static inline u64 queue_deadline(struct rb_node *rb)
                     ^
>> drivers/gpu/drm/i915/gt/intel_ring_scheduler.c:48: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:145:20: warning: unused 
function 'ring_map_dw' [-Wunused-function]
   static inline u32 *ring_map_dw(struct intel_ring *ring, u32 len)
                      ^
   3 warnings generated.

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

    47  
  > 48  static inline bool reset_in_progress(const struct intel_engine_cs 
*engine)
    49  {
    50          return unlikely(!__tasklet_is_enabled(&engine->active.tasklet));
    51  }
    52  

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

Attachment: .config.gz
Description: application/gzip

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

Reply via email to