Rodrigo Siqueira <Rodrigo.Siqueira@xxxxxxx> writes: > 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@xxxxxxx> > Cc: Melissa Wen <mwen@xxxxxxxxxx> > Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> > Reported-by: Michael Ellerman <mpe@xxxxxxxxxxxxxx> > Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@xxxxxxx> > --- > drivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.c | 8 -------- > drivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.h | 3 --- > drivers/gpu/drm/amd/display/dc/dcn32/dcn32_optc.c | 1 - > drivers/gpu/drm/amd/display/dc/inc/hw/timing_generator.h | 2 -- > 4 files changed, 14 deletions(-) Thanks, that fixes the build issue for me. Tested-by: Michael Ellerman <mpe@xxxxxxxxxxxxxx> cheers