From: Dave Airlie <[email protected]> Drop the unused custom_float_value and the spl one.
Signed-off-by: Dave Airlie <[email protected]> --- drivers/gpu/drm/amd/display/dc/inc/custom_float.h | 7 ++++++- drivers/gpu/drm/amd/display/dc/inc/hw/opp.h | 13 ------------- .../gpu/drm/amd/display/dc/sspl/spl_custom_float.h | 7 ------- 3 files changed, 6 insertions(+), 21 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/inc/custom_float.h b/drivers/gpu/drm/amd/display/dc/inc/custom_float.h index f57239672216..c408fee8e181 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/custom_float.h +++ b/drivers/gpu/drm/amd/display/dc/inc/custom_float.h @@ -28,7 +28,12 @@ #include "bw_fixed.h" #include "hw_shared.h" -#include "opp.h" + +struct custom_float_format { + uint32_t mantissa_bits; + uint32_t exponenta_bits; + bool sign; +}; bool convert_to_custom_float_format( diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h b/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h index 73cc34ea7726..ce30eab16f86 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h +++ b/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h @@ -142,19 +142,6 @@ enum channel_name { CHANNEL_NAME_BLUE }; -struct custom_float_format { - uint32_t mantissa_bits; - uint32_t exponenta_bits; - bool sign; -}; - -struct custom_float_value { - uint32_t mantissa; - uint32_t exponenta; - uint32_t value; - bool negative; -}; - struct hw_x_point { uint32_t custom_float_x; struct fixed31_32 x; diff --git a/drivers/gpu/drm/amd/display/dc/sspl/spl_custom_float.h b/drivers/gpu/drm/amd/display/dc/sspl/spl_custom_float.h index f3fd8d30e638..60620537ae3e 100644 --- a/drivers/gpu/drm/amd/display/dc/sspl/spl_custom_float.h +++ b/drivers/gpu/drm/amd/display/dc/sspl/spl_custom_float.h @@ -14,13 +14,6 @@ struct spl_custom_float_format { bool sign; }; -struct spl_custom_float_value { - uint32_t mantissa; - uint32_t exponenta; - uint32_t value; - bool negative; -}; - bool SPL_NAMESPACE(spl_convert_to_custom_float_format( struct spl_fixed31_32 value, const struct spl_custom_float_format *format, -- 2.54.0
