Searched refs:pitch_pixels (Results 1 – 2 of 2) sorted by relevance
385 uint32_t crtc_pitch, pitch_pixels; in radeon_crtc_do_set_base() local477 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()
978 unsigned int pitch_pixels = pitch_tiles * tile_width; in intel_adjust_tile_offset() local991 *y += *x / pitch_pixels * tile_height; in intel_adjust_tile_offset()992 *x %= pitch_pixels; in intel_adjust_tile_offset()