HomeSort by: relevance | last modified time | path
    Searched refs:plane_state (Results 1 - 25 of 57) sorted by relevancy

1 2 3

  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/core/
amdgpu_dc_surface.c 45 static void dc_plane_construct(struct dc_context *ctx, struct dc_plane_state *plane_state)
47 plane_state->ctx = ctx;
49 plane_state->gamma_correction = dc_create_gamma();
50 if (plane_state->gamma_correction != NULL)
51 plane_state->gamma_correction->is_identity = true;
53 plane_state->in_transfer_func = dc_create_transfer_func();
54 if (plane_state->in_transfer_func != NULL) {
55 plane_state->in_transfer_func->type = TF_TYPE_BYPASS;
56 plane_state->in_transfer_func->ctx = ctx;
58 plane_state->in_shaper_func = dc_create_transfer_func()
116 struct dc_plane_state *plane_state = kvzalloc(sizeof(*plane_state), local in function:dc_create_plane_state
192 struct dc_plane_state *plane_state = container_of(kref, struct dc_plane_state, refcount); local in function:dc_plane_state_free
    [all...]
amdgpu_dc_debug.c 71 const struct dc_plane_state *plane_state = plane_states[i]; local in function:pre_surface_trace
76 "plane_state->visible = %d;\n"
77 "plane_state->flip_immediate = %d;\n"
78 "plane_state->address.type = %d;\n"
79 "plane_state->address.grph.addr.quad_part = 0x%"PRIX64";\n"
80 "plane_state->address.grph.meta_addr.quad_part = 0x%"PRIX64";\n"
81 "plane_state->scaling_quality.h_taps = %d;\n"
82 "plane_state->scaling_quality.v_taps = %d;\n"
83 "plane_state->scaling_quality.h_taps_c = %d;\n"
84 "plane_state->scaling_quality.v_taps_c = %d;\n"
    [all...]
amdgpu_dc_resource.c 542 const struct dc_plane_state *plane_state = pipe_ctx->plane_state; local in function:calculate_viewport
545 struct rect surf_src = plane_state->src_rect;
550 pipe_ctx->bottom_pipe->plane_state == pipe_ctx->plane_state;
552 pipe_ctx->top_pipe->plane_state == pipe_ctx->plane_state;
564 dest = plane_state->dst_rect;
565 clip.x = stream->src.x > plane_state->clip_rect.x ?
566 stream->src.x : plane_state->clip_rect.x
650 const struct dc_plane_state *plane_state = pipe_ctx->plane_state; local in function:calculate_recout
708 const struct dc_plane_state *plane_state = pipe_ctx->plane_state; local in function:calculate_scaling_ratios
838 const struct dc_plane_state *plane_state = pipe_ctx->plane_state; local in function:calculate_inits_and_adj_vp
989 const struct dc_plane_state *plane_state = pipe_ctx->plane_state; local in function:resource_build_scaling_params
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/basics/
amdgpu_dc_common.c 59 if (pipe_ctx->plane_state && pipe_ctx->plane_state->visible)
68 if (pipe_ctx->plane_state && pipe_ctx->plane_state->visible)
77 if (pipe_ctx->plane_state && pipe_ctx->plane_state->visible)
87 const struct dc_plane_state *plane_state)
89 if (plane_state->format >= SURFACE_PIXEL_FORMAT_VIDEO_BEGIN
90 && plane_state->format != SURFACE_PIXEL_FORMAT_INVALID
91 && plane_state->input_csc_color_matrix.enable_adjustmen
    [all...]
dc_common.h 42 const struct dc_plane_state *plane_state);
  /src/sys/external/bsd/drm2/dist/include/drm/
drm_atomic_uapi.h 52 drm_atomic_set_crtc_for_plane(struct drm_plane_state *plane_state,
54 void drm_atomic_set_fb_for_plane(struct drm_plane_state *plane_state,
56 void drm_atomic_set_fence_for_plane(struct drm_plane_state *plane_state,
drm_damage_helper.h 71 struct drm_plane_state *plane_state);
drm_gem_framebuffer_helper.h 37 struct drm_plane_state *plane_state);
  /src/sys/external/bsd/drm2/dist/drm/i915/display/
intel_atomic_plane.c 49 static void intel_plane_state_reset(struct intel_plane_state *plane_state,
52 memset(plane_state, 0, sizeof(*plane_state));
54 __drm_atomic_helper_plane_state_reset(&plane_state->uapi, &plane->base);
56 plane_state->scaler_id = -1;
61 struct intel_plane_state *plane_state; local in function:intel_plane_alloc
68 plane_state = kzalloc(sizeof(*plane_state), GFP_KERNEL);
69 if (!plane_state) {
74 intel_plane_state_reset(plane_state, plane)
131 struct intel_plane_state *plane_state = to_intel_plane_state(state); local in function:intel_plane_destroy_state
167 const struct intel_plane_state *plane_state = local in function:intel_plane_calc_min_cdclk
    [all...]
intel_sprite.c 225 int intel_plane_check_stride(const struct intel_plane_state *plane_state)
227 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane);
228 const struct drm_framebuffer *fb = plane_state->hw.fb;
229 unsigned int rotation = plane_state->hw.rotation;
238 if (intel_plane_can_remap(plane_state) &&
239 !plane_state->uapi.visible)
243 stride = plane_state->color_plane[0].stride;
257 int intel_plane_check_src_coordinates(struct intel_plane_state *plane_state)
259 const struct drm_framebuffer *fb = plane_state->hw.fb;
260 struct drm_rect *src = &plane_state->uapi.src
2272 struct drm_plane_state *plane_state; local in function:intel_sprite_set_colorkey_ioctl
    [all...]
intel_sprite.h 30 int intel_plane_check_stride(const struct intel_plane_state *plane_state);
31 int intel_plane_check_src_coordinates(struct intel_plane_state *plane_state);
32 int chv_plane_check_rotation(const struct intel_plane_state *plane_state);
55 const struct intel_plane_state *plane_state);
57 const struct intel_plane_state *plane_state);
59 const struct intel_plane_state *plane_state);
intel_atomic_plane.h 24 const struct intel_plane_state *plane_state);
25 void intel_plane_copy_uapi_to_hw_state(struct intel_plane_state *plane_state,
29 const struct intel_plane_state *plane_state);
50 struct intel_plane_state *plane_state);
intel_fbc.h 26 const struct intel_plane_state *plane_state);
32 const struct intel_plane_state *plane_state);
intel_atomic.c 303 struct intel_plane_state *plane_state,
326 if (plane_state && plane_state->hw.fb &&
327 plane_state->hw.fb->format->is_yuv &&
328 plane_state->hw.fb->format->num_planes > 1) {
329 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane);
342 plane_state->planar_linked_plane;
393 struct intel_plane_state *plane_state = NULL; local in function:intel_atomic_setup_scalers
476 plane_state = intel_atomic_get_new_plane_state(intel_state,
478 scaler_id = &plane_state->scaler_id
    [all...]
intel_display.c 2199 static bool intel_plane_uses_fence(const struct intel_plane_state *plane_state)
2201 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane);
2206 plane_state->view.type == I915_GGTT_VIEW_NORMAL);
2795 bool intel_plane_can_remap(const struct intel_plane_state *plane_state)
2797 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane);
2799 const struct drm_framebuffer *fb = plane_state->hw.fb;
2835 static bool intel_plane_needs_remap(const struct intel_plane_state *plane_state)
2837 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane);
2838 const struct drm_framebuffer *fb = plane_state->hw.fb;
2839 unsigned int rotation = plane_state->hw.rotation
3502 struct intel_plane_state *plane_state = local in function:intel_plane_disable_noatomic
3554 struct drm_plane_state *plane_state = primary->state; local in function:intel_find_initial_plane_obj
7505 const struct intel_plane_state *plane_state = local in function:intel_crtc_disable_noatomic
11675 struct drm_plane_state *plane_state; local in function:intel_modeset_disable_planes
12289 struct intel_plane_state *plane_state, *linked_plane_state; local in function:icl_add_linked_planes
12315 struct intel_plane_state *plane_state; local in function:icl_check_nv12_planes
12827 const struct intel_plane_state *plane_state; local in function:intel_dump_pipe_config
14041 const struct intel_plane_state *plane_state; local in function:intel_verify_planes
14391 struct intel_plane_state *plane_state; local in function:intel_crtc_add_planes_to_state
17346 struct drm_plane_state *plane_state; local in function:sanitize_watermarks_add_affected
17907 const struct intel_plane_state *plane_state = local in function:intel_sanitize_crtc
18053 struct intel_plane_state *plane_state = local in function:readout_plane_state
18235 const struct intel_plane_state *plane_state = local in function:intel_modeset_readout_hw_state
    [all...]
intel_fbc.c 641 const struct intel_plane_state *plane_state)
646 struct drm_framebuffer *fb = plane_state->hw.fb;
648 cache->plane.visible = plane_state->uapi.visible;
656 cache->plane.rotation = plane_state->hw.rotation;
662 cache->plane.src_w = drm_rect_width(&plane_state->uapi.src) >> 16;
663 cache->plane.src_h = drm_rect_height(&plane_state->uapi.src) >> 16;
664 cache->plane.adjusted_x = plane_state->color_plane[0].x;
665 cache->plane.adjusted_y = plane_state->color_plane[0].y;
666 cache->plane.y = plane_state->uapi.src.y1 >> 16;
668 cache->plane.pixel_blend_mode = plane_state->hw.pixel_blend_mode
1064 struct intel_plane_state *plane_state; local in function:intel_fbc_choose_crtc
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce100/
dce100_resource.h 44 enum dc_status dce100_validate_plane(const struct dc_plane_state *plane_state, struct dc_caps *caps);
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn20/
amdgpu_dcn20_hwseq.c 590 pipe_ctx->plane_state = NULL;
780 struct pipe_ctx *pipe_ctx, const struct dc_plane_state *plane_state)
786 if (plane_state->blend_tf) {
787 if (plane_state->blend_tf->type == TF_TYPE_HWPWL)
788 blend_lut = &plane_state->blend_tf->pwl;
789 else if (plane_state->blend_tf->type == TF_TYPE_DISTRIBUTED_POINTS) {
791 plane_state->blend_tf,
802 struct pipe_ctx *pipe_ctx, const struct dc_plane_state *plane_state)
808 if (plane_state->in_shaper_func) {
809 if (plane_state->in_shaper_func->type == TF_TYPE_HWPWL
1318 struct dc_plane_state *plane_state = pipe_ctx->plane_state; local in function:dcn20_update_dchubp_dpp
1916 struct dc_plane_state *plane_state = pipe_ctx->plane_state; local in function:patch_address_for_sbs_tb_stereo
1943 struct dc_plane_state *plane_state = pipe_ctx->plane_state; local in function:dcn20_update_plane_addr
    [all...]
dcn20_hwseq.h 34 struct pipe_ctx *pipe_ctx, const struct dc_plane_state *plane_state);
36 struct pipe_ctx *pipe_ctx, const struct dc_plane_state *plane_state);
43 const struct dc_plane_state *plane_state);
  /src/sys/external/bsd/drm2/dist/drm/
drm_damage_helper.c 114 * @plane_state: Plane state for which to verify damage.
126 struct drm_plane_state *plane_state)
130 if (plane_state->crtc) {
132 plane_state->crtc);
138 drm_property_blob_put(plane_state->fb_damage_clips);
139 plane_state->fb_damage_clips = NULL;
218 struct drm_plane_state *plane_state; local in function:drm_atomic_helper_dirtyfb
229 plane_state = drm_atomic_get_plane_state(state, plane);
230 if (IS_ERR(plane_state)) {
231 ret = PTR_ERR(plane_state);
    [all...]
drm_plane_helper.c 116 struct drm_plane_state plane_state = { local in function:drm_plane_helper_check_update
138 ret = drm_atomic_helper_check_plane_state(&plane_state, &crtc_state,
145 *src = plane_state.src;
146 *dst = plane_state.dst;
147 *visible = plane_state.visible;
drm_atomic_state_helper.c 237 * @plane_state: atomic plane state, must not be NULL
240 * Initializes the newly allocated @plane_state with default
243 void __drm_atomic_helper_plane_state_reset(struct drm_plane_state *plane_state,
246 plane_state->plane = plane;
247 plane_state->rotation = DRM_MODE_ROTATE_0;
249 plane_state->alpha = DRM_BLEND_ALPHA_OPAQUE;
250 plane_state->pixel_blend_mode = DRM_MODE_BLEND_PREMULTI;
257 * @plane_state: plane state to assign
259 * Initializes the newly allocated @plane_state and assigns it to
267 struct drm_plane_state *plane_state)
    [all...]
drm_atomic_helper.c 81 struct drm_plane_state *plane_state,
96 if (plane_state->crtc) {
97 crtc_state = drm_atomic_get_new_crtc_state(state, plane_state->crtc);
748 * @plane_state: plane state to check
767 int drm_atomic_helper_check_plane_state(struct drm_plane_state *plane_state,
774 struct drm_framebuffer *fb = plane_state->fb;
775 struct drm_rect *src = &plane_state->src;
776 struct drm_rect *dst = &plane_state->dst;
777 unsigned int rotation = plane_state->rotation;
781 WARN_ON(plane_state->crtc && plane_state->crtc != crtc_state->crtc)
1748 struct drm_plane_state *plane_state; local in function:drm_atomic_helper_async_commit
2685 struct drm_plane_state *plane_state; local in function:drm_atomic_helper_cleanup_planes
2880 struct drm_plane_state *plane_state; local in function:drm_atomic_helper_update_plane
2931 struct drm_plane_state *plane_state; local in function:drm_atomic_helper_disable_plane
3032 struct drm_plane_state *plane_state; local in function:drm_atomic_helper_disable_all
3166 struct drm_plane_state *plane_state; local in function:drm_atomic_helper_duplicate_state
3344 struct drm_plane_state *plane_state; local in function:page_flip_common
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn10/
amdgpu_dcn10_hw_sequencer.c 106 !pipe_ctx->stream || !pipe_ctx->plane_state ||
1113 pipe_ctx->plane_state = NULL;
1406 struct dc_plane_state *plane_state = pipe_ctx->plane_state; local in function:patch_address_for_sbs_tb_stereo
1408 pipe_ctx->top_pipe->plane_state == pipe_ctx->plane_state;
1409 if (sec_split && plane_state->address.type == PLN_ADDR_TYPE_GRPH_STEREO &&
1414 *addr = plane_state->address.grph_stereo.left_addr;
1415 plane_state->address.grph_stereo.left_addr =
1416 plane_state->address.grph_stereo.right_addr
1433 struct dc_plane_state *plane_state = pipe_ctx->plane_state; local in function:dcn10_update_plane_addr
2241 struct dc_plane_state *plane_state = pipe_ctx->plane_state; local in function:dcn10_update_dchubp_dpp
2889 struct dc_plane_state *plane_state = pipe_ctx->plane_state; local in function:dcn10_update_pending_status
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce110/
amdgpu_dce110_hw_sequencer.c 251 const struct dc_plane_state *plane_state)
255 switch (plane_state->format) {
279 const struct dc_plane_state *plane_state)
289 if (plane_state->in_transfer_func)
290 tf = plane_state->in_transfer_func;
292 build_prescale_params(&prescale_params, plane_state);
295 if (plane_state->gamma_correction &&
296 !plane_state->gamma_correction->is_identity &&
297 dce_use_lut(plane_state->format))
298 ipp->funcs->ipp_program_input_lut(ipp, plane_state->gamma_correction)
2196 struct dc_plane_state *plane_state = pipe_ctx->plane_state; local in function:update_plane_addr
2211 struct dc_plane_state *plane_state = pipe_ctx->plane_state; local in function:dce110_update_pending_status
2461 struct dc_plane_state *plane_state = pipe_ctx->plane_state; local in function:dce110_program_front_end_for_pipe
    [all...]

Completed in 26 milliseconds

1 2 3