]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Move predict pipe to dml fpu folder
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Thu, 7 Jul 2022 21:15:19 +0000 (17:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 25 Jul 2022 13:31:03 +0000 (09:31 -0400)
commit9f8cdd8eb64ce330269439e2dfdb002ec83eee26
tree9550ac2a6ba8349f49a13194cd2e9ce649f34b7b
parentc2d5862bcba6b3cf0791a503147cc74845370117
drm/amd/display: Move predict pipe to dml fpu folder

The function dcn32_predict_pipe_split uses FPU operations. This commit
moves this function to the dcn32_fpu file, and we ensure that we only
invoke it under the kernel_fpu protection.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource.c
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource.h
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource_helpers.c
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.h