Re: [PATCH] [v3] drm: amd: dc: don't use FP math when Kcov is enabled

2018-08-16 Thread Arnd Bergmann
On Thu, Aug 16, 2018 at 9:56 PM Leo Li wrote: > On 2018-08-11 11:54 AM, Arnd Bergmann wrote: > > > > I tried implementing the two functions in KCOV: __sanitizer_cov_trace_cmpd > > and __sanitizer_cov_trace_cmpf, but that fails to build on architectures > > that do not support any floating-point fu

Re: [PATCH] [v3] drm: amd: dc: don't use FP math when Kcov is enabled

2018-08-16 Thread Leo Li
On 2018-08-11 11:54 AM, Arnd Bergmann wrote: Building the DCN 1.0 Raven display driver with CONFIG_KCOV_INSTRUMENT_ALL=y and CONFIG_KCOV_ENABLE_COMPARISONS=y results in warnings about many functions that do a comparison of floating-point variables: drivers/gpu/drm/amd/display/dc/calcs/dcn_calc

allmodconfig/allyesconfig doesn't work with Kernel 4.18 - Was: Re: [PATCH] [v3] drm: amd: dc: don't use FP math when Kcov is enabled

2018-08-15 Thread Mauro Carvalho Chehab
Em Sat, 11 Aug 2018 17:54:12 +0200 Arnd Bergmann escreveu: > Building the DCN 1.0 Raven display driver with CONFIG_KCOV_INSTRUMENT_ALL=y > and CONFIG_KCOV_ENABLE_COMPARISONS=y results in warnings about many functions > that do a comparison of floating-point variables: > > drivers/gpu/drm/amd/dis

Re: [PATCH] [v3] drm: amd: dc: don't use FP math when Kcov is enabled

2018-08-14 Thread Christian König
Am 14.08.2018 um 11:15 schrieb Arnd Bergmann: On Tue, Aug 14, 2018 at 10:54 AM Michel Dänzer wrote: On 2018-08-13 05:23 PM, Arnd Bergmann wrote: On Mon, Aug 13, 2018 at 4:49 PM Alex Deucher wrote: On Sun, Aug 12, 2018 at 3:55 AM Christian König wrote: Adding Harry as well. Am 11.08.2018 um

Re: [PATCH] [v3] drm: amd: dc: don't use FP math when Kcov is enabled

2018-08-14 Thread Arnd Bergmann
On Tue, Aug 14, 2018 at 10:54 AM Michel Dänzer wrote: > > On 2018-08-13 05:23 PM, Arnd Bergmann wrote: > > On Mon, Aug 13, 2018 at 4:49 PM Alex Deucher wrote: > >> > >> On Sun, Aug 12, 2018 at 3:55 AM Christian König > >> wrote: > >>> Adding Harry as well. > >>> Am 11.08.2018 um 17:54 schrieb Ar

Re: [PATCH] [v3] drm: amd: dc: don't use FP math when Kcov is enabled

2018-08-14 Thread Michel Dänzer
On 2018-08-13 05:23 PM, Arnd Bergmann wrote: > On Mon, Aug 13, 2018 at 4:49 PM Alex Deucher wrote: >> >> On Sun, Aug 12, 2018 at 3:55 AM Christian König >> wrote: >>> Adding Harry as well. >>> Am 11.08.2018 um 17:54 schrieb Arnd Bergmann: Fixes: bf2e2e2e0ea9 ("drm/amd/display: Limit DCN

Re: [PATCH] [v3] drm: amd: dc: don't use FP math when Kcov is enabled

2018-08-13 Thread Arnd Bergmann
On Mon, Aug 13, 2018 at 4:49 PM Alex Deucher wrote: > > On Sun, Aug 12, 2018 at 3:55 AM Christian König > wrote: > > Adding Harry as well. > > Am 11.08.2018 um 17:54 schrieb Arnd Bergmann: > > > > > > Fixes: bf2e2e2e0ea9 ("drm/amd/display: Limit DCN to x86 arch") > > > Fixes: 4841203102a3 ("drm/a

Re: [PATCH] [v3] drm: amd: dc: don't use FP math when Kcov is enabled

2018-08-13 Thread Alex Deucher
On Sun, Aug 12, 2018 at 3:55 AM Christian König wrote: > > Adding Harry as well. > > Am 11.08.2018 um 17:54 schrieb Arnd Bergmann: > > Building the DCN 1.0 Raven display driver with CONFIG_KCOV_INSTRUMENT_ALL=y > > and CONFIG_KCOV_ENABLE_COMPARISONS=y results in warnings about many > > functions

Re: [PATCH] [v3] drm: amd: dc: don't use FP math when Kcov is enabled

2018-08-12 Thread Christian König
Adding Harry as well. Am 11.08.2018 um 17:54 schrieb Arnd Bergmann: Building the DCN 1.0 Raven display driver with CONFIG_KCOV_INSTRUMENT_ALL=y and CONFIG_KCOV_ENABLE_COMPARISONS=y results in warnings about many functions that do a comparison of floating-point variables: drivers/gpu/drm/amd/dis

[PATCH] [v3] drm: amd: dc: don't use FP math when Kcov is enabled

2018-08-11 Thread Arnd Bergmann
Building the DCN 1.0 Raven display driver with CONFIG_KCOV_INSTRUMENT_ALL=y and CONFIG_KCOV_ENABLE_COMPARISONS=y results in warnings about many functions that do a comparison of floating-point variables: drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.o: In function `dcn_bw_calc_rq_dlg_ttu': dcn_c