drm/amd/display: Create patch bounding box function for isolate FPU
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Thu, 14 Jul 2022 20:13:10 +0000 (16:13 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 25 Jul 2022 21:16:20 +0000 (17:16 -0400)
commitbdf4473394deffc94c16c0502e73f2daabbdc1d0
tree41d494e14b9c878d1bb2d14f52b716eb505acaac
parent05674cc9ea97079ad7c819628e3e56b046c2f497
drm/amd/display: Create patch bounding box function for isolate FPU

In the DCN30 resource, we have a small patch to the bounding box struct;
this patch uses FPU operations. This commit moves that specific part to
its function under the DML folder.

Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c
drivers/gpu/drm/amd/display/dc/dml/dcn30/dcn30_fpu.c
drivers/gpu/drm/amd/display/dc/dml/dcn30/dcn30_fpu.h