Rodrigo Siqueira <rodrigo.sique...@amd.com> 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.deuc...@amd.com> > Cc: Melissa Wen <m...@igalia.com> > Reported-by: Stephen Rothwell <s...@canb.auug.org.au> > Reported-by: Michael Ellerman <m...@ellerman.id.au> > Signed-off-by: Rodrigo Siqueira <rodrigo.sique...@amd.com> > --- > 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 <m...@ellerman.id.au> cheers