forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/drivers/gpu/drm/amd/display/dc/inc/hw/opp.h
....@@ -208,6 +208,7 @@
208208 struct mpc_tree mpc_tree_params;
209209 bool mpcc_disconnect_pending[MAX_PIPES];
210210 const struct opp_funcs *funcs;
211
+ uint32_t dyn_expansion;
211212 };
212213
213214 enum fmt_stereo_action {
....@@ -262,6 +263,7 @@
262263 enum oppbuf_display_segmentation mso_segmentation;
263264 uint32_t mso_overlap_pixel_num;
264265 uint32_t pixel_repetition;
266
+ uint32_t num_segment_padded_pixels;
265267 };
266268
267269 struct opp_funcs {
....@@ -301,6 +303,27 @@
301303 struct output_pixel_processor *opp,
302304 bool enable);
303305
306
+ void (*opp_set_disp_pattern_generator)(
307
+ struct output_pixel_processor *opp,
308
+ enum controller_dp_test_pattern test_pattern,
309
+ enum controller_dp_color_space color_space,
310
+ enum dc_color_depth color_depth,
311
+ const struct tg_color *solid_color,
312
+ int width,
313
+ int height,
314
+ int offset);
315
+
316
+ bool (*dpg_is_blanked)(
317
+ struct output_pixel_processor *opp);
318
+
319
+ void (*opp_dpg_set_blank_color)(
320
+ struct output_pixel_processor *opp,
321
+ const struct tg_color *color);
322
+
323
+ void (*opp_program_left_edge_extra_pixel)(
324
+ struct output_pixel_processor *opp,
325
+ bool count);
326
+
304327 };
305328
306329 #endif