/linux-6.12.1/drivers/gpu/drm/amd/display/dc/core/ |
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->in_shaper_func.type = TF_TYPE_BYPASS; in dc_plane_construct() 50 plane_state->lut3d_func.state.raw = 0; in dc_plane_construct() 52 plane_state->blend_tf.type = TF_TYPE_BYPASS; in dc_plane_construct() 54 plane_state->pre_multiplied_alpha = true; in dc_plane_construct() 58 void dc_plane_destruct(struct dc_plane_state *plane_state) in dc_plane_destruct() argument 68 uint8_t dc_plane_get_pipe_mask(struct dc_state *dc_state, const struct dc_plane_state *plane_state) in dc_plane_get_pipe_mask() argument [all …]
|
D | dc_debug.c | 68 const struct dc_plane_state *plane_state = plane_states[i]; in pre_surface_trace() local 82 plane_state->visible, in pre_surface_trace() 83 plane_state->flip_immediate, in pre_surface_trace() 84 plane_state->address.type, in pre_surface_trace() 85 plane_state->address.grph.addr.quad_part, in pre_surface_trace() 86 plane_state->address.grph.meta_addr.quad_part, in pre_surface_trace() 87 plane_state->scaling_quality.h_taps, in pre_surface_trace() 88 plane_state->scaling_quality.v_taps, in pre_surface_trace() 89 plane_state->scaling_quality.h_taps_c, in pre_surface_trace() 90 plane_state->scaling_quality.v_taps_c); in pre_surface_trace() [all …]
|
D | dc_hw_sequencer.c | 340 if (pipe_ctx->plane_state->layer_index > 0) { in get_surface_visual_confirm_color() 350 if (pipe_ctx->plane_state->layer_index > 0) { in get_surface_visual_confirm_color() 369 if (pipe_ctx->plane_state->layer_index > 0) { in get_surface_visual_confirm_color() 586 struct dc_plane_state *plane = pipe_ctx->plane_state; in hwss_build_fast_sequence() 639 if (current_mpc_pipe->plane_state) { in hwss_build_fast_sequence() 640 if (dc->hwss.set_flip_control_gsl && current_mpc_pipe->plane_state->update_flags.raw) { in hwss_build_fast_sequence() 642 ….params.set_flip_control_gsl_params.flip_immediate = current_mpc_pipe->plane_state->flip_immediate; in hwss_build_fast_sequence() 646 …if (dc->hwss.program_triplebuffer && dc->debug.enable_tri_buf && current_mpc_pipe->plane_state->up… in hwss_build_fast_sequence() 649 …ams.program_triplebuffer_params.enableTripleBuffer = current_mpc_pipe->plane_state->triplebuffer_f… in hwss_build_fast_sequence() 653 … if (dc->hwss.update_plane_addr && current_mpc_pipe->plane_state->update_flags.bits.addr_update) { in hwss_build_fast_sequence() [all …]
|
/linux-6.12.1/drivers/gpu/drm/i915/display/ |
D | intel_cursor.c | 36 static u32 intel_cursor_base(const struct intel_plane_state *plane_state) in intel_cursor_base() argument 39 to_i915(plane_state->uapi.plane->dev); in intel_cursor_base() 43 base = plane_state->phys_dma_addr; in intel_cursor_base() 45 base = intel_plane_ggtt_offset(plane_state); in intel_cursor_base() 47 return base + plane_state->view.color_plane[0].offset; in intel_cursor_base() 51 const struct intel_plane_state *plane_state, in intel_cursor_position() argument 54 int x = plane_state->uapi.dst.x1; in intel_cursor_position() 55 int y = plane_state->uapi.dst.y1; in intel_cursor_position() 64 y = max(-1 * drm_rect_height(&plane_state->uapi.dst) + 1, in intel_cursor_position() 82 static bool intel_cursor_size_ok(const struct intel_plane_state *plane_state) in intel_cursor_size_ok() argument [all …]
|
D | skl_universal_plane.c | 266 const struct intel_plane_state *plane_state) in icl_plane_min_cdclk() argument 268 unsigned int pixel_rate = intel_plane_pixel_rate(crtc_state, plane_state); in icl_plane_min_cdclk() 275 glk_plane_ratio(const struct intel_plane_state *plane_state, in glk_plane_ratio() argument 278 const struct drm_framebuffer *fb = plane_state->hw.fb; in glk_plane_ratio() 290 const struct intel_plane_state *plane_state) in glk_plane_min_cdclk() argument 292 unsigned int pixel_rate = intel_plane_pixel_rate(crtc_state, plane_state); in glk_plane_min_cdclk() 295 glk_plane_ratio(plane_state, &num, &den); in glk_plane_min_cdclk() 302 skl_plane_ratio(const struct intel_plane_state *plane_state, in skl_plane_ratio() argument 305 const struct drm_framebuffer *fb = plane_state->hw.fb; in skl_plane_ratio() 317 const struct intel_plane_state *plane_state) in skl_plane_min_cdclk() argument [all …]
|
D | intel_sprite.c | 67 chv_sprite_update_csc(const struct intel_plane_state *plane_state) in chv_sprite_update_csc() argument 69 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane); in chv_sprite_update_csc() 71 const struct drm_framebuffer *fb = plane_state->hw.fb; in chv_sprite_update_csc() 97 const s16 *csc = csc_matrix[plane_state->hw.color_encoding]; in chv_sprite_update_csc() 139 vlv_sprite_update_clrc(const struct intel_plane_state *plane_state) in vlv_sprite_update_clrc() argument 141 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane); in vlv_sprite_update_clrc() 143 const struct drm_framebuffer *fb = plane_state->hw.fb; in vlv_sprite_update_clrc() 149 plane_state->hw.color_range == DRM_COLOR_YCBCR_LIMITED_RANGE) { in vlv_sprite_update_clrc() 179 const struct intel_plane_state *plane_state, in vlv_plane_ratio() argument 183 const struct drm_framebuffer *fb = plane_state->hw.fb; in vlv_plane_ratio() [all …]
|
D | intel_fbc.c | 131 static unsigned int intel_fbc_plane_stride(const struct intel_plane_state *plane_state) in intel_fbc_plane_stride() argument 133 const struct drm_framebuffer *fb = plane_state->hw.fb; in intel_fbc_plane_stride() 136 stride = plane_state->view.color_plane[0].mapping_stride; in intel_fbc_plane_stride() 137 if (!drm_rotation_90_or_270(plane_state->hw.rotation)) in intel_fbc_plane_stride() 149 static unsigned int intel_fbc_plane_cfb_stride(const struct intel_plane_state *plane_state) in intel_fbc_plane_cfb_stride() argument 153 return intel_fbc_plane_stride(plane_state) * cpp; in intel_fbc_plane_cfb_stride() 200 static unsigned int intel_fbc_cfb_stride(const struct intel_plane_state *plane_state) in intel_fbc_cfb_stride() argument 202 struct intel_display *display = to_intel_display(plane_state->uapi.plane->dev); in intel_fbc_cfb_stride() 203 unsigned int stride = intel_fbc_plane_cfb_stride(plane_state); in intel_fbc_cfb_stride() 204 unsigned int width = drm_rect_width(&plane_state->uapi.src) >> 16; in intel_fbc_cfb_stride() [all …]
|
D | intel_atomic_plane.c | 55 static void intel_plane_state_reset(struct intel_plane_state *plane_state, in intel_plane_state_reset() argument 58 memset(plane_state, 0, sizeof(*plane_state)); in intel_plane_state_reset() 60 __drm_atomic_helper_plane_state_reset(&plane_state->uapi, &plane->base); in intel_plane_state_reset() 62 plane_state->scaler_id = -1; in intel_plane_state_reset() 67 struct intel_plane_state *plane_state; in intel_plane_alloc() local 74 plane_state = kzalloc(sizeof(*plane_state), GFP_KERNEL); in intel_plane_alloc() 75 if (!plane_state) { in intel_plane_alloc() 80 intel_plane_state_reset(plane_state, plane); in intel_plane_alloc() 82 plane->base.state = &plane_state->uapi; in intel_plane_alloc() 138 struct intel_plane_state *plane_state = to_intel_plane_state(state); in intel_plane_destroy_state() local [all …]
|
D | intel_fb_pin.c | 234 intel_plane_fb_min_alignment(const struct intel_plane_state *plane_state) in intel_plane_fb_min_alignment() argument 236 const struct intel_framebuffer *fb = to_intel_framebuffer(plane_state->hw.fb); in intel_plane_fb_min_alignment() 242 intel_plane_fb_min_phys_alignment(const struct intel_plane_state *plane_state) in intel_plane_fb_min_phys_alignment() argument 244 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane); in intel_plane_fb_min_phys_alignment() 245 const struct drm_framebuffer *fb = plane_state->hw.fb; in intel_plane_fb_min_phys_alignment() 253 int intel_plane_pin_fb(struct intel_plane_state *plane_state) in intel_plane_pin_fb() argument 255 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane); in intel_plane_pin_fb() 257 to_intel_framebuffer(plane_state->hw.fb); in intel_plane_pin_fb() 261 vma = intel_fb_pin_to_ggtt(&fb->base, &plane_state->view.gtt, in intel_plane_pin_fb() 262 intel_plane_fb_min_alignment(plane_state), in intel_plane_pin_fb() [all …]
|
D | i9xx_plane.c | 154 const struct intel_plane_state *plane_state) in i9xx_plane_ctl() argument 157 to_i915(plane_state->uapi.plane->dev); in i9xx_plane_ctl() 158 const struct drm_framebuffer *fb = plane_state->hw.fb; in i9xx_plane_ctl() 159 unsigned int rotation = plane_state->hw.rotation; in i9xx_plane_ctl() 226 int i9xx_check_plane_surface(struct intel_plane_state *plane_state) in i9xx_check_plane_surface() argument 228 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane); in i9xx_check_plane_surface() 230 const struct drm_framebuffer *fb = plane_state->hw.fb; in i9xx_check_plane_surface() 235 ret = intel_plane_compute_gtt(plane_state); in i9xx_check_plane_surface() 239 if (!plane_state->uapi.visible) in i9xx_check_plane_surface() 242 src_w = drm_rect_width(&plane_state->uapi.src) >> 16; in i9xx_check_plane_surface() [all …]
|
D | intel_plane_initial.c | 29 const struct intel_plane_state *plane_state = in intel_reuse_initial_plane_obj() local 37 if (!plane_state->ggtt_vma) in intel_reuse_initial_plane_obj() 41 *fb = plane_state->hw.fb; in intel_reuse_initial_plane_obj() 42 *vma = plane_state->ggtt_vma; in intel_reuse_initial_plane_obj() 327 struct intel_plane_state *plane_state = in intel_find_initial_plane_obj() local 365 plane_state->uapi.rotation = plane_config->rotation; in intel_find_initial_plane_obj() 367 plane_state->uapi.rotation, &plane_state->view); in intel_find_initial_plane_obj() 370 plane_state->ggtt_vma = i915_vma_get(vma); in intel_find_initial_plane_obj() 371 if (intel_plane_uses_fence(plane_state) && in intel_find_initial_plane_obj() 373 plane_state->flags |= PLANE_HAS_FENCE; in intel_find_initial_plane_obj() [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, 41 const struct intel_plane_state *plane_state); 44 const struct intel_plane_state *plane_state); 65 int intel_atomic_plane_check_clipping(struct intel_plane_state *plane_state, 69 int intel_plane_check_src_coordinates(struct intel_plane_state *plane_state); 71 struct intel_plane_state *plane_state);
|
D | skl_scaler.c | 269 struct intel_plane_state *plane_state) in skl_update_scaler_plane() argument 272 to_intel_plane(plane_state->uapi.plane); in skl_update_scaler_plane() 274 struct drm_framebuffer *fb = plane_state->hw.fb; in skl_update_scaler_plane() 276 bool force_detach = !fb || !plane_state->uapi.visible; in skl_update_scaler_plane() 286 &plane_state->scaler_id, in skl_update_scaler_plane() 287 drm_rect_width(&plane_state->uapi.src) >> 16, in skl_update_scaler_plane() 288 drm_rect_height(&plane_state->uapi.src) >> 16, in skl_update_scaler_plane() 289 drm_rect_width(&plane_state->uapi.dst), in skl_update_scaler_plane() 290 drm_rect_height(&plane_state->uapi.dst), in skl_update_scaler_plane() 295 if (ret || plane_state->scaler_id < 0) in skl_update_scaler_plane() [all …]
|
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_sprite.h | 24 int intel_plane_check_src_coordinates(struct intel_plane_state *plane_state); 25 int chv_plane_check_rotation(const struct intel_plane_state *plane_state); 28 const struct intel_plane_state *plane_state); 30 const struct intel_plane_state *plane_state); 32 const struct intel_plane_state *plane_state);
|
/linux-6.12.1/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-6.12.1/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-6.12.1/drivers/gpu/drm/xe/display/ |
D | xe_plane_initial.c | 36 const struct intel_plane_state *plane_state = in intel_reuse_initial_plane_obj() local 44 if (!plane_state->ggtt_vma) in intel_reuse_initial_plane_obj() 48 *fb = plane_state->hw.fb; in intel_reuse_initial_plane_obj() 195 struct intel_plane_state *plane_state = in intel_find_initial_plane_obj() local 215 plane_state->uapi.rotation = plane_config->rotation; in intel_find_initial_plane_obj() 217 plane_state->uapi.rotation, &plane_state->view); in intel_find_initial_plane_obj() 219 vma = intel_fb_pin_to_ggtt(fb, &plane_state->view.gtt, in intel_find_initial_plane_obj() 220 0, 0, false, &plane_state->flags); in intel_find_initial_plane_obj() 224 plane_state->ggtt_vma = vma; in intel_find_initial_plane_obj() 225 plane_state->uapi.src_x = 0; in intel_find_initial_plane_obj() [all …]
|
/linux-6.12.1/drivers/gpu/drm/ |
D | drm_gem_atomic_helper.c | 221 struct drm_plane_state *plane_state = plane->state; in __drm_gem_duplicate_shadow_plane_state() local 223 to_drm_shadow_plane_state(plane_state); in __drm_gem_duplicate_shadow_plane_state() 252 struct drm_plane_state *plane_state = plane->state; in drm_gem_duplicate_shadow_plane_state() local 255 if (!plane_state) in drm_gem_duplicate_shadow_plane_state() 291 struct drm_plane_state *plane_state) in drm_gem_destroy_shadow_plane_state() argument 294 to_drm_shadow_plane_state(plane_state); in drm_gem_destroy_shadow_plane_state() 357 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 359 struct drm_shadow_plane_state *shadow_plane_state = to_drm_shadow_plane_state(plane_state); in drm_gem_begin_shadow_fb_access() 360 struct drm_framebuffer *fb = plane_state->fb; in drm_gem_begin_shadow_fb_access() 379 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 [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-6.12.1/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-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn20/ |
D | dcn20_hwseq.c | 729 pipe_ctx->plane_state = NULL; in dcn20_plane_atomic_disable() 1055 struct pipe_ctx *pipe_ctx, const struct dc_plane_state *plane_state) in dcn20_set_blend_lut() argument 1061 if (plane_state->blend_tf.type == TF_TYPE_HWPWL) in dcn20_set_blend_lut() 1062 blend_lut = &plane_state->blend_tf.pwl; in dcn20_set_blend_lut() 1063 else if (plane_state->blend_tf.type == TF_TYPE_DISTRIBUTED_POINTS) { in dcn20_set_blend_lut() 1064 cm_helper_translate_curve_to_hw_format(plane_state->ctx, in dcn20_set_blend_lut() 1065 &plane_state->blend_tf, in dcn20_set_blend_lut() 1075 struct pipe_ctx *pipe_ctx, const struct dc_plane_state *plane_state) in dcn20_set_shaper_3dlut() argument 1081 if (plane_state->in_shaper_func.type == TF_TYPE_HWPWL) in dcn20_set_shaper_3dlut() 1082 shaper_lut = &plane_state->in_shaper_func.pwl; in dcn20_set_shaper_3dlut() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/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-6.12.1/drivers/gpu/drm/amd/display/dc/ |
D | dc_spl_translate.c | 71 const struct dc_plane_state *plane_state = pipe_ctx->plane_state; in translate_SPL_in_params_from_pipe_ctx() local 77 switch (plane_state->ctx->dce_version) { in translate_SPL_in_params_from_pipe_ctx() 95 populate_splrect_from_rect(&spl_in->basic_in.clip_rect, &plane_state->clip_rect); in translate_SPL_in_params_from_pipe_ctx() 101 spl_in->basic_in.rotation = (enum spl_rotation_angle)plane_state->rotation; in translate_SPL_in_params_from_pipe_ctx() 103 populate_splrect_from_rect(&spl_in->basic_in.src_rect, &plane_state->src_rect); in translate_SPL_in_params_from_pipe_ctx() 105 populate_splrect_from_rect(&spl_in->basic_in.dst_rect, &plane_state->dst_rect); in translate_SPL_in_params_from_pipe_ctx() 107 spl_in->basic_in.horizontal_mirror = plane_state->horizontal_mirror; in translate_SPL_in_params_from_pipe_ctx() 133 populate_spltaps_from_taps(&spl_in->scaling_quality, &plane_state->scaling_quality); in translate_SPL_in_params_from_pipe_ctx() 165 } else if (!plane_state->adaptive_sharpness_en) { in translate_SPL_in_params_from_pipe_ctx() 170 spl_in->adaptive_sharpness.sharpness_level = plane_state->sharpness_level; in translate_SPL_in_params_from_pipe_ctx() [all …]
|
/linux-6.12.1/include/drm/ |
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);
|