Searched refs:target_fb (Results 1 – 6 of 6) sorted by relevance
| /Linux-v6.1/drivers/gpu/drm/radeon/ |
| D | radeon_legacy_crtc.c | 381 struct drm_framebuffer *target_fb; in radeon_crtc_do_set_base() local 400 target_fb = fb; in radeon_crtc_do_set_base() 402 target_fb = crtc->primary->fb; in radeon_crtc_do_set_base() 404 switch (target_fb->format->cpp[0] * 8) { in radeon_crtc_do_set_base() 425 obj = target_fb->obj[0]; in radeon_crtc_do_set_base() 478 pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; in radeon_crtc_do_set_base() 479 crtc_pitch = DIV_ROUND_UP(pitch_pixels * target_fb->format->cpp[0] * 8, in radeon_crtc_do_set_base() 480 target_fb->format->cpp[0] * 8 * 8); in radeon_crtc_do_set_base() 505 int byteshift = target_fb->format->cpp[0] * 8 >> 4; in radeon_crtc_do_set_base() 512 switch (target_fb->format->cpp[0] * 8) { in radeon_crtc_do_set_base()
|
| D | atombios_crtc.c | 1142 struct drm_framebuffer *target_fb; in dce4_crtc_do_set_base() local 1160 target_fb = fb; in dce4_crtc_do_set_base() 1162 target_fb = crtc->primary->fb; in dce4_crtc_do_set_base() 1167 obj = target_fb->obj[0]; in dce4_crtc_do_set_base() 1186 switch (target_fb->format->format) { in dce4_crtc_do_set_base() 1262 &target_fb->format->format); in dce4_crtc_do_set_base() 1278 tileb = 8 * 8 * target_fb->format->cpp[0]; in dce4_crtc_do_set_base() 1286 target_fb->format->cpp[0] * 8, in dce4_crtc_do_set_base() 1293 switch (target_fb->format->cpp[0] * 8) { in dce4_crtc_do_set_base() 1413 WREG32(EVERGREEN_GRPH_X_END + radeon_crtc->crtc_offset, target_fb->width); in dce4_crtc_do_set_base() [all …]
|
| /Linux-v6.1/drivers/gpu/drm/amd/amdgpu/ |
| D | dce_v6_0.c | 1814 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()
|
| D | dce_v8_0.c | 1784 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()
|
| D | dce_v10_0.c | 1855 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()
|
| D | dce_v11_0.c | 1897 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()
|