Searched refs:target_fb (Results 1 – 5 of 5) sorted by relevance
380 struct drm_framebuffer *target_fb; in radeon_crtc_do_set_base() local399 target_fb = fb; in radeon_crtc_do_set_base()401 target_fb = crtc->primary->fb; in radeon_crtc_do_set_base()403 switch (target_fb->format->cpp[0] * 8) { in radeon_crtc_do_set_base()424 obj = target_fb->obj[0]; in radeon_crtc_do_set_base()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()479 target_fb->format->cpp[0] * 8 * 8); in radeon_crtc_do_set_base()504 int byteshift = target_fb->format->cpp[0] * 8 >> 4; in radeon_crtc_do_set_base()511 switch (target_fb->format->cpp[0] * 8) { in radeon_crtc_do_set_base()
1141 struct drm_framebuffer *target_fb; in dce4_crtc_do_set_base() local1159 target_fb = fb; in dce4_crtc_do_set_base()1161 target_fb = crtc->primary->fb; in dce4_crtc_do_set_base()1166 obj = target_fb->obj[0]; in dce4_crtc_do_set_base()1185 switch (target_fb->format->format) { in dce4_crtc_do_set_base()1261 &target_fb->format->format); in dce4_crtc_do_set_base()1277 tileb = 8 * 8 * target_fb->format->cpp[0]; in dce4_crtc_do_set_base()1285 target_fb->format->cpp[0] * 8, in dce4_crtc_do_set_base()1292 switch (target_fb->format->cpp[0] * 8) { in dce4_crtc_do_set_base()1412 WREG32(EVERGREEN_GRPH_X_END + radeon_crtc->crtc_offset, target_fb->width); in dce4_crtc_do_set_base()[all …]
1793 struct drm_framebuffer *target_fb; in dce_v8_0_crtc_do_set_base() local1811 target_fb = fb; in dce_v8_0_crtc_do_set_base()1813 target_fb = crtc->primary->fb; in dce_v8_0_crtc_do_set_base()1818 obj = target_fb->obj[0]; in dce_v8_0_crtc_do_set_base()1839 switch (target_fb->format->format) { in dce_v8_0_crtc_do_set_base()1915 &target_fb->format->format); in dce_v8_0_crtc_do_set_base()1975 WREG32(mmGRPH_X_END + amdgpu_crtc->crtc_offset, target_fb->width); in dce_v8_0_crtc_do_set_base()1976 WREG32(mmGRPH_Y_END + amdgpu_crtc->crtc_offset, target_fb->height); in dce_v8_0_crtc_do_set_base()1978 fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; in dce_v8_0_crtc_do_set_base()1984 target_fb->height); in dce_v8_0_crtc_do_set_base()
1846 struct drm_framebuffer *target_fb; in dce_v10_0_crtc_do_set_base() local1864 target_fb = fb; in dce_v10_0_crtc_do_set_base()1866 target_fb = crtc->primary->fb; in dce_v10_0_crtc_do_set_base()1871 obj = target_fb->obj[0]; in dce_v10_0_crtc_do_set_base()1892 switch (target_fb->format->format) { in dce_v10_0_crtc_do_set_base()1976 &target_fb->format->format); in dce_v10_0_crtc_do_set_base()2048 WREG32(mmGRPH_X_END + amdgpu_crtc->crtc_offset, target_fb->width); in dce_v10_0_crtc_do_set_base()2049 WREG32(mmGRPH_Y_END + amdgpu_crtc->crtc_offset, target_fb->height); in dce_v10_0_crtc_do_set_base()2051 fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; in dce_v10_0_crtc_do_set_base()2057 target_fb->height); in dce_v10_0_crtc_do_set_base()
1884 struct drm_framebuffer *target_fb; in dce_v6_0_crtc_do_set_base() local1901 target_fb = fb; in dce_v6_0_crtc_do_set_base()1903 target_fb = crtc->primary->fb; in dce_v6_0_crtc_do_set_base()1908 obj = target_fb->obj[0]; in dce_v6_0_crtc_do_set_base()1927 switch (target_fb->format->format) { in dce_v6_0_crtc_do_set_base()2003 &target_fb->format->format); in dce_v6_0_crtc_do_set_base()2063 WREG32(mmGRPH_X_END + amdgpu_crtc->crtc_offset, target_fb->width); in dce_v6_0_crtc_do_set_base()2064 WREG32(mmGRPH_Y_END + amdgpu_crtc->crtc_offset, target_fb->height); in dce_v6_0_crtc_do_set_base()2066 fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; in dce_v6_0_crtc_do_set_base()2072 target_fb->height); in dce_v6_0_crtc_do_set_base()