Home
last modified time | relevance | path

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

/dragonfly/sys/dev/drm/radeon/
H A Dradeon_legacy_crtc.c383 uint32_t crtc_pitch, pitch_pixels; in radeon_crtc_do_set_base() local
479 pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; in radeon_crtc_do_set_base()
480 crtc_pitch = DIV_ROUND_UP(pitch_pixels * target_fb->format->cpp[0] * 8, in radeon_crtc_do_set_base()
507 int tile_addr = (((y >> 3) * pitch_pixels + x) >> (8 - byteshift)) << 11; in radeon_crtc_do_set_base()
512 int offset = y * pitch_pixels + x; in radeon_crtc_do_set_base()
H A Dradeon_display.c485 uint32_t tiling_flags, pitch_pixels; in radeon_crtc_page_flip_target() local
539 pitch_pixels = fb->pitches[0] / fb->format->cpp[0]; in radeon_crtc_page_flip_target()
546 int tile_addr = (((crtc->y >> 3) * pitch_pixels + crtc->x) >> (8 - byteshift)) << 11; in radeon_crtc_page_flip_target()
550 int offset = crtc->y * pitch_pixels + crtc->x; in radeon_crtc_page_flip_target()
/dragonfly/sys/dev/drm/i915/
H A Dintel_display.c2235 unsigned int pitch_pixels = pitch_tiles * tile_width; in __intel_adjust_tile_offset() local
2248 *y += *x / pitch_pixels * tile_height; in __intel_adjust_tile_offset()
2249 *x %= pitch_pixels; in __intel_adjust_tile_offset()