Home
last modified time | relevance | path

Searched refs:color_plane (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_fb.c558 color_plane == 1; in is_semiplanar_uv_plane()
998 state->view.color_plane[color_plane].mapping_stride, in intel_plane_adjust_aligned_offset()
1079 int pitch = state->view.color_plane[color_plane].mapping_stride; in intel_plane_compute_aligned_offset()
1112 fb->offsets[color_plane], color_plane); in intel_fb_offset_to_xy()
1124 fb->offsets[color_plane], fb->pitches[color_plane], in intel_fb_offset_to_xy()
1125 color_plane); in intel_fb_offset_to_xy()
1240 return fb->rotated_view.color_plane[color_plane].mapping_stride; in intel_fb_pitch()
1242 return fb->remapped_view.color_plane[color_plane].mapping_stride; in intel_fb_pitch()
1244 return fb->normal_view.color_plane[color_plane].mapping_stride; in intel_fb_pitch()
1285 color_plane, fb->base.offsets[color_plane]); in convert_plane_offset_to_xy()
[all …]
H A Dintel_fb.h37 bool intel_fb_is_ccs_aux_plane(const struct drm_framebuffer *fb, int color_plane);
51 bool is_surface_linear(const struct drm_framebuffer *fb, int color_plane);
58 unsigned int intel_tile_width_bytes(const struct drm_framebuffer *fb, int color_plane);
59 unsigned int intel_tile_height(const struct drm_framebuffer *fb, int color_plane);
60 unsigned int intel_tile_row_size(const struct drm_framebuffer *fb, int color_plane);
62 int color_plane, unsigned int height);
65 int color_plane);
69 int color_plane);
73 int color_plane,
77 int color_plane);
H A Dskl_universal_plane.c432 int color_plane, in icl_hdr_plane_max_width() argument
442 int color_plane, in icl_sdr_plane_max_width() argument
449 int color_plane, in skl_plane_max_height() argument
456 int color_plane, in icl_plane_max_height() argument
610 u32 stride = plane_state->view.color_plane[color_plane].scanout_stride; in skl_plane_stride()
1002 u32 offset = plane_state->view.color_plane[color_plane].offset; in skl_surf_address()
1019 int color_plane) in skl_plane_surf() argument
1212 int x = plane_state->view.color_plane[color_plane].x; in icl_plane_update_noarm()
1213 int y = plane_state->view.color_plane[color_plane].y; in icl_plane_update_noarm()
1494 int color_plane, in intel_plane_min_width() argument
[all …]
H A Di9xx_plane.c271 while ((src_x + src_w) * cpp > plane_state->view.color_plane[0].mapping_stride) { in i9xx_check_plane_surface()
311 plane_state->view.color_plane[0].offset = offset; in i9xx_check_plane_surface()
312 plane_state->view.color_plane[0].x = src_x; in i9xx_check_plane_surface()
313 plane_state->view.color_plane[0].y = src_y; in i9xx_check_plane_surface()
425 plane_state->view.color_plane[0].mapping_stride); in i9xx_plane_update_noarm()
451 int x = plane_state->view.color_plane[0].x; in i9xx_plane_update_arm()
452 int y = plane_state->view.color_plane[0].y; in i9xx_plane_update_arm()
460 dspaddr_offset = plane_state->view.color_plane[0].offset; in i9xx_plane_update_arm()
551 u32 dspaddr_offset = plane_state->view.color_plane[0].offset; in g4x_primary_async_flip()
570 u32 dspaddr_offset = plane_state->view.color_plane[0].offset; in vlv_primary_async_flip()
H A Dintel_sprite.c373 plane_state->view.color_plane[0].mapping_stride); in vlv_sprite_update_noarm()
389 u32 sprsurf_offset = plane_state->view.color_plane[0].offset; in vlv_sprite_update_arm()
390 u32 x = plane_state->view.color_plane[0].x; in vlv_sprite_update_arm()
391 u32 y = plane_state->view.color_plane[0].y; in vlv_sprite_update_arm()
795 plane_state->view.color_plane[0].mapping_stride); in ivb_sprite_update_noarm()
812 u32 sprsurf_offset = plane_state->view.color_plane[0].offset; in ivb_sprite_update_arm()
813 u32 x = plane_state->view.color_plane[0].x; in ivb_sprite_update_arm()
814 u32 y = plane_state->view.color_plane[0].y; in ivb_sprite_update_arm()
1122 plane_state->view.color_plane[0].mapping_stride); in g4x_sprite_update_noarm()
1139 u32 x = plane_state->view.color_plane[0].x; in g4x_sprite_update_arm()
[all …]
H A Dintel_cursor.c44 return base + plane_state->view.color_plane[0].offset; in intel_cursor_base()
124 plane_state->view.color_plane[0].offset = offset; in intel_cursor_check_surface()
125 plane_state->view.color_plane[0].x = src_x; in intel_cursor_check_surface()
126 plane_state->view.color_plane[0].y = src_y; in intel_cursor_check_surface()
198 CURSOR_STRIDE(plane_state->view.color_plane[0].mapping_stride); in i845_cursor_ctl()
237 plane_state->view.color_plane[0].mapping_stride != fb->pitches[0]); in i845_check_cursor()
454 plane_state->view.color_plane[0].mapping_stride != fb->pitches[0]); in i9xx_check_cursor()
H A Dintel_psr.h53 int color_plane);
H A Dintel_atomic_plane.h29 int color_plane);
H A Dintel_atomic_plane.c185 int color_plane) in intel_plane_data_rate() argument
193 fb->format->cpp[color_plane]; in intel_plane_data_rate()
210 int color_plane) in intel_plane_relative_data_rate() argument
240 if (color_plane == 1) { in intel_plane_relative_data_rate()
245 rel_data_rate = width * height * fb->format->cpp[color_plane]; in intel_plane_relative_data_rate()
H A Dintel_display_types.h132 } color_plane[4]; member
1532 int color_plane,
1535 int color_plane,
1538 int color_plane,
H A Dintel_fbc.c130 stride = plane_state->view.color_plane[0].mapping_stride; in intel_fbc_plane_stride()
946 effective_w = plane_state->view.color_plane[0].x + in intel_fbc_hw_tracking_covers_screen()
948 effective_h = plane_state->view.color_plane[0].y + in intel_fbc_hw_tracking_covers_screen()
1146 plane_state->view.color_plane[0].y & 3) { in intel_fbc_check_plane()
1153 (plane_state->view.color_plane[0].y + in intel_fbc_check_plane()
H A Dintel_psr.c1828 int color_plane) in intel_psr2_program_plane_sel_fetch_noarm() argument
1848 x = plane_state->view.color_plane[color_plane].x; in intel_psr2_program_plane_sel_fetch_noarm()
1854 if (!color_plane) in intel_psr2_program_plane_sel_fetch_noarm()
1855 y = plane_state->view.color_plane[color_plane].y + clip->y1; in intel_psr2_program_plane_sel_fetch_noarm()
1857 y = plane_state->view.color_plane[color_plane].y + clip->y1 / 2; in intel_psr2_program_plane_sel_fetch_noarm()
H A Dskl_watermark.c702 int color_plane);
1726 int color_plane) in skl_compute_wm_params() argument
1733 if (color_plane == 1 && in skl_compute_wm_params()
1747 if (color_plane == 1 && wp->is_planar) in skl_compute_wm_params()
1750 wp->cpp = format->cpp[color_plane]; in skl_compute_wm_params()
1813 struct skl_wm_params *wp, int color_plane) in skl_compute_plane_wm_params() argument
1829 wp, color_plane); in skl_compute_plane_wm_params()
2088 struct intel_plane *plane, int color_plane) in skl_build_plane_wm_single() argument
2097 &wm_params, color_plane); in skl_build_plane_wm_single()
H A Dintel_display.c552 int color_plane) in intel_fb_xy_to_linear() argument
555 unsigned int cpp = fb->format->cpp[color_plane]; in intel_fb_xy_to_linear()
556 unsigned int pitch = state->view.color_plane[color_plane].mapping_stride; in intel_fb_xy_to_linear()
568 int color_plane) in intel_add_fb_offsets() argument
571 *x += state->view.color_plane[color_plane].x; in intel_add_fb_offsets()
572 *y += state->view.color_plane[color_plane].y; in intel_add_fb_offsets()
691 plane_state->view.color_plane[0].offset, 0); in intel_plane_fence_y_offset()
6060 if (old_plane_state->view.color_plane[0].mapping_stride != in intel_async_flip_check_hw()
6061 new_plane_state->view.color_plane[0].mapping_stride) { in intel_async_flip_check_hw()
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_vma.c1185 int color_plane, in remap_color_plane_pages() argument
1194 if (rem_info->plane[color_plane].linear) in remap_color_plane_pages()
1196 rem_info->plane[color_plane].offset, in remap_color_plane_pages()
1198 rem_info->plane[color_plane].size, in remap_color_plane_pages()
1204 rem_info->plane[color_plane].offset, in remap_color_plane_pages()
1206 rem_info->plane[color_plane].width, in remap_color_plane_pages()
1207 rem_info->plane[color_plane].height, in remap_color_plane_pages()
1208 rem_info->plane[color_plane].src_stride, in remap_color_plane_pages()
1209 rem_info->plane[color_plane].dst_stride, in remap_color_plane_pages()