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

1 2

  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/core/
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_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.c 815 if (!pipe->plane_state)
821 pipe->plane_state->status.is_flip_pending = false;
823 if (!pipe->plane_state->status.is_flip_pending)
828 ASSERT(!pipe->plane_state->status.is_flip_pending);
989 if (pipe_set[j]->plane_state) {
1012 if (pipe_set[j]->plane_state) {
1344 context->res_ctx.pipe_ctx[i].plane_state == NULL) {
1481 const struct dc_plane_state *plane_state)
1488 if (plane_state == pipe_ctx->plane_state) {
2202 struct dc_plane_state *plane_state = srf_updates[i].surface; local in function:commit_planes_for_stream
2286 struct dc_plane_state *plane_state = srf_updates[i].surface; local in function:commit_planes_for_stream
2304 struct dc_plane_state *plane_state = srf_updates[i].surface; local in function:commit_planes_for_stream
    [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/
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_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_blend.c 455 struct drm_plane_state *plane_state = local in function:drm_atomic_helper_crtc_normalize_zpos
457 if (IS_ERR(plane_state)) {
458 ret = PTR_ERR(plane_state);
461 states[n++] = plane_state;
464 plane_state->zpos);
drm_atomic.c 478 struct drm_plane_state *plane_state; local in function:drm_atomic_get_plane_state
487 plane_state = drm_atomic_get_existing_plane_state(state, plane);
488 if (plane_state)
489 return plane_state;
495 plane_state = plane->funcs->atomic_duplicate_state(plane);
496 if (!plane_state)
499 state->planes[index].state = plane_state;
502 state->planes[index].new_state = plane_state;
503 plane_state->state = state;
506 plane->base.id, plane->name, plane_state, state)
1125 struct drm_plane_state *plane_state = local in function:drm_atomic_add_affected_planes
1443 struct drm_plane_state *plane_state; local in function:drm_atomic_print_state
    [all...]
drm_atomic_uapi.c 169 * @plane_state: the plane whose incoming state to update
182 drm_atomic_set_crtc_for_plane(struct drm_plane_state *plane_state,
185 struct drm_plane *plane = plane_state->plane;
188 if (plane_state->crtc == crtc)
190 if (plane_state->crtc) {
191 crtc_state = drm_atomic_get_crtc_state(plane_state->state,
192 plane_state->crtc);
199 plane_state->crtc = crtc;
202 crtc_state = drm_atomic_get_crtc_state(plane_state->state,
211 plane->base.id, plane->name, plane_state,
1011 struct drm_plane_state *plane_state; local in function:drm_atomic_set_property
    [all...]
drm_framebuffer.c 871 struct drm_plane_state *plane_state; local in function:atomic_remove_fb
876 plane_state = drm_atomic_get_plane_state(state, plane);
877 if (IS_ERR(plane_state)) {
878 ret = PTR_ERR(plane_state);
882 if (disable_crtcs && plane_state->crtc->primary == plane) {
885 crtc_state = drm_atomic_get_existing_crtc_state(state, plane_state->crtc);
887 ret = drm_atomic_add_affected_connectors(state, plane_state->crtc);
897 drm_atomic_set_fb_for_plane(plane_state, NULL);
898 ret = drm_atomic_set_crtc_for_plane(plane_state, NULL);
drm_client_modeset.c 996 struct drm_plane_state *plane_state; local in function:drm_client_modeset_commit_atomic
998 plane_state = drm_atomic_get_plane_state(state, plane);
999 if (IS_ERR(plane_state)) {
1000 ret = PTR_ERR(plane_state);
1004 plane_state->rotation = DRM_MODE_ROTATE_0;
1010 ret = __drm_atomic_helper_disable_plane(plane, plane_state);
1020 struct drm_plane_state *plane_state; local in function:drm_client_modeset_commit_atomic
1023 plane_state = drm_atomic_get_new_plane_state(state, primary);
1024 plane_state->rotation = rotation;
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/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_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_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...]
intel_color.c 1129 struct intel_plane_state *plane_state; local in function:intel_color_add_affected_planes
1134 plane_state = intel_atomic_get_plane_state(state, plane);
1135 if (IS_ERR(plane_state))
1136 return PTR_ERR(plane_state);
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...]
  /src/sys/external/bsd/drm2/dist/drm/xen/
xen_drm_front_kms.c 111 struct drm_plane_state *plane_state)
116 struct drm_framebuffer *fb = plane_state->fb;
184 struct drm_plane_state *plane_state = local in function:display_send_page_flip
189 * If old_plane_state->fb is NULL and plane_state->fb is not,
191 * If old_plane_state->fb is not NULL and plane_state->fb is,
196 if (old_plane_state->fb && plane_state->fb) {
207 xen_drm_front_fb_to_cookie(plane_state->fb));
  /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...]
  /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...]
  /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/inc/
core_types.h 46 void enable_surface_flip_reporting(struct dc_plane_state *plane_state,
118 enum dc_status (*validate_plane)(const struct dc_plane_state *plane_state, struct dc_caps *caps);
130 struct dc_plane_state *plane_state);
279 struct dc_plane_state *plane_state; member in struct:pipe_ctx
  /src/sys/external/bsd/drm2/dist/drm/vmwgfx/
vmwgfx_kms.c 1566 struct drm_plane_state *plane_state; local in function:vmw_kms_check_implicit
1585 plane_state = du->primary.state;
1586 if (plane_state->crtc != crtc)
1590 implicit_fb = plane_state->fb;
1591 else if (implicit_fb != plane_state->fb)
  /src/sys/external/bsd/drm2/dist/drm/i915/
i915_debugfs.c 2536 const struct intel_plane_state *plane_state = local in function:intel_plane_uapi_info
2538 const struct drm_framebuffer *fb = plane_state->uapi.fb;
2543 src = drm_plane_state_src(&plane_state->uapi);
2544 dst = drm_plane_state_dest(&plane_state->uapi);
2550 plane_state->uapi.rotation);
2562 const struct intel_plane_state *plane_state = local in function:intel_plane_hw_info
2564 const struct drm_framebuffer *fb = plane_state->hw.fb;
2574 plane_state->hw.rotation);
2579 yesno(plane_state->uapi.visible),
2580 DRM_RECT_FP_ARG(&plane_state->uapi.src)
    [all...]
intel_pm.c 814 const struct intel_plane_state *plane_state)
816 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane);
831 return plane_state->hw.fb != NULL;
833 return plane_state->uapi.visible;
1122 const struct intel_plane_state *plane_state,
1125 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane);
1135 if (!intel_wm_plane_visible(crtc_state, plane_state))
1138 cpp = plane_state->hw.fb->format->cpp[0];
1158 width = drm_rect_width(&plane_state->uapi.dst);
1218 const struct intel_plane_state *plane_state,
3150 const struct intel_plane_state *plane_state; local in function:ilk_compute_pipe_wm
4209 const struct intel_plane_state *plane_state; local in function:skl_get_total_relative_data_rate
4239 const struct intel_plane_state *plane_state; local in function:icl_get_total_relative_data_rate
5041 const struct intel_plane_state *plane_state; local in function:skl_build_pipe_wm
5221 struct intel_plane_state *plane_state; local in function:skl_ddb_add_affected_planes
5494 struct intel_plane_state *plane_state; local in function:skl_wm_add_affected_planes
6008 struct intel_plane_state *plane_state = local in function:g4x_wm_sanitize
6164 struct intel_plane_state *plane_state = local in function:vlv_wm_sanitize
    [all...]

Completed in 34 milliseconds

1 2