drm/amd/display: Add a warning if the FPU is used outside from task context.
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Thu, 21 Sep 2023 14:15:14 +0000 (16:15 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 9 Oct 2023 20:47:37 +0000 (16:47 -0400)
commit80364500c02367cd0901c2d6e0d5d1e3e3e42abc
treec5bd402bf42cf3a3e95344d63e99b19ef1d502bf
parent0f0e59075b5c22f1e871fbd508d6e4f495048356
drm/amd/display: Add a warning if the FPU is used outside from task context.

Add a warning if the FPU is used from any context other than task
context. This is only precaution since the code is not able to be used
from softirq while the API allows it on x86 for instance.

Acked-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/dc_fpu.c