/Linux-v6.6/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_surface.c | 38 static void dc_plane_construct(struct dc_context *ctx, struct dc_plane_state *plane_state) in dc_plane_construct() argument 40 plane_state->ctx = ctx; in dc_plane_construct() 42 plane_state->gamma_correction = dc_create_gamma(); in dc_plane_construct() 43 if (plane_state->gamma_correction != NULL) in dc_plane_construct() 44 plane_state->gamma_correction->is_identity = true; in dc_plane_construct() 46 plane_state->in_transfer_func = dc_create_transfer_func(); in dc_plane_construct() 47 if (plane_state->in_transfer_func != NULL) { in dc_plane_construct() 48 plane_state->in_transfer_func->type = TF_TYPE_BYPASS; in dc_plane_construct() 50 plane_state->in_shaper_func = dc_create_transfer_func(); in dc_plane_construct() 51 if (plane_state->in_shaper_func != NULL) { in dc_plane_construct() [all …]
|
D | dc_debug.c | 66 const struct dc_plane_state *plane_state = plane_states[i]; in pre_surface_trace() local 80 plane_state->visible, in pre_surface_trace() 81 plane_state->flip_immediate, in pre_surface_trace() 82 plane_state->address.type, in pre_surface_trace() 83 plane_state->address.grph.addr.quad_part, in pre_surface_trace() 84 plane_state->address.grph.meta_addr.quad_part, in pre_surface_trace() 85 plane_state->scaling_quality.h_taps, in pre_surface_trace() 86 plane_state->scaling_quality.v_taps, in pre_surface_trace() 87 plane_state->scaling_quality.h_taps_c, in pre_surface_trace() 88 plane_state->scaling_quality.v_taps_c); in pre_surface_trace() [all …]
|
D | dc_hw_sequencer.c | 337 if (pipe_ctx->plane_state->layer_index > 0) { in get_surface_visual_confirm_color() 347 if (pipe_ctx->plane_state->layer_index > 0) { in get_surface_visual_confirm_color() 366 if (pipe_ctx->plane_state->layer_index > 0) { in get_surface_visual_confirm_color() 476 struct dc_plane_state *plane = pipe_ctx->plane_state; in hwss_build_fast_sequence() 515 …f (dc->hwss.set_flip_control_gsl && current_mpc_pipe->plane_state && current_mpc_pipe->plane_state… in hwss_build_fast_sequence() 517 ….params.set_flip_control_gsl_params.flip_immediate = current_mpc_pipe->plane_state->flip_immediate; in hwss_build_fast_sequence() 521 …if (dc->hwss.program_triplebuffer && dc->debug.enable_tri_buf && current_mpc_pipe->plane_state->up… in hwss_build_fast_sequence() 524 …ams.program_triplebuffer_params.enableTripleBuffer = current_mpc_pipe->plane_state->triplebuffer_f… in hwss_build_fast_sequence() 528 if (dc->hwss.update_plane_addr && current_mpc_pipe->plane_state->update_flags.bits.addr_update) { in hwss_build_fast_sequence() 535 …if (hws->funcs.set_input_transfer_func && current_mpc_pipe->plane_state->update_flags.bits.gamma_c… in hwss_build_fast_sequence() [all …]
|
/Linux-v6.6/drivers/gpu/drm/i915/display/ |
D | intel_cursor.c | 31 static u32 intel_cursor_base(const struct intel_plane_state *plane_state) in intel_cursor_base() argument 34 to_i915(plane_state->uapi.plane->dev); in intel_cursor_base() 35 const struct drm_framebuffer *fb = plane_state->hw.fb; in intel_cursor_base() 42 base = intel_plane_ggtt_offset(plane_state); in intel_cursor_base() 44 return base + plane_state->view.color_plane[0].offset; in intel_cursor_base() 47 static u32 intel_cursor_position(const struct intel_plane_state *plane_state) in intel_cursor_position() argument 49 int x = plane_state->uapi.dst.x1; in intel_cursor_position() 50 int y = plane_state->uapi.dst.y1; in intel_cursor_position() 68 static bool intel_cursor_size_ok(const struct intel_plane_state *plane_state) in intel_cursor_size_ok() argument 71 &plane_state->uapi.plane->dev->mode_config; in intel_cursor_size_ok() [all …]
|
D | skl_universal_plane.c | 262 const struct intel_plane_state *plane_state) in icl_plane_min_cdclk() argument 264 unsigned int pixel_rate = intel_plane_pixel_rate(crtc_state, plane_state); in icl_plane_min_cdclk() 271 glk_plane_ratio(const struct intel_plane_state *plane_state, in glk_plane_ratio() argument 274 const struct drm_framebuffer *fb = plane_state->hw.fb; in glk_plane_ratio() 286 const struct intel_plane_state *plane_state) in glk_plane_min_cdclk() argument 288 unsigned int pixel_rate = intel_plane_pixel_rate(crtc_state, plane_state); in glk_plane_min_cdclk() 291 glk_plane_ratio(plane_state, &num, &den); in glk_plane_min_cdclk() 298 skl_plane_ratio(const struct intel_plane_state *plane_state, in skl_plane_ratio() argument 301 const struct drm_framebuffer *fb = plane_state->hw.fb; in skl_plane_ratio() 313 const struct intel_plane_state *plane_state) in skl_plane_min_cdclk() argument [all …]
|
D | intel_sprite.c | 61 chv_sprite_update_csc(const struct intel_plane_state *plane_state) in chv_sprite_update_csc() argument 63 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane); in chv_sprite_update_csc() 65 const struct drm_framebuffer *fb = plane_state->hw.fb; in chv_sprite_update_csc() 91 const s16 *csc = csc_matrix[plane_state->hw.color_encoding]; in chv_sprite_update_csc() 133 vlv_sprite_update_clrc(const struct intel_plane_state *plane_state) in vlv_sprite_update_clrc() argument 135 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane); in vlv_sprite_update_clrc() 137 const struct drm_framebuffer *fb = plane_state->hw.fb; in vlv_sprite_update_clrc() 143 plane_state->hw.color_range == DRM_COLOR_YCBCR_LIMITED_RANGE) { in vlv_sprite_update_clrc() 173 const struct intel_plane_state *plane_state, in vlv_plane_ratio() argument 177 const struct drm_framebuffer *fb = plane_state->hw.fb; in vlv_plane_ratio() [all …]
|
D | intel_atomic_plane.c | 50 static void intel_plane_state_reset(struct intel_plane_state *plane_state, in intel_plane_state_reset() argument 53 memset(plane_state, 0, sizeof(*plane_state)); in intel_plane_state_reset() 55 __drm_atomic_helper_plane_state_reset(&plane_state->uapi, &plane->base); in intel_plane_state_reset() 57 plane_state->scaler_id = -1; in intel_plane_state_reset() 62 struct intel_plane_state *plane_state; in intel_plane_alloc() local 69 plane_state = kzalloc(sizeof(*plane_state), GFP_KERNEL); in intel_plane_alloc() 70 if (!plane_state) { in intel_plane_alloc() 75 intel_plane_state_reset(plane_state, plane); in intel_plane_alloc() 77 plane->base.state = &plane_state->uapi; in intel_plane_alloc() 133 struct intel_plane_state *plane_state = to_intel_plane_state(state); in intel_plane_destroy_state() local [all …]
|
D | intel_fbc.c | 125 static unsigned int intel_fbc_plane_stride(const struct intel_plane_state *plane_state) in intel_fbc_plane_stride() argument 127 const struct drm_framebuffer *fb = plane_state->hw.fb; in intel_fbc_plane_stride() 130 stride = plane_state->view.color_plane[0].mapping_stride; in intel_fbc_plane_stride() 131 if (!drm_rotation_90_or_270(plane_state->hw.rotation)) in intel_fbc_plane_stride() 138 static unsigned int _intel_fbc_cfb_stride(const struct intel_plane_state *plane_state) in _intel_fbc_cfb_stride() argument 142 return intel_fbc_plane_stride(plane_state) * cpp; in _intel_fbc_cfb_stride() 146 static unsigned int skl_fbc_min_cfb_stride(const struct intel_plane_state *plane_state) in skl_fbc_min_cfb_stride() argument 148 struct drm_i915_private *i915 = to_i915(plane_state->uapi.plane->dev); in skl_fbc_min_cfb_stride() 151 unsigned int width = drm_rect_width(&plane_state->uapi.src) >> 16; in skl_fbc_min_cfb_stride() 176 static unsigned int intel_fbc_cfb_stride(const struct intel_plane_state *plane_state) in intel_fbc_cfb_stride() argument [all …]
|
D | intel_plane_initial.c | 27 struct intel_plane_state *plane_state = in intel_reuse_initial_plane_obj() local 33 if (!plane_state->ggtt_vma) in intel_reuse_initial_plane_obj() 36 if (intel_plane_ggtt_offset(plane_state) == plane_config->base) { in intel_reuse_initial_plane_obj() 37 *fb = plane_state->hw.fb; in intel_reuse_initial_plane_obj() 38 *vma = plane_state->ggtt_vma; in intel_reuse_initial_plane_obj() 218 struct intel_plane_state *plane_state = in intel_find_initial_plane_obj() local 256 plane_state->uapi.rotation = plane_config->rotation; in intel_find_initial_plane_obj() 258 plane_state->uapi.rotation, &plane_state->view); in intel_find_initial_plane_obj() 261 plane_state->ggtt_vma = i915_vma_get(vma); in intel_find_initial_plane_obj() 262 if (intel_plane_uses_fence(plane_state) && in intel_find_initial_plane_obj() [all …]
|
D | i9xx_plane.c | 152 const struct intel_plane_state *plane_state) in i9xx_plane_ctl() argument 155 to_i915(plane_state->uapi.plane->dev); in i9xx_plane_ctl() 156 const struct drm_framebuffer *fb = plane_state->hw.fb; in i9xx_plane_ctl() 157 unsigned int rotation = plane_state->hw.rotation; in i9xx_plane_ctl() 224 int i9xx_check_plane_surface(struct intel_plane_state *plane_state) in i9xx_check_plane_surface() argument 227 to_i915(plane_state->uapi.plane->dev); in i9xx_check_plane_surface() 228 const struct drm_framebuffer *fb = plane_state->hw.fb; in i9xx_check_plane_surface() 233 ret = intel_plane_compute_gtt(plane_state); in i9xx_check_plane_surface() 237 if (!plane_state->uapi.visible) in i9xx_check_plane_surface() 240 src_w = drm_rect_width(&plane_state->uapi.src) >> 16; in i9xx_check_plane_surface() [all …]
|
D | skl_scaler.c | 268 struct intel_plane_state *plane_state) in skl_update_scaler_plane() argument 271 to_intel_plane(plane_state->uapi.plane); in skl_update_scaler_plane() 273 struct drm_framebuffer *fb = plane_state->hw.fb; in skl_update_scaler_plane() 275 bool force_detach = !fb || !plane_state->uapi.visible; in skl_update_scaler_plane() 285 &plane_state->scaler_id, in skl_update_scaler_plane() 286 drm_rect_width(&plane_state->uapi.src) >> 16, in skl_update_scaler_plane() 287 drm_rect_height(&plane_state->uapi.src) >> 16, in skl_update_scaler_plane() 288 drm_rect_width(&plane_state->uapi.dst), in skl_update_scaler_plane() 289 drm_rect_height(&plane_state->uapi.dst), in skl_update_scaler_plane() 294 if (ret || plane_state->scaler_id < 0) in skl_update_scaler_plane() [all …]
|
D | intel_atomic_plane.h | 25 const struct intel_plane_state *plane_state); 28 const struct intel_plane_state *plane_state, 30 void intel_plane_copy_uapi_to_hw_state(struct intel_plane_state *plane_state, 33 void intel_plane_copy_hw_state(struct intel_plane_state *plane_state, 37 const struct intel_plane_state *plane_state); 40 const struct intel_plane_state *plane_state); 61 int intel_atomic_plane_check_clipping(struct intel_plane_state *plane_state, 65 int intel_plane_check_src_coordinates(struct intel_plane_state *plane_state); 67 struct intel_plane_state *plane_state);
|
D | intel_sprite_uapi.c | 16 static void intel_plane_set_ckey(struct intel_plane_state *plane_state, in intel_plane_set_ckey() argument 19 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane); in intel_plane_set_ckey() 21 struct drm_intel_sprite_colorkey *key = &plane_state->ckey; in intel_plane_set_ckey() 48 struct drm_plane_state *plane_state; in intel_sprite_set_colorkey_ioctl() local 92 plane_state = drm_atomic_get_plane_state(state, plane); in intel_sprite_set_colorkey_ioctl() 93 ret = PTR_ERR_OR_ZERO(plane_state); in intel_sprite_set_colorkey_ioctl() 95 intel_plane_set_ckey(to_intel_plane_state(plane_state), set); in intel_sprite_set_colorkey_ioctl() 106 plane_state = drm_atomic_get_plane_state(state, in intel_sprite_set_colorkey_ioctl() 108 ret = PTR_ERR_OR_ZERO(plane_state); in intel_sprite_set_colorkey_ioctl() 110 intel_plane_set_ckey(to_intel_plane_state(plane_state), set); in intel_sprite_set_colorkey_ioctl()
|
D | intel_fb_pin.c | 238 int intel_plane_pin_fb(struct intel_plane_state *plane_state) in intel_plane_pin_fb() argument 240 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane); in intel_plane_pin_fb() 242 struct drm_framebuffer *fb = plane_state->hw.fb; in intel_plane_pin_fb() 250 &plane_state->view.gtt, in intel_plane_pin_fb() 251 intel_plane_uses_fence(plane_state), in intel_plane_pin_fb() 252 &plane_state->flags); in intel_plane_pin_fb() 256 plane_state->ggtt_vma = vma; in intel_plane_pin_fb() 264 plane_state->ggtt_vma = vma; in intel_plane_pin_fb() 266 vma = intel_pin_fb_obj_dpt(fb, &plane_state->view.gtt, false, in intel_plane_pin_fb() 267 &plane_state->flags, intel_fb->dpt_vm); in intel_plane_pin_fb() [all …]
|
D | intel_sprite.h | 23 int intel_plane_check_src_coordinates(struct intel_plane_state *plane_state); 24 int chv_plane_check_rotation(const struct intel_plane_state *plane_state); 27 const struct intel_plane_state *plane_state); 29 const struct intel_plane_state *plane_state); 31 const struct intel_plane_state *plane_state);
|
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dce60/ |
D | dce60_hw_sequencer.c | 101 if (!pipe_ctx->plane_state) in dce60_should_enable_fbc() 105 if (pipe_ctx->plane_state->tiling_info.gfx8.array_mode == DC_ARRAY_LINEAR_GENERAL) in dce60_should_enable_fbc() 148 default_adjust.in_color_space = pipe_ctx->plane_state->color_space; in dce60_set_default_colors() 188 if (!pipe_ctx->plane_state->visible) in dce60_program_surface_visibility() 274 struct dc_plane_state *plane_state = pipe_ctx->plane_state; in dce60_program_front_end_for_pipe() local 318 plane_state->format, in dce60_program_front_end_for_pipe() 319 &plane_state->tiling_info, in dce60_program_front_end_for_pipe() 320 &plane_state->plane_size, in dce60_program_front_end_for_pipe() 321 plane_state->rotation, in dce60_program_front_end_for_pipe() 325 mi->funcs->set_blank(mi, pipe_ctx->plane_state->visible); in dce60_program_front_end_for_pipe() [all …]
|
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/basics/ |
D | dc_common.c | 54 if (pipe_ctx->plane_state && pipe_ctx->plane_state->visible) in is_lower_pipe_tree_visible() 63 if (pipe_ctx->plane_state && pipe_ctx->plane_state->visible) in is_upper_pipe_tree_visible() 72 if (pipe_ctx->plane_state && pipe_ctx->plane_state->visible) in is_pipe_tree_visible() 82 const struct dc_plane_state *plane_state) in build_prescale_params() argument 84 if (plane_state->format >= SURFACE_PIXEL_FORMAT_VIDEO_BEGIN in build_prescale_params() 85 && plane_state->format != SURFACE_PIXEL_FORMAT_INVALID in build_prescale_params() 86 && plane_state->input_csc_color_matrix.enable_adjustment in build_prescale_params() 87 && plane_state->coeff_reduction_factor.value != 0) { in build_prescale_params() 89 dc_fixpt_mul(plane_state->coeff_reduction_factor, in build_prescale_params()
|
/Linux-v6.6/drivers/gpu/drm/ |
D | drm_gem_atomic_helper.c | 245 struct drm_plane_state *plane_state = plane->state; in drm_gem_duplicate_shadow_plane_state() local 248 if (!plane_state) in drm_gem_duplicate_shadow_plane_state() 283 struct drm_plane_state *plane_state) in drm_gem_destroy_shadow_plane_state() argument 286 to_drm_shadow_plane_state(plane_state); in drm_gem_destroy_shadow_plane_state() 348 int drm_gem_begin_shadow_fb_access(struct drm_plane *plane, struct drm_plane_state *plane_state) in drm_gem_begin_shadow_fb_access() argument 350 struct drm_shadow_plane_state *shadow_plane_state = to_drm_shadow_plane_state(plane_state); in drm_gem_begin_shadow_fb_access() 351 struct drm_framebuffer *fb = plane_state->fb; in drm_gem_begin_shadow_fb_access() 370 void drm_gem_end_shadow_fb_access(struct drm_plane *plane, struct drm_plane_state *plane_state) in drm_gem_end_shadow_fb_access() argument 372 struct drm_shadow_plane_state *shadow_plane_state = to_drm_shadow_plane_state(plane_state); in drm_gem_end_shadow_fb_access() 373 struct drm_framebuffer *fb = plane_state->fb; in drm_gem_end_shadow_fb_access() [all …]
|
D | drm_damage_helper.c | 68 struct drm_plane_state *plane_state) in drm_atomic_helper_check_plane_damage() argument 72 if (plane_state->crtc) { in drm_atomic_helper_check_plane_damage() 74 plane_state->crtc); in drm_atomic_helper_check_plane_damage() 80 drm_property_blob_put(plane_state->fb_damage_clips); in drm_atomic_helper_check_plane_damage() 81 plane_state->fb_damage_clips = NULL; in drm_atomic_helper_check_plane_damage() 160 struct drm_plane_state *plane_state; in drm_atomic_helper_dirtyfb() local 171 plane_state = drm_atomic_get_plane_state(state, plane); in drm_atomic_helper_dirtyfb() 172 if (IS_ERR(plane_state)) { in drm_atomic_helper_dirtyfb() 173 ret = PTR_ERR(plane_state); in drm_atomic_helper_dirtyfb() 177 drm_property_replace_blob(&plane_state->fb_damage_clips, in drm_atomic_helper_dirtyfb()
|
/Linux-v6.6/drivers/gpu/drm/tests/ |
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-v6.6/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_hwseq.c | 617 pipe_ctx->plane_state = NULL; in dcn20_plane_atomic_disable() 623 bool is_phantom = pipe_ctx->plane_state && pipe_ctx->plane_state->is_phantom; in dcn20_disable_plane() 889 struct pipe_ctx *pipe_ctx, const struct dc_plane_state *plane_state) in dcn20_set_blend_lut() argument 895 if (plane_state->blend_tf) { in dcn20_set_blend_lut() 896 if (plane_state->blend_tf->type == TF_TYPE_HWPWL) in dcn20_set_blend_lut() 897 blend_lut = &plane_state->blend_tf->pwl; in dcn20_set_blend_lut() 898 else if (plane_state->blend_tf->type == TF_TYPE_DISTRIBUTED_POINTS) { in dcn20_set_blend_lut() 899 cm_helper_translate_curve_to_hw_format(plane_state->ctx, in dcn20_set_blend_lut() 900 plane_state->blend_tf, in dcn20_set_blend_lut() 911 struct pipe_ctx *pipe_ctx, const struct dc_plane_state *plane_state) in dcn20_set_shaper_3dlut() argument [all …]
|
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn201/ |
D | dcn201_hwseq.c | 59 struct dc_plane_state *plane_state = pipe_ctx->plane_state; in patch_address_for_sbs_tb_stereo() local 61 pipe_ctx->top_pipe->plane_state == pipe_ctx->plane_state; in patch_address_for_sbs_tb_stereo() 63 if (sec_split && plane_state->address.type == PLN_ADDR_TYPE_GRPH_STEREO && in patch_address_for_sbs_tb_stereo() 68 *addr = plane_state->address.grph_stereo.left_addr; in patch_address_for_sbs_tb_stereo() 69 plane_state->address.grph_stereo.left_addr = in patch_address_for_sbs_tb_stereo() 70 plane_state->address.grph_stereo.right_addr; in patch_address_for_sbs_tb_stereo() 74 plane_state->address.type != PLN_ADDR_TYPE_GRPH_STEREO) { in patch_address_for_sbs_tb_stereo() 75 plane_state->address.type = PLN_ADDR_TYPE_GRPH_STEREO; in patch_address_for_sbs_tb_stereo() 76 plane_state->address.grph_stereo.right_addr = in patch_address_for_sbs_tb_stereo() 77 plane_state->address.grph_stereo.left_addr; in patch_address_for_sbs_tb_stereo() [all …]
|
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn32/ |
D | dcn32_resource_helpers.c | 142 pipe->plane_state = NULL; in dcn32_merge_pipes_for_subvp() 150 } else if (pipe->top_pipe && pipe->top_pipe->plane_state == pipe->plane_state) { in dcn32_merge_pipes_for_subvp() 160 pipe->plane_state = NULL; in dcn32_merge_pipes_for_subvp() 179 if (!pipe->plane_state) in dcn32_all_pipes_have_stream_and_plane() 221 if (pipe->plane_state && pipe->plane_state->rotation != ROTATION_ANGLE_0) in dcn32_any_surfaces_rotated() 238 if (pipe->plane_state) { in dcn32_is_center_timing() 239 if (pipe->stream->timing.v_addressable != pipe->plane_state->dst_rect.height && in dcn32_is_center_timing() 240 pipe->stream->timing.v_addressable != pipe->plane_state->src_rect.height) { in dcn32_is_center_timing() 319 current_plane = context->res_ctx.pipe_ctx[j].plane_state; in dcn32_determine_det_override() 322 context->res_ctx.pipe_ctx[k].plane_state == current_plane) { in dcn32_determine_det_override() [all …]
|
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_hw_sequencer.c | 113 (!pipe_ctx->plane_state && !old_pipe_ctx->plane_state) || in dcn10_lock_all_pipes() 1199 if (opp != NULL && !pipe_ctx->plane_state->is_phantom) in dcn10_plane_atomic_disconnect() 1286 pipe_ctx->plane_state = NULL; in dcn10_plane_atomic_disable() 1695 struct dc_plane_state *plane_state = pipe_ctx->plane_state; in patch_address_for_sbs_tb_stereo() local 1697 pipe_ctx->top_pipe->plane_state == pipe_ctx->plane_state; in patch_address_for_sbs_tb_stereo() 1698 if (sec_split && plane_state->address.type == PLN_ADDR_TYPE_GRPH_STEREO && in patch_address_for_sbs_tb_stereo() 1703 *addr = plane_state->address.grph_stereo.left_addr; in patch_address_for_sbs_tb_stereo() 1704 plane_state->address.grph_stereo.left_addr = in patch_address_for_sbs_tb_stereo() 1705 plane_state->address.grph_stereo.right_addr; in patch_address_for_sbs_tb_stereo() 1709 plane_state->address.type != PLN_ADDR_TYPE_GRPH_STEREO) { in patch_address_for_sbs_tb_stereo() [all …]
|
/Linux-v6.6/include/drm/ |
D | drm_gem_atomic_helper.h | 90 struct drm_plane_state *plane_state); 104 int drm_gem_begin_shadow_fb_access(struct drm_plane *plane, struct drm_plane_state *plane_state); 105 void drm_gem_end_shadow_fb_access(struct drm_plane *plane, struct drm_plane_state *plane_state); 120 struct drm_plane_state *plane_state); 122 struct drm_plane_state *plane_state); 127 struct drm_plane_state *plane_state);
|