Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_formats.c196 uint32_t v_subsample, h_subsample; in _dpu_format_get_plane_sizes_linear() local
202 &h_subsample); in _dpu_format_get_plane_sizes_linear()
204 if (width % h_subsample || height % v_subsample) { in _dpu_format_get_plane_sizes_linear()
213 layout->plane_pitch[1] = layout->plane_pitch[0] / h_subsample; in _dpu_format_get_plane_sizes_linear()
/linux/drivers/gpu/drm/vc4/
H A Dvc4_plane.c444 u32 h_subsample = fb->format->hsub; in vc4_plane_setup_clipping_and_scaling() local
495 vc4_state->src_w[1] = vc4_state->src_w[0] / h_subsample; in vc4_plane_setup_clipping_and_scaling()
824 u32 h_subsample = fb->format->hsub; in vc4_plane_mode_set() local
879 (i ? h_subsample : 1) * in vc4_plane_mode_set()
1030 (i ? h_subsample : 1) * in vc4_plane_mode_set()