| /linux/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc_surface.c | 40 void dc_plane_construct(struct dc_context *ctx, struct dc_plane_state *plane_state) in dc_plane_construct() argument 42 plane_state->ctx = ctx; in dc_plane_construct() 44 plane_state->gamma_correction.is_identity = true; in dc_plane_construct() 46 plane_state->in_transfer_func.type = TF_TYPE_BYPASS; in dc_plane_construct() 48 plane_state->pre_multiplied_alpha = true; in dc_plane_construct() 51 plane_state->cm.shaper_func.type = TF_TYPE_BYPASS; in dc_plane_construct() 52 plane_state->cm.blend_func.type = TF_TYPE_BYPASS; in dc_plane_construct() 53 plane_state->cm.lut3d_func.state.raw = 0; in dc_plane_construct() 54 plane_state->cm.flags.all = 0; in dc_plane_construct() 57 void dc_plane_destruct(struct dc_plane_state *plane_state) in dc_plane_destruct() argument [all …]
|
| H A D | dc_resource.c | 1224 &pipe_ctx->plane_state->clip_rect); in calculate_recout() 1253 const struct dc_plane_state *plane_state = pipe_ctx->plane_state; in calculate_scaling_ratios() local 1255 struct rect surf_src = plane_state->src_rect; in calculate_scaling_ratios() 1262 if (pipe_ctx->plane_state->rotation == ROTATION_ANGLE_90 || in calculate_scaling_ratios() 1263 pipe_ctx->plane_state->rotation == ROTATION_ANGLE_270) in calculate_scaling_ratios() 1268 plane_state->dst_rect.width); in calculate_scaling_ratios() 1271 plane_state->dst_rect.height); in calculate_scaling_ratios() 1369 const struct dc_plane_state *plane_state = pipe_ctx->plane_state; in calculate_inits_and_viewports() local 1371 struct rect src = plane_state->src_rect; in calculate_inits_and_viewports() 1384 pipe_ctx, &plane_state->dst_rect); in calculate_inits_and_viewports() [all …]
|
| H A D | dc.c | 840 .plane = pipes->plane_state, in dc_stream_set_gamut_remap() 1222 (pipe_ctx->plane_state || old_pipe_ctx->plane_state)) in apply_ctx_interdependent_lock() 1232 memcpy(&pipe_ctx->visual_confirm_color, &pipe_ctx->plane_state->visual_confirm_color, in dc_update_visual_confirm_color() 1280 struct dc_plane_state *plane_state = NULL; in dc_get_visual_confirm_for_stream() local 1301 plane_state = stream_status->plane_states[i]; in dc_get_visual_confirm_for_stream() 1303 if (!plane_state) in dc_get_visual_confirm_for_stream() 1309 if (pipe->plane_state == plane_state) { in dc_get_visual_confirm_for_stream() 1377 if (pipe->stream && pipe->plane_state) { in dc_stream_adjust_vmin_vmax() 1436 if (old_pipe->plane_state && !new_pipe->plane_state) in disable_dangling_plane() 1464 if (pipe->stream && pipe->plane_state) { in disable_dangling_plane() [all …]
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_cursor.c | 36 static u32 intel_cursor_surf_offset(const struct intel_plane_state *plane_state) in intel_cursor_surf_offset() argument 38 return plane_state->view.color_plane[0].offset; in intel_cursor_surf_offset() 42 const struct intel_plane_state *plane_state, in intel_cursor_position() argument 45 int x = plane_state->uapi.dst.x1; in intel_cursor_position() 46 int y = plane_state->uapi.dst.y1; in intel_cursor_position() 55 y = max(-1 * drm_rect_height(&plane_state->uapi.dst) + 1, in intel_cursor_position() 73 static bool intel_cursor_size_ok(const struct intel_plane_state *plane_state) in intel_cursor_size_ok() argument 76 &plane_state->uapi.plane->dev->mode_config; in intel_cursor_size_ok() 77 int width = drm_rect_width(&plane_state->uapi.dst); in intel_cursor_size_ok() 78 int height = drm_rect_height(&plane_state->uapi.dst); in intel_cursor_size_ok() [all …]
|
| H A D | skl_universal_plane.c | 267 const struct intel_plane_state *plane_state) in icl_plane_min_cdclk() argument 269 unsigned int pixel_rate = intel_plane_pixel_rate_cdclk(crtc_state, plane_state); in icl_plane_min_cdclk() 276 glk_plane_ratio(const struct intel_plane_state *plane_state, in glk_plane_ratio() argument 279 const struct drm_framebuffer *fb = plane_state->hw.fb; in glk_plane_ratio() 291 const struct intel_plane_state *plane_state) in glk_plane_min_cdclk() argument 293 unsigned int pixel_rate = intel_plane_pixel_rate_cdclk(crtc_state, plane_state); in glk_plane_min_cdclk() 296 glk_plane_ratio(plane_state, &num, &den); in glk_plane_min_cdclk() 303 skl_plane_ratio(const struct intel_plane_state *plane_state, in skl_plane_ratio() argument 306 const struct drm_framebuffer *fb = plane_state->hw.fb; in skl_plane_ratio() 318 const struct intel_plane_state *plane_state) in skl_plane_min_cdclk() argument [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn50/ |
| H A D | dcn50_hwseq.c | 91 struct dc_plane_state *plane_state = pipe_ctx->plane_state; in dcn50_update_dchubp_dpp() local 144 plane_state->update_bits.bpp_change || in dcn50_update_dchubp_dpp() 145 plane_state->update_bits.input_csc_change || in dcn50_update_dchubp_dpp() 146 plane_state->update_bits.color_space_change || in dcn50_update_dchubp_dpp() 147 plane_state->update_bits.coeff_reduction_change) { in dcn50_update_dchubp_dpp() 148 struct dc_bias_and_scale bns_params = plane_state->bias_and_scale; in dcn50_update_dchubp_dpp() 152 plane_state->format, in dcn50_update_dchubp_dpp() 154 plane_state->input_csc_color_matrix, in dcn50_update_dchubp_dpp() 155 plane_state->color_space, in dcn50_update_dchubp_dpp() 160 plane_state->color_space, in dcn50_update_dchubp_dpp() [all …]
|
| /linux/drivers/gpu/drm/tests/ |
| H A D | drm_plane_helper_test.c | 82 static void check_src_eq(struct kunit *test, struct drm_plane_state *plane_state, in check_src_eq() argument 88 KUNIT_ASSERT_GE_MSG(test, plane_state->src.x1, 0, in check_src_eq() 90 plane_state->src.x1, DRM_RECT_FP_ARG(&plane_state->src)); in check_src_eq() 92 KUNIT_ASSERT_GE_MSG(test, plane_state->src.y1, 0, in check_src_eq() 94 plane_state->src.y1, DRM_RECT_FP_ARG(&plane_state->src)); in check_src_eq() 96 KUNIT_EXPECT_TRUE_MSG(test, drm_rect_equals(&plane_state->src, &expected), in check_src_eq() 98 DRM_RECT_FP_ARG(&plane_state->src), DRM_RECT_FP_ARG(&expected)); in check_src_eq() 101 static void check_crtc_eq(struct kunit *test, struct drm_plane_state *plane_state, in check_crtc_eq() argument 107 KUNIT_EXPECT_TRUE_MSG(test, drm_rect_equals(&plane_state->dst, &expected), in check_crtc_eq() 109 DRM_RECT_ARG(&plane_state->dst), DRM_RECT_ARG(&expected)); in check_crtc_eq() [all …]
|
| /linux/drivers/gpu/drm/ast/ |
| H A D | ast_cursor.c | 195 struct drm_plane_state *plane_state = &shadow_plane_state->base; in ast_cursor_plane_get_argb4444() local 196 struct drm_framebuffer *fb = plane_state->fb; in ast_cursor_plane_get_argb4444() 252 struct drm_plane_state *plane_state = drm_atomic_get_new_plane_state(state, plane); in ast_cursor_plane_helper_atomic_update() local 253 struct drm_shadow_plane_state *shadow_plane_state = to_drm_shadow_plane_state(plane_state); in ast_cursor_plane_helper_atomic_update() 254 struct drm_framebuffer *fb = plane_state->fb; in ast_cursor_plane_helper_atomic_update() 270 if (drm_atomic_helper_damage_merged(old_plane_state, plane_state, &damage)) { in ast_cursor_plane_helper_atomic_update() 285 writel(plane_state->crtc_x, sig + AST_HWC_SIGNATURE_X); in ast_cursor_plane_helper_atomic_update() 286 writel(plane_state->crtc_y, sig + AST_HWC_SIGNATURE_Y); in ast_cursor_plane_helper_atomic_update() 291 if (plane_state->crtc_x < 0) { in ast_cursor_plane_helper_atomic_update() 292 x_offset = (-plane_state->crtc_x) + offset_x; in ast_cursor_plane_helper_atomic_update() [all …]
|
| /linux/include/drm/ |
| H A D | drm_gem_atomic_helper.h | 100 struct drm_plane_state *plane_state); 114 int drm_gem_begin_shadow_fb_access(struct drm_plane *plane, struct drm_plane_state *plane_state); 115 void drm_gem_end_shadow_fb_access(struct drm_plane *plane, struct drm_plane_state *plane_state); 130 struct drm_plane_state *plane_state); 132 struct drm_plane_state *plane_state); 137 struct drm_plane_state *plane_state);
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/tests/ |
| H A D | amdgpu_dm_test.c | 330 struct drm_plane_state plane_state = { 0 }; in dm_test_fill_color_attr_rgb_format() local 335 plane_state.color_encoding = DRM_COLOR_YCBCR_BT709; in dm_test_fill_color_attr_rgb_format() 336 plane_state.color_range = DRM_COLOR_YCBCR_FULL_RANGE; in dm_test_fill_color_attr_rgb_format() 338 ret = fill_plane_color_attributes(&plane_state, in dm_test_fill_color_attr_rgb_format() 351 struct drm_plane_state plane_state = { 0 }; in dm_test_fill_color_attr_bt601_full() local 355 plane_state.color_encoding = DRM_COLOR_YCBCR_BT601; in dm_test_fill_color_attr_bt601_full() 356 plane_state.color_range = DRM_COLOR_YCBCR_FULL_RANGE; in dm_test_fill_color_attr_bt601_full() 358 ret = fill_plane_color_attributes(&plane_state, in dm_test_fill_color_attr_bt601_full() 371 struct drm_plane_state plane_state = { 0 }; in dm_test_fill_color_attr_bt601_limited() local 375 plane_state.color_encoding = DRM_COLOR_YCBCR_BT601; in dm_test_fill_color_attr_bt601_limited() [all …]
|
| /linux/drivers/gpu/drm/mediatek/ |
| H A D | mtk_crtc.c | 306 struct mtk_plane_state *plane_state; in ddp_cmdq_cb() local 308 plane_state = to_mtk_plane_state(plane->state); in ddp_cmdq_cb() 310 plane_state->pending.config = false; in ddp_cmdq_cb() 318 struct mtk_plane_state *plane_state; in ddp_cmdq_cb() local 320 plane_state = to_mtk_plane_state(plane->state); in ddp_cmdq_cb() 322 plane_state->pending.async_config = false; in ddp_cmdq_cb() 419 struct mtk_plane_state *plane_state; in mtk_crtc_ddp_hw_init() local 423 plane_state = to_mtk_plane_state(plane->state); in mtk_crtc_ddp_hw_init() 426 plane_state->pending.enable = false; in mtk_crtc_ddp_hw_init() 430 plane_state, NULL); in mtk_crtc_ddp_hw_init() [all …]
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_atomic_state_helper.c | 272 void __drm_atomic_helper_plane_state_init(struct drm_plane_state *plane_state, in __drm_atomic_helper_plane_state_init() argument 277 plane_state->plane = plane; in __drm_atomic_helper_plane_state_init() 278 plane_state->rotation = DRM_MODE_ROTATE_0; in __drm_atomic_helper_plane_state_init() 280 plane_state->alpha = DRM_BLEND_ALPHA_OPAQUE; in __drm_atomic_helper_plane_state_init() 282 plane_state->pixel_blend_mode = DRM_MODE_BLEND_PREMULTI; in __drm_atomic_helper_plane_state_init() 287 plane_state->pixel_blend_mode = val; in __drm_atomic_helper_plane_state_init() 294 plane_state->color_encoding = val; in __drm_atomic_helper_plane_state_init() 301 plane_state->color_range = val; in __drm_atomic_helper_plane_state_init() 306 plane_state->color_pipeline = NULL; in __drm_atomic_helper_plane_state_init() 313 plane_state->zpos = val; in __drm_atomic_helper_plane_state_init() [all …]
|
| H A D | drm_atomic_uapi.c | 190 drm_atomic_set_crtc_for_plane(struct drm_plane_state *plane_state, in drm_atomic_set_crtc_for_plane() argument 193 struct drm_plane *plane = plane_state->plane; in drm_atomic_set_crtc_for_plane() 196 if (plane_state->crtc == crtc) in drm_atomic_set_crtc_for_plane() 198 if (plane_state->crtc) { in drm_atomic_set_crtc_for_plane() 199 crtc_state = drm_atomic_get_crtc_state(plane_state->state, in drm_atomic_set_crtc_for_plane() 200 plane_state->crtc); in drm_atomic_set_crtc_for_plane() 207 plane_state->crtc = crtc; in drm_atomic_set_crtc_for_plane() 210 crtc_state = drm_atomic_get_crtc_state(plane_state->state, in drm_atomic_set_crtc_for_plane() 220 plane->base.id, plane->name, plane_state, in drm_atomic_set_crtc_for_plane() 225 plane->base.id, plane->name, plane_state); in drm_atomic_set_crtc_for_plane() [all …]
|
| H A D | drm_plane_helper.c | 107 struct drm_plane_state plane_state = { in drm_plane_helper_check_update() local 128 ret = drm_atomic_helper_check_plane_state(&plane_state, &crtc_state, in drm_plane_helper_check_update() 135 *src = plane_state.src; in drm_plane_helper_check_update() 136 *dst = plane_state.dst; in drm_plane_helper_check_update() 137 *visible = plane_state.visible; in drm_plane_helper_check_update()
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm_color.c | 1166 struct drm_plane_state *plane_state) in amdgpu_dm_verify_lut3d_size() argument 1168 struct dm_plane_state *dm_plane_state = to_dm_plane_state(plane_state); in amdgpu_dm_verify_lut3d_size() 1484 __set_dm_plane_degamma(struct drm_plane_state *plane_state, in __set_dm_plane_degamma() argument 1488 struct dm_plane_state *dm_plane_state = to_dm_plane_state(plane_state); in __set_dm_plane_degamma() 1499 drm_dbg(plane_state->state->dev, in __set_dm_plane_degamma() 1539 drm_err(plane_state->state->dev, in __set_dm_plane_degamma() 1576 __set_dm_plane_colorop_degamma(struct drm_plane_state *plane_state, in __set_dm_plane_colorop_degamma() argument 1582 struct drm_atomic_commit *state = plane_state->state; in __set_dm_plane_colorop_degamma() 1604 __set_dm_plane_colorop_3x4_matrix(struct drm_plane_state *plane_state, in __set_dm_plane_colorop_3x4_matrix() argument 1610 struct drm_atomic_commit *state = plane_state->state; in __set_dm_plane_colorop_3x4_matrix() [all …]
|
| H A D | amdgpu_dm_plane.c | 103 void amdgpu_dm_plane_fill_blending_from_plane_state(const struct drm_plane_state *plane_state, in amdgpu_dm_plane_fill_blending_from_plane_state() argument 113 if (plane_state->pixel_blend_mode == DRM_MODE_BLEND_PREMULTI || in amdgpu_dm_plane_fill_blending_from_plane_state() 114 plane_state->pixel_blend_mode == DRM_MODE_BLEND_COVERAGE) { in amdgpu_dm_plane_fill_blending_from_plane_state() 115 *per_pixel_alpha = plane_state->fb->format->has_alpha; in amdgpu_dm_plane_fill_blending_from_plane_state() 117 if (*per_pixel_alpha && plane_state->pixel_blend_mode == DRM_MODE_BLEND_COVERAGE) in amdgpu_dm_plane_fill_blending_from_plane_state() 121 if (plane_state->alpha < 0xffff) { in amdgpu_dm_plane_fill_blending_from_plane_state() 122 struct amdgpu_device *adev = drm_to_adev(plane_state->plane->dev); in amdgpu_dm_plane_fill_blending_from_plane_state() 131 *global_alpha_value = plane_state->alpha >> 4; in amdgpu_dm_plane_fill_blending_from_plane_state() 133 *global_alpha_value = plane_state->alpha >> 8; in amdgpu_dm_plane_fill_blending_from_plane_state() 1281 struct dc_plane_state *plane_state in amdgpu_dm_plane_helper_prepare_fb() 1299 struct dc_plane_state *plane_state = amdgpu_dm_plane_helper_prepare_fb() local [all...] |
| /linux/drivers/gpu/drm/amd/display/dc/ |
| H A D | dc_plane_priv.h | 31 void dc_plane_construct(struct dc_context *ctx, struct dc_plane_state *plane_state); 32 void dc_plane_destruct(struct dc_plane_state *plane_state); 33 uint8_t dc_plane_get_pipe_mask(struct dc_state *dc_state, const struct dc_plane_state *plane_state);
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dcn30/ |
| H A D | dcn30_hwseq.c | 237 struct pipe_ctx *pipe_ctx, const struct dc_plane_state *plane_state) in dcn30_set_blend_lut() argument 243 if (plane_state->cm.blend_func.type == TF_TYPE_HWPWL) in dcn30_set_blend_lut() 244 blend_lut = &plane_state->cm.blend_func.pwl; in dcn30_set_blend_lut() 245 else if (plane_state->cm.blend_func.type == TF_TYPE_DISTRIBUTED_POINTS) { in dcn30_set_blend_lut() 246 result = cm3_helper_translate_curve_to_hw_format(plane_state->ctx, in dcn30_set_blend_lut() 247 &plane_state->cm.blend_func, in dcn30_set_blend_lut() 319 const struct dc_plane_state *plane_state) in dcn30_set_input_transfer_func() argument 327 if (dpp_base == NULL || plane_state == NULL) in dcn30_set_input_transfer_func() 332 if (plane_state->in_transfer_func.type == TF_TYPE_PREDEFINED) in dcn30_set_input_transfer_func() 333 tf = plane_state->in_transfer_func.tf; in dcn30_set_input_transfer_func() [all …]
|
| /linux/drivers/gpu/drm/tegra/ |
| H A D | dc.c | 722 struct tegra_plane_state *plane_state = to_tegra_plane_state(new_plane_state); in tegra_plane_atomic_check() local 727 struct tegra_bo_tiling *tiling = &plane_state->tiling; in tegra_plane_atomic_check() 732 plane_state->peak_memory_bandwidth = 0; in tegra_plane_atomic_check() 733 plane_state->avg_memory_bandwidth = 0; in tegra_plane_atomic_check() 737 plane_state->total_peak_memory_bandwidth = 0; in tegra_plane_atomic_check() 742 &plane_state->format, in tegra_plane_atomic_check() 743 &plane_state->swap); in tegra_plane_atomic_check() 754 err = tegra_plane_setup_legacy_state(tegra, plane_state); in tegra_plane_atomic_check() 781 plane_state->reflect_x = true; in tegra_plane_atomic_check() 783 plane_state->reflect_x = false; in tegra_plane_atomic_check() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/ |
| H A D | dml2_dc_resource_mgmt.c | 130 …if (state->res_ctx.pipe_ctx[i].plane_state && get_plane_id(ctx, state, state->res_ctx.pipe_ctx[i].… in find_master_pipe_of_plane() 151 if (!pipe->plane_state || !pipe->stream) in find_pipes_assigned_to_plane() 154 get_plane_id(ctx, state, pipe->plane_state, pipe->stream->stream_id, in find_pipes_assigned_to_plane() 158 && (!pipe->top_pipe || pipe->top_pipe->plane_state != pipe->plane_state)) { in find_pipes_assigned_to_plane() 167 if (mpc_pipe->plane_state != pipe->plane_state) in find_pipes_assigned_to_plane() 233 if (pipe->plane_state) in is_plane_using_pipe() 241 if (!pipe->plane_state && !pipe->stream) in is_pipe_free() 721 if (state->res_ctx.pipe_ctx[i].plane_state == plane && in free_unused_pipes_for_plane() 1175 if (pipe->plane_state) { in dml2_map_dc_pipes()
|
| /linux/drivers/gpu/drm/tiny/ |
| H A D | sharp-memory.c | 227 struct drm_plane_state *plane_state = drm_atomic_get_new_plane_state(state, plane); in sharp_memory_plane_atomic_check() local 234 return drm_atomic_helper_check_plane_state(plane_state, crtc_state, in sharp_memory_plane_atomic_check() 244 struct drm_plane_state *plane_state = plane->state; in sharp_memory_plane_atomic_update() local 245 struct drm_shadow_plane_state *shadow_plane_state = to_drm_shadow_plane_state(plane_state); in sharp_memory_plane_atomic_update() 253 if (drm_atomic_helper_damage_merged(old_state, plane_state, &rect)) in sharp_memory_plane_atomic_update() 254 sharp_memory_fb_dirty(plane_state->fb, shadow_plane_state->data, in sharp_memory_plane_atomic_update()
|
| /linux/drivers/gpu/drm/qxl/ |
| H A D | qxl_display.c | 515 struct drm_plane_state *plane_state) in qxl_primary_apply_cursor() argument 517 struct qxl_crtc *qcrtc = to_qxl_crtc(plane_state->crtc); in qxl_primary_apply_cursor() 541 cmd->u.set.position.x = plane_state->crtc_x + plane_state->hotspot_x; in qxl_primary_apply_cursor() 542 cmd->u.set.position.y = plane_state->crtc_y + plane_state->hotspot_y; in qxl_primary_apply_cursor() 560 struct drm_plane_state *plane_state) in qxl_primary_move_cursor() argument 562 struct qxl_crtc *qcrtc = to_qxl_crtc(plane_state->crtc); in qxl_primary_move_cursor() 584 cmd->u.position.x = plane_state->crtc_x + plane_state->hotspot_x; in qxl_primary_move_cursor() 585 cmd->u.position.y = plane_state->crtc_y + plane_state->hotspot_y; in qxl_primary_move_cursor()
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn315/ |
| H A D | dcn315_resource.c | 1814 (res_ctx->pipe_ctx[i].plane_state && (res_ctx->pipe_ctx[i].plane_state->src_rect.width in allow_pixel_rate_crb() 1815 != res_ctx->pipe_ctx[i].plane_state->dst_rect.width || in allow_pixel_rate_crb() 1816 res_ctx->pipe_ctx[i].plane_state->src_rect.height in allow_pixel_rate_crb() 1817 != res_ctx->pipe_ctx[i].plane_state->dst_rect.height))) in allow_pixel_rate_crb() 1820 …pe_ctx[i].top_pipe && res_ctx->pipe_ctx[i].top_pipe->plane_state != res_ctx->pipe_ctx[i].plane_sta… in allow_pixel_rate_crb() 1873 …split_required = split_required || (pipe->plane_state && pipe->plane_state->src_rect.width > 5120); in dcn315_populate_dml_pipes_from_context() 1922 || (pipe->plane_state && pipe->plane_state->src_rect.width > 5120); in dcn315_populate_dml_pipes_from_context() 1951 if (pipe_cnt == 1 && pipe->plane_state && !dc->debug.disable_z9_mpc) { in dcn315_populate_dml_pipes_from_context() 1952 if (is_dual_plane(pipe->plane_state->format) in dcn315_populate_dml_pipes_from_context() 1953 && pipe->plane_state->src_rect.width <= 1920 && pipe->plane_state->src_rect.height <= 1080) { in dcn315_populate_dml_pipes_from_context() [all …]
|
| /linux/drivers/gpu/drm/sysfb/ |
| H A D | drm_sysfb_helper.h | 112 struct drm_plane_state *plane_state); 140 struct drm_plane_state *plane_state);
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn30/ |
| H A D | dcn30_resource.c | 1737 ASSERT(pri_pipe->plane_state); in dcn30_split_stream_for_mpc_or_odm() 1873 && pipe->plane_state && mpo_pipe in dcn30_internal_validate_bw() 1874 && memcmp(&mpo_pipe->plane_state->clip_rect, in dcn30_internal_validate_bw() 1877 ASSERT(mpo_pipe->plane_state != pipe->plane_state); in dcn30_internal_validate_bw() 1901 pipe->plane_state = NULL; in dcn30_internal_validate_bw() 1910 } else if (pipe->top_pipe && pipe->top_pipe->plane_state == pipe->plane_state) { in dcn30_internal_validate_bw() 1920 pipe->plane_state = NULL; in dcn30_internal_validate_bw() 1943 if (!pipe->plane_state && !odm) in dcn30_internal_validate_bw() 1954 old_pipe->bottom_pipe->bottom_pipe->plane_state == old_pipe->plane_state) in dcn30_internal_validate_bw() 1957 old_pipe->bottom_pipe->plane_state == old_pipe->plane_state) in dcn30_internal_validate_bw() [all …]
|