Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/mediatek/
H A Dmtk_plane.c144 int width_in_blocks = ALIGN(fb->width, AFBC_DATA_BLOCK_WIDTH) in mtk_plane_update_new_state() local
152 hdr_pitch = width_in_blocks * AFBC_HEADER_BLOCK_SIZE; in mtk_plane_update_new_state()
153 pitch = width_in_blocks * AFBC_DATA_BLOCK_WIDTH * in mtk_plane_update_new_state()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_plane.c1309 unsigned int width_in_blocks = DIV_ROUND_UP(width, 32); in intel_ytile_get_offset() local
1312 offset = ((y / YTILE_HEIGHT) * width_in_blocks + (x / YTILE_WIDTH)) * YTILE_SIZE; in intel_ytile_get_offset()
1327 unsigned int width_in_blocks = DIV_ROUND_UP(width, 32); in intel_4tile_get_offset() local
1330 offset = ((y / YTILE_HEIGHT) * width_in_blocks + (x / YTILE_WIDTH)) * YTILE_SIZE; in intel_4tile_get_offset()