Searched refs:target_fb (Results 1 – 4 of 4) sorted by relevance
378 struct drm_framebuffer *target_fb; in radeon_crtc_do_set_base() local398 target_fb = fb; in radeon_crtc_do_set_base()402 target_fb = crtc->primary->fb; in radeon_crtc_do_set_base()405 switch (target_fb->format->cpp[0] * 8) { in radeon_crtc_do_set_base()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()481 target_fb->format->cpp[0] * 8 * 8); in radeon_crtc_do_set_base()506 int byteshift = target_fb->format->cpp[0] * 8 >> 4; in radeon_crtc_do_set_base()513 switch (target_fb->format->cpp[0] * 8) { in radeon_crtc_do_set_base()
1149 struct drm_framebuffer *target_fb; in dce4_crtc_do_set_base() local1169 target_fb = fb; in dce4_crtc_do_set_base()1173 target_fb = crtc->primary->fb; in dce4_crtc_do_set_base()1418 fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; in dce4_crtc_do_set_base()1424 target_fb->height); in dce4_crtc_do_set_base()1427 target_fb->height); in dce4_crtc_do_set_base()1469 struct drm_framebuffer *target_fb; in avivo_crtc_do_set_base() local1486 target_fb = fb; in avivo_crtc_do_set_base()1490 target_fb = crtc->primary->fb; in avivo_crtc_do_set_base()1625 fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; in avivo_crtc_do_set_base()[all …]
1828 struct drm_framebuffer *target_fb; in dce_v10_0_crtc_do_set_base() local1847 target_fb = fb; in dce_v10_0_crtc_do_set_base()1849 target_fb = crtc->primary->fb; in dce_v10_0_crtc_do_set_base()1854 obj = target_fb->obj[0]; in dce_v10_0_crtc_do_set_base()1874 switch (target_fb->format->format) { in dce_v10_0_crtc_do_set_base()1947 drm_get_format_name(target_fb->format->format, &format_name)); in dce_v10_0_crtc_do_set_base()2019 WREG32(mmGRPH_X_END + amdgpu_crtc->crtc_offset, target_fb->width); in dce_v10_0_crtc_do_set_base()2020 WREG32(mmGRPH_Y_END + amdgpu_crtc->crtc_offset, target_fb->height); in dce_v10_0_crtc_do_set_base()2022 fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; in dce_v10_0_crtc_do_set_base()2028 target_fb->height); in dce_v10_0_crtc_do_set_base()
1870 struct drm_framebuffer *target_fb; in dce_v11_0_crtc_do_set_base() local1889 target_fb = fb; in dce_v11_0_crtc_do_set_base()1891 target_fb = crtc->primary->fb; in dce_v11_0_crtc_do_set_base()1896 obj = target_fb->obj[0]; in dce_v11_0_crtc_do_set_base()1916 switch (target_fb->format->format) { in dce_v11_0_crtc_do_set_base()1989 drm_get_format_name(target_fb->format->format, &format_name)); in dce_v11_0_crtc_do_set_base()2061 WREG32(mmGRPH_X_END + amdgpu_crtc->crtc_offset, target_fb->width); in dce_v11_0_crtc_do_set_base()2062 WREG32(mmGRPH_Y_END + amdgpu_crtc->crtc_offset, target_fb->height); in dce_v11_0_crtc_do_set_base()2064 fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; in dce_v11_0_crtc_do_set_base()2070 target_fb->height); in dce_v11_0_crtc_do_set_base()