]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: dc_assert_fp_enabled assert only if FPU is not enabled
authorAnson Jacob <Anson.Jacob@amd.com>
Thu, 9 Sep 2021 16:48:29 +0000 (12:48 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 16 Sep 2021 13:56:23 +0000 (09:56 -0400)
commitd098e936e32ecdd3acd8a2219b8e9cef1d55ba9b
tree222075b9dba587b37aea82a7b4e511212cc79d25
parent6cabbe24bce54c5c8f0f07eef67784e2ab949c92
drm/amd/display: dc_assert_fp_enabled assert only if FPU is not enabled

Assert only when FPU is not enabled.

Fixes: 9d9e364576a6 ("drm/amd/display: Add DC_FP helper to check FPU state")
Signed-off-by: Anson Jacob <Anson.Jacob@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: Hersen Wu <hersenxs.wu@amd.com>
Cc: Harry Wentland <harry.wentland@amd.com>
Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/dc_fpu.c