[Intel-xe] [drm-xe:drm-xe-next 3/3] drivers/gpu/drm/xe/xe_lrc.c:26: warning: "CTX_VALID" redefined
kernel test robot
lkp at intel.com
Tue Nov 28 05:56:05 UTC 2023
Hi Lucas,
FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
tree: https://gitlab.freedesktop.org/drm/xe/kernel.git drm-xe-next
head: 30f75cb8aa11ac361220d1491262254371302f9e
commit: 50846befe4ba5c1ce589dc88087d45991f8069ba [3/3] drm/xe: Remove GEN[0-9]*_ prefixes
config: sparc-allmodconfig (https://download.01.org/0day-ci/archive/20231128/202311281042.9kbU5vGV-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231128/202311281042.9kbU5vGV-lkp@intel.com/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 at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311281042.9kbU5vGV-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/xe/xe_lrc.c:26: warning: "CTX_VALID" redefined
26 | #define CTX_VALID (1 << 0)
|
In file included from arch/sparc/include/asm/mmu.h:5,
from include/linux/mm_types.h:23,
from arch/sparc/include/asm/uaccess_64.h:11,
from arch/sparc/include/asm/uaccess.h:8,
from include/linux/uaccess.h:11,
from include/linux/sched/task.h:11,
from include/linux/sched/signal.h:9,
from include/linux/rcuwait.h:6,
from include/linux/irq_work.h:6,
from drivers/gpu/drm/xe/xe_hw_fence_types.h:11,
from drivers/gpu/drm/xe/xe_lrc_types.h:9,
from drivers/gpu/drm/xe/xe_lrc.h:8,
from drivers/gpu/drm/xe/xe_lrc.c:6:
arch/sparc/include/asm/mmu_64.h:57: note: this is the location of the previous definition
57 | #define CTX_VALID(__ctx) \
|
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for INTEL_MEI_ME
Depends on [n]: X86 && PCI [=y]
Selected by [m]:
- INTEL_MEI_HDCP [=m] && (DRM_I915 [=n] || DRM_XE [=m])
vim +/CTX_VALID +26 drivers/gpu/drm/xe/xe_lrc.c
25
> 26 #define CTX_VALID (1 << 0)
27 #define CTX_PRIVILEGE (1 << 8)
28 #define CTX_ADDRESSING_MODE_SHIFT 3
29 #define LEGACY_64B_CONTEXT 3
30
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the Intel-xe
mailing list