✗ Fi.CI.BUILD: failure for drm/i915: Remove obj->mm.lock! (rev4)

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

 



== Series Details ==

Series: drm/i915: Remove obj->mm.lock! (rev4)
URL   : https://patchwork.freedesktop.org/series/82337/
State : failure

== Summary ==

CALL    scripts/checksyscalls.sh
  CALL    scripts/atomic/check-atomics.sh
  DESCEND  objtool
  CHK     include/generated/compile.h
  CC [M]  drivers/gpu/drm/i915/gt/intel_timeline.o
drivers/gpu/drm/i915/gt/intel_timeline.c: In function ‘intel_timeline_pin_map’:
drivers/gpu/drm/i915/gt/intel_timeline.c:67:18: error: passing argument 1 of ‘clflush’ discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
  clflush(timeline->hwsp_seqno);
          ~~~~~~~~^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/processor.h:25,
                 from ./arch/x86/include/asm/cpufeature.h:5,
                 from ./arch/x86/include/asm/thread_info.h:53,
                 from ./include/linux/thread_info.h:38,
                 from ./arch/x86/include/asm/preempt.h:7,
                 from ./include/linux/preempt.h:78,
                 from ./include/linux/spinlock.h:51,
                 from ./include/linux/mmzone.h:8,
                 from ./include/linux/gfp.h:6,
                 from ./include/linux/slab.h:15,
                 from ./include/linux/io-mapping.h:10,
                 from ./drivers/gpu/drm/i915/i915_drv.h:36,
                 from drivers/gpu/drm/i915/gt/intel_timeline.c:7:
./arch/x86/include/asm/special_insns.h:208:43: note: expected ‘volatile void *’ but argument is of type ‘const u32 *’ {aka ‘const unsigned int *’}
 static inline void clflush(volatile void *__p)
                            ~~~~~~~~~~~~~~~^~~
drivers/gpu/drm/i915/gt/intel_timeline.c: In function ‘intel_timeline_reset_seqno’:
drivers/gpu/drm/i915/gt/intel_timeline.c:196:12: error: passing argument 1 of ‘clflush’ discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
  clflush(tl->hwsp_seqno);
          ~~^~~~~~~~~~~~
In file included from ./arch/x86/include/asm/processor.h:25,
                 from ./arch/x86/include/asm/cpufeature.h:5,
                 from ./arch/x86/include/asm/thread_info.h:53,
                 from ./include/linux/thread_info.h:38,
                 from ./arch/x86/include/asm/preempt.h:7,
                 from ./include/linux/preempt.h:78,
                 from ./include/linux/spinlock.h:51,
                 from ./include/linux/mmzone.h:8,
                 from ./include/linux/gfp.h:6,
                 from ./include/linux/slab.h:15,
                 from ./include/linux/io-mapping.h:10,
                 from ./drivers/gpu/drm/i915/i915_drv.h:36,
                 from drivers/gpu/drm/i915/gt/intel_timeline.c:7:
./arch/x86/include/asm/special_insns.h:208:43: note: expected ‘volatile void *’ but argument is of type ‘const u32 * const’ {aka ‘const unsigned int * const’}
 static inline void clflush(volatile void *__p)
                            ~~~~~~~~~~~~~~~^~~
cc1: all warnings being treated as errors
scripts/Makefile.build:283: recipe for target 'drivers/gpu/drm/i915/gt/intel_timeline.o' failed
make[4]: *** [drivers/gpu/drm/i915/gt/intel_timeline.o] Error 1
scripts/Makefile.build:500: recipe for target 'drivers/gpu/drm/i915' failed
make[3]: *** [drivers/gpu/drm/i915] Error 2
scripts/Makefile.build:500: recipe for target 'drivers/gpu/drm' failed
make[2]: *** [drivers/gpu/drm] Error 2
scripts/Makefile.build:500: recipe for target 'drivers/gpu' failed
make[1]: *** [drivers/gpu] Error 2
Makefile:1784: recipe for target 'drivers' failed
make: *** [drivers] Error 2


_______________________________________________
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