Searched refs:target_fb (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/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-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | dce_v6_0.c | 1833 struct drm_framebuffer *target_fb; in dce_v6_0_crtc_do_set_base() local 1850 target_fb = fb; in dce_v6_0_crtc_do_set_base() 1852 target_fb = crtc->primary->fb; in dce_v6_0_crtc_do_set_base() 1857 obj = target_fb->obj[0]; in dce_v6_0_crtc_do_set_base() 1876 switch (target_fb->format->format) { in dce_v6_0_crtc_do_set_base() 1952 &target_fb->format->format); in dce_v6_0_crtc_do_set_base() 2012 WREG32(mmGRPH_X_END + amdgpu_crtc->crtc_offset, target_fb->width); in dce_v6_0_crtc_do_set_base() 2013 WREG32(mmGRPH_Y_END + amdgpu_crtc->crtc_offset, target_fb->height); in dce_v6_0_crtc_do_set_base() 2015 fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; in dce_v6_0_crtc_do_set_base() 2021 target_fb->height); in dce_v6_0_crtc_do_set_base()
|
D | dce_v8_0.c | 1799 struct drm_framebuffer *target_fb; in dce_v8_0_crtc_do_set_base() local 1817 target_fb = fb; in dce_v8_0_crtc_do_set_base() 1819 target_fb = crtc->primary->fb; in dce_v8_0_crtc_do_set_base() 1824 obj = target_fb->obj[0]; in dce_v8_0_crtc_do_set_base() 1845 switch (target_fb->format->format) { in dce_v8_0_crtc_do_set_base() 1921 &target_fb->format->format); in dce_v8_0_crtc_do_set_base() 1981 WREG32(mmGRPH_X_END + amdgpu_crtc->crtc_offset, target_fb->width); in dce_v8_0_crtc_do_set_base() 1982 WREG32(mmGRPH_Y_END + amdgpu_crtc->crtc_offset, target_fb->height); in dce_v8_0_crtc_do_set_base() 1984 fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; in dce_v8_0_crtc_do_set_base() 1990 target_fb->height); in dce_v8_0_crtc_do_set_base()
|
D | dce_v10_0.c | 1852 struct drm_framebuffer *target_fb; in dce_v10_0_crtc_do_set_base() local 1870 target_fb = fb; in dce_v10_0_crtc_do_set_base() 1872 target_fb = crtc->primary->fb; in dce_v10_0_crtc_do_set_base() 1877 obj = target_fb->obj[0]; in dce_v10_0_crtc_do_set_base() 1898 switch (target_fb->format->format) { in dce_v10_0_crtc_do_set_base() 1982 &target_fb->format->format); in dce_v10_0_crtc_do_set_base() 2054 WREG32(mmGRPH_X_END + amdgpu_crtc->crtc_offset, target_fb->width); in dce_v10_0_crtc_do_set_base() 2055 WREG32(mmGRPH_Y_END + amdgpu_crtc->crtc_offset, target_fb->height); in dce_v10_0_crtc_do_set_base() 2057 fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; in dce_v10_0_crtc_do_set_base() 2063 target_fb->height); in dce_v10_0_crtc_do_set_base()
|
D | dce_v11_0.c | 1902 struct drm_framebuffer *target_fb; in dce_v11_0_crtc_do_set_base() local 1920 target_fb = fb; in dce_v11_0_crtc_do_set_base() 1922 target_fb = crtc->primary->fb; in dce_v11_0_crtc_do_set_base() 1927 obj = target_fb->obj[0]; in dce_v11_0_crtc_do_set_base() 1948 switch (target_fb->format->format) { in dce_v11_0_crtc_do_set_base() 2032 &target_fb->format->format); in dce_v11_0_crtc_do_set_base() 2104 WREG32(mmGRPH_X_END + amdgpu_crtc->crtc_offset, target_fb->width); in dce_v11_0_crtc_do_set_base() 2105 WREG32(mmGRPH_Y_END + amdgpu_crtc->crtc_offset, target_fb->height); in dce_v11_0_crtc_do_set_base() 2107 fb_pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0]; in dce_v11_0_crtc_do_set_base() 2113 target_fb->height); in dce_v11_0_crtc_do_set_base()
|