Rodrigo Siqueira 64f991590f drm/amd/display: Fix a compilation failure on PowerPC caused by FPU code
We got a report from Stephen/Michael that the PowerPC build was failing
with the following error:

ld: drivers/gpu/drm/amd/display/dc/dml/display_mode_lib.o uses hard float, drivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.o uses soft float
ld: failed to merge target specific data of file drivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.o

This error happened because of the function optc3_set_vrr_m_const. This
function expects a double as a parameter in a code that is not allowed
to have FPU operations. After further investigation, it became clear
that optc3_set_vrr_m_const was never invoked, so we can safely drop this
function and fix the ld issue.

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Melissa Wen <mwen@igalia.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reported-by: Michael Ellerman <mpe@ellerman.id.au>
Tested-by: Michael Ellerman <mpe@ellerman.id.au>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-07-29 15:24:38 -04:00
..
2022-07-13 14:17:35 +10:00
2022-06-20 23:53:55 +03:00
2022-07-22 15:51:31 +10:00
2022-07-12 17:01:42 +10:00
2022-06-15 19:12:17 +02:00
2022-07-25 09:31:02 -04:00
2022-07-13 10:54:56 +10:00
2022-07-12 16:50:05 +10:00
2022-07-13 10:54:56 +10:00
2022-06-20 23:53:55 +03:00
2022-06-12 22:10:50 -01:00
2022-07-13 10:54:56 +10:00
2022-07-13 10:54:56 +10:00
2022-06-28 07:56:32 +02:00
2022-03-24 16:19:43 -07:00
2022-02-07 16:35:35 -08:00
2022-05-04 14:09:34 +02:00
2022-04-07 12:53:53 +02:00
2022-07-13 10:54:56 +10:00
2022-02-25 05:50:18 +10:00
2022-04-12 09:27:20 +03:00