Home
last modified time | relevance | path

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

/Linux-v5.10/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
1169 target_fb = fb; in dce4_crtc_do_set_base()
1171 target_fb = crtc->primary->fb; in dce4_crtc_do_set_base()
1176 obj = target_fb->obj[0]; in dce4_crtc_do_set_base()
1195 switch (target_fb->format->format) { in dce4_crtc_do_set_base()
1271 drm_get_format_name(target_fb->format->format, &format_name)); in dce4_crtc_do_set_base()
1287 tileb = 8 * 8 * target_fb->format->cpp[0]; in dce4_crtc_do_set_base()
1295 target_fb->format->cpp[0] * 8, in dce4_crtc_do_set_base()
1302 switch (target_fb->format->cpp[0] * 8) { in dce4_crtc_do_set_base()
1422 WREG32(EVERGREEN_GRPH_X_END + radeon_crtc->crtc_offset, target_fb->width); in dce4_crtc_do_set_base()
[all …]
/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/
Ddce_v6_0.c1814 struct drm_framebuffer *target_fb; in dce_v6_0_crtc_do_set_base() local
1832 target_fb = fb; in dce_v6_0_crtc_do_set_base()
1834 target_fb = crtc->primary->fb; in dce_v6_0_crtc_do_set_base()
1839 obj = target_fb->obj[0]; in dce_v6_0_crtc_do_set_base()
1857 switch (target_fb->format->format) { in dce_v6_0_crtc_do_set_base()
1933 drm_get_format_name(target_fb->format->format, &format_name)); in dce_v6_0_crtc_do_set_base()
1993 WREG32(mmGRPH_X_END + amdgpu_crtc->crtc_offset, target_fb->width); in dce_v6_0_crtc_do_set_base()
1994 WREG32(mmGRPH_Y_END + amdgpu_crtc->crtc_offset, target_fb->height); in dce_v6_0_crtc_do_set_base()
1996 fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; in dce_v6_0_crtc_do_set_base()
2002 target_fb->height); in dce_v6_0_crtc_do_set_base()
Ddce_v8_0.c1783 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 drm_get_format_name(target_fb->format->format, &format_name)); 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_v10_0.c1854 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 drm_get_format_name(target_fb->format->format, &format_name)); 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.c1896 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 drm_get_format_name(target_fb->format->format, &format_name)); 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()