Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/i915/display/
Dintel_fb.c507 bool intel_fb_is_ccs_aux_plane(const struct drm_framebuffer *fb, int color_plane) in intel_fb_is_ccs_aux_plane() argument
511 return ccs_aux_plane_mask(md, fb->format) & BIT(color_plane); in intel_fb_is_ccs_aux_plane()
522 static bool intel_fb_is_gen12_ccs_aux_plane(const struct drm_framebuffer *fb, int color_plane) in intel_fb_is_gen12_ccs_aux_plane() argument
527 ccs_aux_plane_mask(md, fb->format) & BIT(color_plane); in intel_fb_is_gen12_ccs_aux_plane()
550 static bool is_gen12_ccs_cc_plane(const struct drm_framebuffer *fb, int color_plane) in is_gen12_ccs_cc_plane() argument
552 return intel_fb_rc_ccs_cc_plane(fb) == color_plane; in is_gen12_ccs_cc_plane()
555 static bool is_semiplanar_uv_plane(const struct drm_framebuffer *fb, int color_plane) in is_semiplanar_uv_plane() argument
558 color_plane == 1; in is_semiplanar_uv_plane()
561 bool is_surface_linear(const struct drm_framebuffer *fb, int color_plane) in is_surface_linear() argument
564 intel_fb_is_gen12_ccs_aux_plane(fb, color_plane) || in is_surface_linear()
[all …]
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);
Dskl_universal_plane.c324 int color_plane, in skl_plane_max_width() argument
327 int cpp = fb->format->cpp[color_plane]; in skl_plane_max_width()
363 int color_plane, in glk_plane_max_width() argument
366 int cpp = fb->format->cpp[color_plane]; in glk_plane_max_width()
391 int color_plane, in icl_plane_min_width() argument
431 int color_plane, in icl_hdr_plane_max_width() argument
441 int color_plane, in icl_sdr_plane_max_width() argument
448 int color_plane, in skl_plane_max_height() argument
455 int color_plane, in icl_plane_max_height() argument
590 int color_plane, unsigned int rotation) in skl_plane_stride_mult() argument
[all …]
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()
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()
1138 u32 dvssurf_offset = plane_state->view.color_plane[0].offset; in g4x_sprite_update_arm()
[all …]
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()
Dintel_atomic_plane.h29 int color_plane);
Dintel_psr.h53 int color_plane);
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()
Dintel_display_types.h132 } color_plane[4]; member
1529 int color_plane,
1532 int color_plane,
1535 int color_plane,
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()
Dintel_psr.c1814 int color_plane) in intel_psr2_program_plane_sel_fetch_noarm() argument
1834 x = plane_state->view.color_plane[color_plane].x; in intel_psr2_program_plane_sel_fetch_noarm()
1840 if (!color_plane) in intel_psr2_program_plane_sel_fetch_noarm()
1841 y = plane_state->view.color_plane[color_plane].y + clip->y1; in intel_psr2_program_plane_sel_fetch_noarm()
1843 y = plane_state->view.color_plane[color_plane].y + clip->y1 / 2; in intel_psr2_program_plane_sel_fetch_noarm()
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()
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()
6046 if (old_plane_state->view.color_plane[0].mapping_stride != in intel_async_flip_check_hw()
6047 new_plane_state->view.color_plane[0].mapping_stride) { in intel_async_flip_check_hw()
/Linux-v6.6/drivers/gpu/drm/i915/
Di915_vma.c1162 int color_plane, in remap_color_plane_pages() argument
1171 if (rem_info->plane[color_plane].linear) in remap_color_plane_pages()
1173 rem_info->plane[color_plane].offset, in remap_color_plane_pages()
1175 rem_info->plane[color_plane].size, in remap_color_plane_pages()
1181 rem_info->plane[color_plane].offset, in remap_color_plane_pages()
1183 rem_info->plane[color_plane].width, in remap_color_plane_pages()
1184 rem_info->plane[color_plane].height, in remap_color_plane_pages()
1185 rem_info->plane[color_plane].src_stride, in remap_color_plane_pages()
1186 rem_info->plane[color_plane].dst_stride, in remap_color_plane_pages()