Home
last modified time | relevance | path

Searched refs:current_plane (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpu/drm/vkms/
H A Dvkms_composer.c300 const struct vkms_plane_state *current_plane, in clamp_line_coordinates() argument
307 *dst_x_start = current_plane->frame_info->dst.x1; in clamp_line_coordinates()
335 if (*src_x_start + *pixel_count > current_plane->frame_info->fb->width) in clamp_line_coordinates()
336 *pixel_count = max(0, (int)current_plane->frame_info->fb->width - in clamp_line_coordinates()
346 if (*src_y_start + *pixel_count > current_plane->frame_info->fb->height) in clamp_line_coordinates()
347 *pixel_count = max(0, (int)current_plane->frame_info->fb->height - in clamp_line_coordinates()
362 static void blend_line(struct vkms_plane_state *current_plane, int y, in blend_line() argument
370 if (y < current_plane->frame_info->dst.y1 || in blend_line()
371 y >= current_plane->frame_info->dst.y2) in blend_line()
379 dst_line = DRM_RECT_INIT(current_plane->frame_info->dst.x1, y, in blend_line()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/
H A Ddcn32_resource_helpers.c319 struct dc_plane_state *current_plane = NULL; in dcn32_determine_det_override() local
348 current_plane = context->res_ctx.pipe_ctx[j].plane_state; in dcn32_determine_det_override()
351 context->res_ctx.pipe_ctx[k].plane_state == current_plane) { in dcn32_determine_det_override()
360 context->res_ctx.pipe_ctx[k].plane_state == current_plane) { in dcn32_determine_det_override()