Lines Matching refs:vsub
124 void intel_fb_plane_get_subsampling(int *hsub, int *vsub, in intel_fb_plane_get_subsampling() argument
132 *vsub = 1; in intel_fb_plane_get_subsampling()
143 *vsub = fb->format->vsub; in intel_fb_plane_get_subsampling()
163 *vsub = 32; in intel_fb_plane_get_subsampling()
171 int hsub, vsub; in intel_fb_plane_dims() local
174 intel_fb_plane_get_subsampling(&hsub, &vsub, &fb->base, color_plane); in intel_fb_plane_dims()
177 *h = DIV_ROUND_UP(fb->base.height, main_vsub * vsub); in intel_fb_plane_dims()
412 int hsub, vsub; in intel_fb_check_ccs_xy() local
421 intel_fb_plane_get_subsampling(&hsub, &vsub, fb, ccs_plane); in intel_fb_check_ccs_xy()
424 tile_height *= vsub; in intel_fb_check_ccs_xy()
427 ccs_y = (y * vsub) % tile_height; in intel_fb_check_ccs_xy()
883 unsigned int vsub = i ? fb->format->vsub : 1; in intel_plane_remap_gtt() local
890 y = src_y / vsub; in intel_plane_remap_gtt()
892 height = src_h / vsub; in intel_plane_remap_gtt()