Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_surface.c66 static void surf_level_winsys_to_drm(struct radeon_surface_level *level_drm, in surf_level_winsys_to_drm() argument
70 level_drm->offset = (uint64_t)level_ws->offset_256B * 256; in surf_level_winsys_to_drm()
71 level_drm->slice_size = (uint64_t)level_ws->slice_size_dw * 4; in surf_level_winsys_to_drm()
72 level_drm->nblk_x = level_ws->nblk_x; in surf_level_winsys_to_drm()
73 level_drm->nblk_y = level_ws->nblk_y; in surf_level_winsys_to_drm()
74 level_drm->pitch_bytes = level_ws->nblk_x * bpe; in surf_level_winsys_to_drm()
75 level_drm->mode = level_ws->mode; in surf_level_winsys_to_drm()
79 const struct radeon_surface_level *level_drm, in surf_level_drm_to_winsys() argument
82 level_ws->offset_256B = level_drm->offset / 256; in surf_level_drm_to_winsys()
83 level_ws->slice_size_dw = level_drm->slice_size / 4; in surf_level_drm_to_winsys()
[all …]