Re: [Intel-gfx] [PATCH] drm/i915: Silence build error with UBSAN

2018-10-16 Thread Jani Nikula
On Tue, 16 Oct 2018, Chris Wilson wrote: > Quoting Jani Nikula (2018-10-16 10:59:42) >> diff --git a/drivers/gpu/drm/i915/intel_engine_cs.c >> b/drivers/gpu/drm/i915/intel_engine_cs.c >> index f27dbe26bcc1..897d5a557d88 100644 >> --- a/drivers/gpu/drm/i915/intel_engine_cs.c >> +++ b/drivers/gpu/d

Re: [Intel-gfx] [PATCH] drm/i915: Silence build error with UBSAN

2018-10-16 Thread Chris Wilson
Quoting Jani Nikula (2018-10-16 10:59:42) > On Mon, 15 Oct 2018, Stephen Boyd wrote: > > When I enable UBSAN and compile this driver with clang I get the > > following build error: > > > > drivers/gpu/drm/i915/intel_engine_cs.o: In function > > `intel_engine_init_execlist': > > drivers/gpu/drm/i9

Re: [Intel-gfx] [PATCH] drm/i915: Silence build error with UBSAN

2018-10-16 Thread Jani Nikula
On Mon, 15 Oct 2018, Stephen Boyd wrote: > When I enable UBSAN and compile this driver with clang I get the > following build error: > > drivers/gpu/drm/i915/intel_engine_cs.o: In function > `intel_engine_init_execlist': > drivers/gpu/drm/i915/intel_engine_cs.c:411: undefined reference to > `__c

[Intel-gfx] [PATCH] drm/i915: Silence build error with UBSAN

2018-10-15 Thread Stephen Boyd
When I enable UBSAN and compile this driver with clang I get the following build error: drivers/gpu/drm/i915/intel_engine_cs.o: In function `intel_engine_init_execlist': drivers/gpu/drm/i915/intel_engine_cs.c:411: undefined reference to `__compiletime_assert_411' from what I can figure out, the