Searched refs:target_fb (Results 1 – 6 of 6) sorted by relevance
| /Linux-v6.6/drivers/gpu/drm/radeon/ |
| D | radeon_legacy_crtc.c | 380 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()
|
| D | atombios_crtc.c | 1141 struct drm_framebuffer *target_fb; in dce4_crtc_do_set_base() local 1159 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 …]
|
| /Linux-v6.6/drivers/gpu/drm/amd/amdgpu/ |
| D | dce_v6_0.c | 1816 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()
|
| D | dce_v8_0.c | 1782 struct drm_framebuffer *target_fb; in dce_v8_0_crtc_do_set_base() local 1800 target_fb = fb; in dce_v8_0_crtc_do_set_base() 1802 target_fb = crtc->primary->fb; in dce_v8_0_crtc_do_set_base() 1807 obj = target_fb->obj[0]; in dce_v8_0_crtc_do_set_base() 1827 switch (target_fb->format->format) { in dce_v8_0_crtc_do_set_base() 1903 &target_fb->format->format); in dce_v8_0_crtc_do_set_base() 1963 WREG32(mmGRPH_X_END + amdgpu_crtc->crtc_offset, target_fb->width); in dce_v8_0_crtc_do_set_base() 1964 WREG32(mmGRPH_Y_END + amdgpu_crtc->crtc_offset, target_fb->height); in dce_v8_0_crtc_do_set_base() 1966 fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; in dce_v8_0_crtc_do_set_base() 1972 target_fb->height); in dce_v8_0_crtc_do_set_base()
|
| D | dce_v10_0.c | 1849 struct drm_framebuffer *target_fb; in dce_v10_0_crtc_do_set_base() local 1867 target_fb = fb; in dce_v10_0_crtc_do_set_base() 1869 target_fb = crtc->primary->fb; in dce_v10_0_crtc_do_set_base() 1874 obj = target_fb->obj[0]; in dce_v10_0_crtc_do_set_base() 1894 switch (target_fb->format->format) { in dce_v10_0_crtc_do_set_base() 1978 &target_fb->format->format); in dce_v10_0_crtc_do_set_base() 2050 WREG32(mmGRPH_X_END + amdgpu_crtc->crtc_offset, target_fb->width); in dce_v10_0_crtc_do_set_base() 2051 WREG32(mmGRPH_Y_END + amdgpu_crtc->crtc_offset, target_fb->height); in dce_v10_0_crtc_do_set_base() 2053 fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; in dce_v10_0_crtc_do_set_base() 2059 target_fb->height); in dce_v10_0_crtc_do_set_base()
|
| D | dce_v11_0.c | 1899 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()
|