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

/openbsd-current/sys/dev/pci/drm/radeon/
H A Dradeon_legacy_crtc.c380 struct drm_framebuffer *target_fb; local
399 target_fb = fb;
401 target_fb = crtc->primary->fb;
403 switch (target_fb->format->cpp[0] * 8) {
424 obj = target_fb->obj[0];
477 pitch_pixels = target_fb->pitches[0] / target_fb->format->cpp[0];
478 crtc_pitch = DIV_ROUND_UP(pitch_pixels * target_fb->format->cpp[0] * 8,
479 target_fb->format->cpp[0] * 8 * 8);
504 int byteshift = target_fb
[all...]
H A Datombios_crtc.c1141 struct drm_framebuffer *target_fb; local
1159 target_fb = fb;
1161 target_fb = crtc->primary->fb;
1166 obj = target_fb->obj[0];
1185 switch (target_fb->format->format) {
1261 &target_fb->format->format);
1277 tileb = 8 * 8 * target_fb->format->cpp[0];
1285 target_fb->format->cpp[0] * 8,
1292 switch (target_fb->format->cpp[0] * 8) {
1412 WREG32(EVERGREEN_GRPH_X_END + radeon_crtc->crtc_offset, target_fb
1464 struct drm_framebuffer *target_fb; local
[all...]
/openbsd-current/sys/dev/pci/drm/amd/amdgpu/
H A Ddce_v11_0.c1899 struct drm_framebuffer *target_fb; local
1917 target_fb = fb;
1919 target_fb = crtc->primary->fb;
1924 obj = target_fb->obj[0];
1944 switch (target_fb->format->format) {
2028 &target_fb->format->format);
2100 WREG32(mmGRPH_X_END + amdgpu_crtc->crtc_offset, target_fb->width);
2101 WREG32(mmGRPH_Y_END + amdgpu_crtc->crtc_offset, target_fb->height);
2103 fb_pitch_pixels = target_fb->pitches[0] / target_fb
[all...]
H A Ddce_v10_0.c1849 struct drm_framebuffer *target_fb; local
1867 target_fb = fb;
1869 target_fb = crtc->primary->fb;
1874 obj = target_fb->obj[0];
1894 switch (target_fb->format->format) {
1978 &target_fb->format->format);
2050 WREG32(mmGRPH_X_END + amdgpu_crtc->crtc_offset, target_fb->width);
2051 WREG32(mmGRPH_Y_END + amdgpu_crtc->crtc_offset, target_fb->height);
2053 fb_pitch_pixels = target_fb->pitches[0] / target_fb
[all...]
H A Ddce_v8_0.c1782 struct drm_framebuffer *target_fb; local
1800 target_fb = fb;
1802 target_fb = crtc->primary->fb;
1807 obj = target_fb->obj[0];
1827 switch (target_fb->format->format) {
1903 &target_fb->format->format);
1963 WREG32(mmGRPH_X_END + amdgpu_crtc->crtc_offset, target_fb->width);
1964 WREG32(mmGRPH_Y_END + amdgpu_crtc->crtc_offset, target_fb->height);
1966 fb_pitch_pixels = target_fb->pitches[0] / target_fb
[all...]
H A Ddce_v6_0.c1816 struct drm_framebuffer *target_fb; local
1833 target_fb = fb;
1835 target_fb = crtc->primary->fb;
1840 obj = target_fb->obj[0];
1858 switch (target_fb->format->format) {
1934 &target_fb->format->format);
1994 WREG32(mmGRPH_X_END + amdgpu_crtc->crtc_offset, target_fb->width);
1995 WREG32(mmGRPH_Y_END + amdgpu_crtc->crtc_offset, target_fb->height);
1997 fb_pitch_pixels = target_fb->pitches[0] / target_fb
[all...]

Completed in 198 milliseconds