Many lines of code in dcn31_resource_construct are wrapped by DC_FP
macro to protect FPU operations; however, there is no FPU in this
region. Therefore, just remove the wrapper for clarity.
Signed-off-by: Melissa Wen <mwen@igalia.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
struct dc_context *ctx = dc->ctx;
struct irq_service_init_data init_data;
struct dc_context *ctx = dc->ctx;
struct irq_service_init_data init_data;
ctx->dc_bios->regs = &bios_regs;
pool->base.res_cap = &res_cap_dcn31;
ctx->dc_bios->regs = &bios_regs;
pool->base.res_cap = &res_cap_dcn31;
dc->dcn_ip->max_num_dpp = dcn3_1_ip.max_num_dpp;
dc->dcn_ip->max_num_dpp = dcn3_1_ip.max_num_dpp;
return true;
create_fail:
return true;
create_fail:
dcn31_resource_destruct(pool);
return false;
dcn31_resource_destruct(pool);
return false;