Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/gpu/drm/radeon/
A 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()
A Datombios_crtc.c1159 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()
1415 fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; in dce4_crtc_do_set_base()
1421 target_fb->height); in dce4_crtc_do_set_base()
1424 target_fb->height); in dce4_crtc_do_set_base()
1479 target_fb = fb; in avivo_crtc_do_set_base()
1481 target_fb = crtc->primary->fb; in avivo_crtc_do_set_base()
1483 obj = target_fb->obj[0]; in avivo_crtc_do_set_base()
1630 fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; in avivo_crtc_do_set_base()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Ddce_v6_0.c1816 struct drm_framebuffer *target_fb; in dce_v6_0_crtc_do_set_base() local
1833 target_fb = fb; in dce_v6_0_crtc_do_set_base()
1835 target_fb = crtc->primary->fb; in dce_v6_0_crtc_do_set_base()
1840 obj = target_fb->obj[0]; in dce_v6_0_crtc_do_set_base()
1858 switch (target_fb->format->format) { in dce_v6_0_crtc_do_set_base()
1934 &target_fb->format->format); in dce_v6_0_crtc_do_set_base()
1994 WREG32(mmGRPH_X_END + amdgpu_crtc->crtc_offset, target_fb->width); in dce_v6_0_crtc_do_set_base()
1995 WREG32(mmGRPH_Y_END + amdgpu_crtc->crtc_offset, target_fb->height); in dce_v6_0_crtc_do_set_base()
1997 fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; in dce_v6_0_crtc_do_set_base()
2003 target_fb->height); in dce_v6_0_crtc_do_set_base()
A Ddce_v8_0.c1786 struct drm_framebuffer *target_fb; in dce_v8_0_crtc_do_set_base() local
1804 target_fb = fb; in dce_v8_0_crtc_do_set_base()
1806 target_fb = crtc->primary->fb; in dce_v8_0_crtc_do_set_base()
1811 obj = target_fb->obj[0]; in dce_v8_0_crtc_do_set_base()
1831 switch (target_fb->format->format) { in dce_v8_0_crtc_do_set_base()
1907 &target_fb->format->format); in dce_v8_0_crtc_do_set_base()
1967 WREG32(mmGRPH_X_END + amdgpu_crtc->crtc_offset, target_fb->width); in dce_v8_0_crtc_do_set_base()
1968 WREG32(mmGRPH_Y_END + amdgpu_crtc->crtc_offset, target_fb->height); in dce_v8_0_crtc_do_set_base()
1970 fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; in dce_v8_0_crtc_do_set_base()
1976 target_fb->height); in dce_v8_0_crtc_do_set_base()
A Ddce_v10_0.c1857 struct drm_framebuffer *target_fb; in dce_v10_0_crtc_do_set_base() local
1875 target_fb = fb; in dce_v10_0_crtc_do_set_base()
1877 target_fb = crtc->primary->fb; in dce_v10_0_crtc_do_set_base()
1882 obj = target_fb->obj[0]; in dce_v10_0_crtc_do_set_base()
1902 switch (target_fb->format->format) { in dce_v10_0_crtc_do_set_base()
1986 &target_fb->format->format); in dce_v10_0_crtc_do_set_base()
2058 WREG32(mmGRPH_X_END + amdgpu_crtc->crtc_offset, target_fb->width); in dce_v10_0_crtc_do_set_base()
2059 WREG32(mmGRPH_Y_END + amdgpu_crtc->crtc_offset, target_fb->height); in dce_v10_0_crtc_do_set_base()
2061 fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; in dce_v10_0_crtc_do_set_base()
2067 target_fb->height); in dce_v10_0_crtc_do_set_base()
A Ddce_v11_0.c1899 struct drm_framebuffer *target_fb; in dce_v11_0_crtc_do_set_base() local
1917 target_fb = fb; in dce_v11_0_crtc_do_set_base()
1919 target_fb = crtc->primary->fb; in dce_v11_0_crtc_do_set_base()
1924 obj = target_fb->obj[0]; in dce_v11_0_crtc_do_set_base()
1944 switch (target_fb->format->format) { in dce_v11_0_crtc_do_set_base()
2028 &target_fb->format->format); in dce_v11_0_crtc_do_set_base()
2100 WREG32(mmGRPH_X_END + amdgpu_crtc->crtc_offset, target_fb->width); in dce_v11_0_crtc_do_set_base()
2101 WREG32(mmGRPH_Y_END + amdgpu_crtc->crtc_offset, target_fb->height); in dce_v11_0_crtc_do_set_base()
2103 fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; in dce_v11_0_crtc_do_set_base()
2109 target_fb->height); in dce_v11_0_crtc_do_set_base()

Completed in 34 milliseconds