Home
last modified time | relevance | path

Searched refs:target_fb (Results 1 – 6 of 6) sorted by relevance

/drivers/gpu/drm/radeon/
Dradeon_legacy_crtc.c380 struct drm_framebuffer *target_fb; in radeon_crtc_do_set_base() local
399 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()
Datombios_crtc.c1150 struct drm_framebuffer *target_fb; in dce4_crtc_do_set_base() local
1168 target_fb = fb; in dce4_crtc_do_set_base()
1170 target_fb = crtc->primary->fb; in dce4_crtc_do_set_base()
1175 obj = target_fb->obj[0]; in dce4_crtc_do_set_base()
1194 switch (target_fb->format->format) { in dce4_crtc_do_set_base()
1270 &target_fb->format->format); in dce4_crtc_do_set_base()
1286 tileb = 8 * 8 * target_fb->format->cpp[0]; in dce4_crtc_do_set_base()
1294 target_fb->format->cpp[0] * 8, in dce4_crtc_do_set_base()
1301 switch (target_fb->format->cpp[0] * 8) { in dce4_crtc_do_set_base()
1421 WREG32(EVERGREEN_GRPH_X_END + radeon_crtc->crtc_offset, target_fb->width); in dce4_crtc_do_set_base()
[all …]
/drivers/gpu/drm/amd/amdgpu/
Ddce_v8_0.c1784 struct drm_framebuffer *target_fb; in dce_v8_0_crtc_do_set_base() local
1802 target_fb = fb; in dce_v8_0_crtc_do_set_base()
1804 target_fb = crtc->primary->fb; in dce_v8_0_crtc_do_set_base()
1809 obj = target_fb->obj[0]; in dce_v8_0_crtc_do_set_base()
1829 switch (target_fb->format->format) { in dce_v8_0_crtc_do_set_base()
1905 &target_fb->format->format); in dce_v8_0_crtc_do_set_base()
1965 WREG32(mmGRPH_X_END + amdgpu_crtc->crtc_offset, target_fb->width); in dce_v8_0_crtc_do_set_base()
1966 WREG32(mmGRPH_Y_END + amdgpu_crtc->crtc_offset, target_fb->height); in dce_v8_0_crtc_do_set_base()
1968 fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; in dce_v8_0_crtc_do_set_base()
1974 target_fb->height); in dce_v8_0_crtc_do_set_base()
Ddce_v6_0.c1814 struct drm_framebuffer *target_fb; in dce_v6_0_crtc_do_set_base() local
1831 target_fb = fb; in dce_v6_0_crtc_do_set_base()
1833 target_fb = crtc->primary->fb; in dce_v6_0_crtc_do_set_base()
1838 obj = target_fb->obj[0]; in dce_v6_0_crtc_do_set_base()
1856 switch (target_fb->format->format) { in dce_v6_0_crtc_do_set_base()
1932 &target_fb->format->format); in dce_v6_0_crtc_do_set_base()
1992 WREG32(mmGRPH_X_END + amdgpu_crtc->crtc_offset, target_fb->width); in dce_v6_0_crtc_do_set_base()
1993 WREG32(mmGRPH_Y_END + amdgpu_crtc->crtc_offset, target_fb->height); in dce_v6_0_crtc_do_set_base()
1995 fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; in dce_v6_0_crtc_do_set_base()
2001 target_fb->height); in dce_v6_0_crtc_do_set_base()
Ddce_v10_0.c1855 struct drm_framebuffer *target_fb; in dce_v10_0_crtc_do_set_base() local
1873 target_fb = fb; in dce_v10_0_crtc_do_set_base()
1875 target_fb = crtc->primary->fb; in dce_v10_0_crtc_do_set_base()
1880 obj = target_fb->obj[0]; in dce_v10_0_crtc_do_set_base()
1900 switch (target_fb->format->format) { in dce_v10_0_crtc_do_set_base()
1984 &target_fb->format->format); in dce_v10_0_crtc_do_set_base()
2056 WREG32(mmGRPH_X_END + amdgpu_crtc->crtc_offset, target_fb->width); in dce_v10_0_crtc_do_set_base()
2057 WREG32(mmGRPH_Y_END + amdgpu_crtc->crtc_offset, target_fb->height); in dce_v10_0_crtc_do_set_base()
2059 fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; in dce_v10_0_crtc_do_set_base()
2065 target_fb->height); in dce_v10_0_crtc_do_set_base()
Ddce_v11_0.c1897 struct drm_framebuffer *target_fb; in dce_v11_0_crtc_do_set_base() local
1915 target_fb = fb; in dce_v11_0_crtc_do_set_base()
1917 target_fb = crtc->primary->fb; in dce_v11_0_crtc_do_set_base()
1922 obj = target_fb->obj[0]; in dce_v11_0_crtc_do_set_base()
1942 switch (target_fb->format->format) { in dce_v11_0_crtc_do_set_base()
2026 &target_fb->format->format); in dce_v11_0_crtc_do_set_base()
2098 WREG32(mmGRPH_X_END + amdgpu_crtc->crtc_offset, target_fb->width); in dce_v11_0_crtc_do_set_base()
2099 WREG32(mmGRPH_Y_END + amdgpu_crtc->crtc_offset, target_fb->height); in dce_v11_0_crtc_do_set_base()
2101 fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; in dce_v11_0_crtc_do_set_base()
2107 target_fb->height); in dce_v11_0_crtc_do_set_base()