linux-uconsole/drivers/gpu
Krunoslav Kovac e05c6786ab drm/amd/display: fix pow() crashing when given base 0
commit d2e59d0ff4 upstream.

[Why&How]
pow(a,x) is implemented as exp(x*log(a)). log(0) will crash.
So return 0^x = 0, unless x=0, convention seems to be 0^0 = 1.

Cc: stable@vger.kernel.org
Signed-off-by: Krunoslav Kovac <Krunoslav.Kovac@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-08-26 10:31:00 +02:00
..
drm drm/amd/display: fix pow() crashing when given base 0 2020-08-26 10:31:00 +02:00
host1x gpu: host1x: debug: Fix multiple channels emitting messages simultaneously 2020-08-19 08:14:52 +02:00
ipu-v3 gpu: ipu-v3: image-convert: Combine rotate/no-rotate irq handlers 2020-08-21 11:05:35 +02:00
vga vga_switcheroo: Fix missing gpu_bound call at audio client registration 2018-11-13 11:09:00 -08:00
Makefile