|
@@ -312,40 +312,6 @@ struct dce_opp_registers {
|
|
|
uint32_t FMT_CLAMP_COMPONENT_B;
|
|
|
};
|
|
|
|
|
|
-struct dce110_regamma {
|
|
|
- struct gamma_curve arr_curve_points[16];
|
|
|
- struct curve_points arr_points[3];
|
|
|
- uint32_t hw_points_num;
|
|
|
- struct hw_x_point *coordinates_x;
|
|
|
- struct pwl_result_data *rgb_resulted;
|
|
|
-
|
|
|
- /* re-gamma curve */
|
|
|
- struct pwl_float_data_ex *rgb_regamma;
|
|
|
- /* coeff used to map user evenly distributed points
|
|
|
- * to our hardware points (predefined) for gamma 256 */
|
|
|
- struct pixel_gamma_point *coeff128;
|
|
|
- struct pixel_gamma_point *coeff128_oem;
|
|
|
- /* coeff used to map user evenly distributed points
|
|
|
- * to our hardware points (predefined) for gamma 1025 */
|
|
|
- struct pixel_gamma_point *coeff128_dx;
|
|
|
- /* evenly distributed points, gamma 256 software points 0-255 */
|
|
|
- struct gamma_pixel *axis_x_256;
|
|
|
- /* evenly distributed points, gamma 1025 software points 0-1025 */
|
|
|
- struct gamma_pixel *axis_x_1025;
|
|
|
- /* OEM supplied gamma for regamma LUT */
|
|
|
- struct pwl_float_data *rgb_oem;
|
|
|
- /* user supplied gamma */
|
|
|
- struct pwl_float_data *rgb_user;
|
|
|
- uint32_t extra_points;
|
|
|
- bool use_half_points;
|
|
|
- struct fixed31_32 x_max1;
|
|
|
- struct fixed31_32 x_max2;
|
|
|
- struct fixed31_32 x_min;
|
|
|
- struct fixed31_32 divider1;
|
|
|
- struct fixed31_32 divider2;
|
|
|
- struct fixed31_32 divider3;
|
|
|
-};
|
|
|
-
|
|
|
/* OPP RELATED */
|
|
|
#define TO_DCE110_OPP(opp)\
|
|
|
container_of(opp, struct dce110_opp, base)
|
|
@@ -355,7 +321,6 @@ struct dce110_opp {
|
|
|
const struct dce_opp_registers *regs;
|
|
|
const struct dce_opp_shift *opp_shift;
|
|
|
const struct dce_opp_mask *opp_mask;
|
|
|
- struct dce110_regamma regamma;
|
|
|
};
|
|
|
|
|
|
bool dce110_opp_construct(struct dce110_opp *opp110,
|