Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_formats.c732 uint32_t v_subsample, h_subsample; in _dpu_format_get_plane_sizes_linear() local
738 &h_subsample); in _dpu_format_get_plane_sizes_linear()
740 if (width % h_subsample || height % v_subsample) { in _dpu_format_get_plane_sizes_linear()
749 layout->plane_pitch[1] = layout->plane_pitch[0] / h_subsample; in _dpu_format_get_plane_sizes_linear()
/linux-6.6.21/drivers/gpu/drm/vc4/
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()