Searched refs:target_fb (Results 1 – 2 of 2) sorted by relevance
375 struct drm_framebuffer *target_fb; in radeon_crtc_do_set_base() local395 target_fb = fb; in radeon_crtc_do_set_base()399 target_fb = crtc->primary->fb; in radeon_crtc_do_set_base()402 switch (target_fb->bits_per_pixel) { in radeon_crtc_do_set_base()476 pitch_pixels = target_fb->pitches[0] / (target_fb->bits_per_pixel / 8); in radeon_crtc_do_set_base()477 crtc_pitch = (((pitch_pixels * target_fb->bits_per_pixel) + in radeon_crtc_do_set_base()478 ((target_fb->bits_per_pixel * 8) - 1)) / in radeon_crtc_do_set_base()479 (target_fb->bits_per_pixel * 8)); in radeon_crtc_do_set_base()504 int byteshift = target_fb->bits_per_pixel >> 4; in radeon_crtc_do_set_base()511 switch (target_fb->bits_per_pixel) { in radeon_crtc_do_set_base()
1143 struct drm_framebuffer *target_fb; in dce4_crtc_do_set_base() local1162 target_fb = fb; in dce4_crtc_do_set_base()1166 target_fb = crtc->primary->fb; in dce4_crtc_do_set_base()1191 switch (target_fb->pixel_format) { in dce4_crtc_do_set_base()1257 drm_get_format_name(target_fb->pixel_format)); in dce4_crtc_do_set_base()1273 tileb = 8 * 8 * target_fb->bits_per_pixel / 8; in dce4_crtc_do_set_base()1281 target_fb->bits_per_pixel, tile_split); in dce4_crtc_do_set_base()1287 switch (target_fb->bits_per_pixel) { in dce4_crtc_do_set_base()1402 WREG32(EVERGREEN_GRPH_X_END + radeon_crtc->crtc_offset, target_fb->width); in dce4_crtc_do_set_base()1403 WREG32(EVERGREEN_GRPH_Y_END + radeon_crtc->crtc_offset, target_fb->height); in dce4_crtc_do_set_base()[all …]