Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/gpu/drm/radeon/
A Dradeon_legacy_crtc.c385 uint32_t crtc_pitch, pitch_pixels; in radeon_crtc_do_set_base() local
477 pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; in radeon_crtc_do_set_base()
478 crtc_pitch = DIV_ROUND_UP(pitch_pixels * target_fb->format->cpp[0] * 8, in radeon_crtc_do_set_base()
505 int tile_addr = (((y >> 3) * pitch_pixels + x) >> (8 - byteshift)) << 11; in radeon_crtc_do_set_base()
510 int offset = y * pitch_pixels + x; in radeon_crtc_do_set_base()
A Dradeon_display.c492 uint32_t tiling_flags, pitch_pixels; in radeon_crtc_page_flip_target() local
550 pitch_pixels = fb->pitches[0] / fb->format->cpp[0]; in radeon_crtc_page_flip_target()
557 int tile_addr = (((crtc->y >> 3) * pitch_pixels + crtc->x) >> (8 - byteshift)) << 11; in radeon_crtc_page_flip_target()
561 int offset = crtc->y * pitch_pixels + crtc->x; in radeon_crtc_page_flip_target()
A Dr100.c166 uint32_t crtc_pitch, pitch_pixels; in r100_page_flip() local
176 pitch_pixels = fb->pitches[0] / fb->format->cpp[0]; in r100_page_flip()
177 crtc_pitch = DIV_ROUND_UP(pitch_pixels * fb->format->cpp[0] * 8, in r100_page_flip()
/linux-6.3-rc2/drivers/gpu/drm/i915/display/
A Dintel_fb.c876 unsigned int pitch_pixels = pitch_tiles * tile_width; in intel_adjust_tile_offset() local
889 *y += *x / pitch_pixels * tile_height; in intel_adjust_tile_offset()
890 *x %= pitch_pixels; in intel_adjust_tile_offset()

Completed in 20 milliseconds