Re: [PATCH v2 3/3] drm/i915/gt/pxp: User PXP contexts requires runalone bit in lrc

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

 



Hi Alan,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 51fec314404b6a360493f225481083b2a664e3e1]

url:    https://github.com/intel-lab-lkp/linux/commits/Alan-Previn/drm-i915-pxp-mtl-Update-pxp-firmware-response-timeout/20230811-124534
base:   51fec314404b6a360493f225481083b2a664e3e1
patch link:    https://lore.kernel.org/r/20230811044310.944883-4-alan.previn.teres.alexis%40intel.com
patch subject:  [PATCH v2 3/3] drm/i915/gt/pxp: User PXP contexts requires runalone bit in lrc
config: i386-randconfig-r082-20230812 (https://download.01.org/0day-ci/archive/20230812/202308121007.jU4NvVxe-lkp@xxxxxxxxx/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230812/202308121007.jU4NvVxe-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308121007.jU4NvVxe-lkp@xxxxxxxxx/

sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/i915/gt/intel_lrc.c:851:34: sparse: sparse: dereference of noderef expression

vim +851 drivers/gpu/drm/i915/gt/intel_lrc.c

   847	
   848	static bool ctx_needs_runalone(const struct intel_context *ce)
   849	{
   850		if (GRAPHICS_VER_FULL(ce->engine->i915) >= IP_VER(12, 70) &&
 > 851		    ce->gem_context && ce->gem_context->uses_protected_content &&
   852		    (ce->engine->class == COMPUTE_CLASS || ce->engine->class == RENDER_CLASS))
   853			return true;
   854	
   855		return false;
   856	}
   857	

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



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

  Powered by Linux