Lines Matching refs:ccs_plane
529 int skl_ccs_to_main_plane(const struct drm_framebuffer *fb, int ccs_plane) in skl_ccs_to_main_plane() argument
532 ccs_plane < fb->format->num_planes / 2); in skl_ccs_to_main_plane()
534 if (is_gen12_ccs_cc_plane(fb, ccs_plane)) in skl_ccs_to_main_plane()
537 return ccs_plane - fb->format->num_planes / 2; in skl_ccs_to_main_plane()
540 static unsigned int gen12_ccs_aux_stride(struct intel_framebuffer *fb, int ccs_plane) in gen12_ccs_aux_stride() argument
542 int main_plane = skl_ccs_to_main_plane(&fb->base, ccs_plane); in gen12_ccs_aux_stride()
1086 static int intel_fb_check_ccs_xy(const struct drm_framebuffer *fb, int ccs_plane, int x, int y) in intel_fb_check_ccs_xy() argument
1096 if (!intel_fb_is_ccs_aux_plane(fb, ccs_plane)) in intel_fb_check_ccs_xy()
1104 intel_tile_block_dims(fb, ccs_plane, &tile_width, &tile_height); in intel_fb_check_ccs_xy()
1105 intel_fb_plane_get_subsampling(&hsub, &vsub, fb, ccs_plane); in intel_fb_check_ccs_xy()
1113 main_plane = skl_ccs_to_main_plane(fb, ccs_plane); in intel_fb_check_ccs_xy()