/openbsd/sys/dev/pci/drm/radeon/ |
H A D | atombios_crtc.c | 1332 fb_format |= EVERGREEN_GRPH_BANK_WIDTH(bankw); in dce4_crtc_do_set_base() 1506 fb_format = in avivo_crtc_do_set_base() 1512 fb_format = in avivo_crtc_do_set_base() 1520 fb_format = in avivo_crtc_do_set_base() 1528 fb_format = in avivo_crtc_do_set_base() 1537 fb_format = in avivo_crtc_do_set_base() 1546 fb_format = in avivo_crtc_do_set_base() 1557 fb_format = in avivo_crtc_do_set_base() 1565 fb_format |= AVIVO_D1GRPH_SWAP_RB; in avivo_crtc_do_set_base() 1583 fb_format |= AVIVO_D1GRPH_MACRO_ADDRESS_MODE; in avivo_crtc_do_set_base() [all …]
|
/openbsd/sys/dev/pci/drm/amd/amdgpu/ |
H A D | dce_v10_0.c | 1897 fb_format = REG_SET_FIELD(fb_format, GRPH_CONTROL, GRPH_FORMAT, 0); in dce_v10_0_crtc_do_set_base() 1902 fb_format = REG_SET_FIELD(fb_format, GRPH_CONTROL, GRPH_FORMAT, 2); in dce_v10_0_crtc_do_set_base() 1911 fb_format = REG_SET_FIELD(fb_format, GRPH_CONTROL, GRPH_FORMAT, 0); in dce_v10_0_crtc_do_set_base() 1920 fb_format = REG_SET_FIELD(fb_format, GRPH_CONTROL, GRPH_FORMAT, 5); in dce_v10_0_crtc_do_set_base() 1928 fb_format = REG_SET_FIELD(fb_format, GRPH_CONTROL, GRPH_FORMAT, 1); in dce_v10_0_crtc_do_set_base() 1937 fb_format = REG_SET_FIELD(fb_format, GRPH_CONTROL, GRPH_FORMAT, 0); in dce_v10_0_crtc_do_set_base() 1946 fb_format = REG_SET_FIELD(fb_format, GRPH_CONTROL, GRPH_FORMAT, 1); in dce_v10_0_crtc_do_set_base() 1957 fb_format = REG_SET_FIELD(fb_format, GRPH_CONTROL, GRPH_FORMAT, 4); in dce_v10_0_crtc_do_set_base() 1968 fb_format = REG_SET_FIELD(fb_format, GRPH_CONTROL, GRPH_FORMAT, 0); in dce_v10_0_crtc_do_set_base() 1992 fb_format = REG_SET_FIELD(fb_format, GRPH_CONTROL, GRPH_ARRAY_MODE, in dce_v10_0_crtc_do_set_base() [all …]
|
H A D | dce_v11_0.c | 1947 fb_format = REG_SET_FIELD(fb_format, GRPH_CONTROL, GRPH_FORMAT, 0); in dce_v11_0_crtc_do_set_base() 1952 fb_format = REG_SET_FIELD(fb_format, GRPH_CONTROL, GRPH_FORMAT, 2); in dce_v11_0_crtc_do_set_base() 1961 fb_format = REG_SET_FIELD(fb_format, GRPH_CONTROL, GRPH_FORMAT, 0); in dce_v11_0_crtc_do_set_base() 1970 fb_format = REG_SET_FIELD(fb_format, GRPH_CONTROL, GRPH_FORMAT, 5); in dce_v11_0_crtc_do_set_base() 1978 fb_format = REG_SET_FIELD(fb_format, GRPH_CONTROL, GRPH_FORMAT, 1); in dce_v11_0_crtc_do_set_base() 1987 fb_format = REG_SET_FIELD(fb_format, GRPH_CONTROL, GRPH_FORMAT, 0); in dce_v11_0_crtc_do_set_base() 1996 fb_format = REG_SET_FIELD(fb_format, GRPH_CONTROL, GRPH_FORMAT, 1); in dce_v11_0_crtc_do_set_base() 2007 fb_format = REG_SET_FIELD(fb_format, GRPH_CONTROL, GRPH_FORMAT, 4); in dce_v11_0_crtc_do_set_base() 2018 fb_format = REG_SET_FIELD(fb_format, GRPH_CONTROL, GRPH_FORMAT, 0); in dce_v11_0_crtc_do_set_base() 2042 fb_format = REG_SET_FIELD(fb_format, GRPH_CONTROL, GRPH_ARRAY_MODE, in dce_v11_0_crtc_do_set_base() [all …]
|
H A D | dce_v8_0.c | 1786 uint32_t fb_format, fb_pitch_pixels; in dce_v8_0_crtc_do_set_base() local 1829 fb_format = ((GRPH_DEPTH_8BPP << GRPH_CONTROL__GRPH_DEPTH__SHIFT) | in dce_v8_0_crtc_do_set_base() 1834 fb_format = ((GRPH_DEPTH_16BPP << GRPH_CONTROL__GRPH_DEPTH__SHIFT) | in dce_v8_0_crtc_do_set_base() 1842 fb_format = ((GRPH_DEPTH_16BPP << GRPH_CONTROL__GRPH_DEPTH__SHIFT) | in dce_v8_0_crtc_do_set_base() 1850 fb_format = ((GRPH_DEPTH_16BPP << GRPH_CONTROL__GRPH_DEPTH__SHIFT) | in dce_v8_0_crtc_do_set_base() 1916 fb_format |= (num_banks << GRPH_CONTROL__GRPH_NUM_BANKS__SHIFT); in dce_v8_0_crtc_do_set_base() 1918 fb_format |= (tile_split << GRPH_CONTROL__GRPH_TILE_SPLIT__SHIFT); in dce_v8_0_crtc_do_set_base() 1919 fb_format |= (bankw << GRPH_CONTROL__GRPH_BANK_WIDTH__SHIFT); in dce_v8_0_crtc_do_set_base() 1920 fb_format |= (bankh << GRPH_CONTROL__GRPH_BANK_HEIGHT__SHIFT); in dce_v8_0_crtc_do_set_base() 1927 fb_format |= (pipe_config << GRPH_CONTROL__GRPH_PIPE_CONFIG__SHIFT); in dce_v8_0_crtc_do_set_base() [all …]
|
H A D | dce_v6_0.c | 1860 fb_format = (GRPH_DEPTH(GRPH_DEPTH_8BPP) | in dce_v6_0_crtc_do_set_base() 1865 fb_format = (GRPH_DEPTH(GRPH_DEPTH_16BPP) | in dce_v6_0_crtc_do_set_base() 1873 fb_format = (GRPH_DEPTH(GRPH_DEPTH_16BPP) | in dce_v6_0_crtc_do_set_base() 1881 fb_format = (GRPH_DEPTH(GRPH_DEPTH_16BPP) | in dce_v6_0_crtc_do_set_base() 1888 fb_format = (GRPH_DEPTH(GRPH_DEPTH_16BPP) | in dce_v6_0_crtc_do_set_base() 1896 fb_format = (GRPH_DEPTH(GRPH_DEPTH_32BPP) | in dce_v6_0_crtc_do_set_base() 1947 fb_format |= GRPH_NUM_BANKS(num_banks); in dce_v6_0_crtc_do_set_base() 1949 fb_format |= GRPH_TILE_SPLIT(tile_split); in dce_v6_0_crtc_do_set_base() 1950 fb_format |= GRPH_BANK_WIDTH(bankw); in dce_v6_0_crtc_do_set_base() 1951 fb_format |= GRPH_BANK_HEIGHT(bankh); in dce_v6_0_crtc_do_set_base() [all …]
|
/openbsd/sys/dev/pci/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_trace.h | 234 __field(uint32_t, fb_format) 263 __entry->fb_format = state->fb ? state->fb->format->format : 0; 294 (__entry->fb_format & 0xff) ? (__entry->fb_format & 0xff) : 'N', 295 ((__entry->fb_format >> 8) & 0xff) ? ((__entry->fb_format >> 8) & 0xff) : 'O', 296 ((__entry->fb_format >> 16) & 0xff) ? ((__entry->fb_format >> 16) & 0xff) : 'N', 297 ((__entry->fb_format >> 24) & 0x7f) ? ((__entry->fb_format >> 24) & 0x7f) : 'E',
|
/openbsd/sys/dev/pci/drm/ |
H A D | drm_format_helper.c | 901 uint32_t fb_format = fb->format->format; in drm_fb_blit() local 903 if (fb_format == dst_format) { in drm_fb_blit() 906 } else if (fb_format == (dst_format | DRM_FORMAT_BIG_ENDIAN)) { in drm_fb_blit() 909 } else if (fb_format == (dst_format & ~DRM_FORMAT_BIG_ENDIAN)) { in drm_fb_blit() 912 } else if (fb_format == DRM_FORMAT_XRGB8888) { in drm_fb_blit() 950 &fb_format, &dst_format); in drm_fb_blit()
|