/linux-5.19.10/drivers/gpu/drm/ |
D | drm_format_helper.c | 557 uint32_t fb_format = fb->format->format; in drm_fb_blit_toio() local 560 if (fb_format == DRM_FORMAT_ARGB8888) in drm_fb_blit_toio() 561 fb_format = DRM_FORMAT_XRGB8888; in drm_fb_blit_toio() 564 if (fb_format == DRM_FORMAT_ARGB2101010) in drm_fb_blit_toio() 565 fb_format = DRM_FORMAT_XRGB2101010; in drm_fb_blit_toio() 569 if (dst_format == fb_format) { in drm_fb_blit_toio() 574 if (fb_format == DRM_FORMAT_XRGB8888) { in drm_fb_blit_toio() 579 if (fb_format == DRM_FORMAT_XRGB8888) { in drm_fb_blit_toio() 584 if (fb_format == DRM_FORMAT_RGB888) { in drm_fb_blit_toio() 587 } else if (fb_format == DRM_FORMAT_RGB565) { in drm_fb_blit_toio() [all …]
|
/linux-5.19.10/drivers/gpu/drm/radeon/ |
D | atombios_crtc.c | 1154 uint32_t fb_format, fb_pitch_pixels, tiling_flags; in dce4_crtc_do_set_base() local 1196 fb_format = (EVERGREEN_GRPH_DEPTH(EVERGREEN_GRPH_DEPTH_8BPP) | in dce4_crtc_do_set_base() 1201 fb_format = (EVERGREEN_GRPH_DEPTH(EVERGREEN_GRPH_DEPTH_16BPP) | in dce4_crtc_do_set_base() 1209 fb_format = (EVERGREEN_GRPH_DEPTH(EVERGREEN_GRPH_DEPTH_16BPP) | in dce4_crtc_do_set_base() 1217 fb_format = (EVERGREEN_GRPH_DEPTH(EVERGREEN_GRPH_DEPTH_16BPP) | in dce4_crtc_do_set_base() 1224 fb_format = (EVERGREEN_GRPH_DEPTH(EVERGREEN_GRPH_DEPTH_16BPP) | in dce4_crtc_do_set_base() 1232 fb_format = (EVERGREEN_GRPH_DEPTH(EVERGREEN_GRPH_DEPTH_32BPP) | in dce4_crtc_do_set_base() 1240 fb_format = (EVERGREEN_GRPH_DEPTH(EVERGREEN_GRPH_DEPTH_32BPP) | in dce4_crtc_do_set_base() 1250 fb_format = (EVERGREEN_GRPH_DEPTH(EVERGREEN_GRPH_DEPTH_32BPP) | in dce4_crtc_do_set_base() 1260 fb_format = (EVERGREEN_GRPH_DEPTH(EVERGREEN_GRPH_DEPTH_32BPP) | in dce4_crtc_do_set_base() [all …]
|
/linux-5.19.10/drivers/gpu/drm/amd/amdgpu/ |
D | dce_v10_0.c | 1859 uint32_t fb_format, fb_pitch_pixels; in dce_v10_0_crtc_do_set_base() local 1902 fb_format = REG_SET_FIELD(0, GRPH_CONTROL, GRPH_DEPTH, 0); in dce_v10_0_crtc_do_set_base() 1903 fb_format = REG_SET_FIELD(fb_format, GRPH_CONTROL, GRPH_FORMAT, 0); in dce_v10_0_crtc_do_set_base() 1907 fb_format = REG_SET_FIELD(0, GRPH_CONTROL, GRPH_DEPTH, 1); in dce_v10_0_crtc_do_set_base() 1908 fb_format = REG_SET_FIELD(fb_format, GRPH_CONTROL, GRPH_FORMAT, 2); in dce_v10_0_crtc_do_set_base() 1916 fb_format = REG_SET_FIELD(0, GRPH_CONTROL, GRPH_DEPTH, 1); in dce_v10_0_crtc_do_set_base() 1917 fb_format = REG_SET_FIELD(fb_format, GRPH_CONTROL, GRPH_FORMAT, 0); in dce_v10_0_crtc_do_set_base() 1925 fb_format = REG_SET_FIELD(0, GRPH_CONTROL, GRPH_DEPTH, 1); in dce_v10_0_crtc_do_set_base() 1926 fb_format = REG_SET_FIELD(fb_format, GRPH_CONTROL, GRPH_FORMAT, 5); in dce_v10_0_crtc_do_set_base() 1933 fb_format = REG_SET_FIELD(0, GRPH_CONTROL, GRPH_DEPTH, 1); in dce_v10_0_crtc_do_set_base() [all …]
|
D | dce_v11_0.c | 1901 uint32_t fb_format, fb_pitch_pixels; in dce_v11_0_crtc_do_set_base() local 1944 fb_format = REG_SET_FIELD(0, GRPH_CONTROL, GRPH_DEPTH, 0); in dce_v11_0_crtc_do_set_base() 1945 fb_format = REG_SET_FIELD(fb_format, GRPH_CONTROL, GRPH_FORMAT, 0); in dce_v11_0_crtc_do_set_base() 1949 fb_format = REG_SET_FIELD(0, GRPH_CONTROL, GRPH_DEPTH, 1); in dce_v11_0_crtc_do_set_base() 1950 fb_format = REG_SET_FIELD(fb_format, GRPH_CONTROL, GRPH_FORMAT, 2); in dce_v11_0_crtc_do_set_base() 1958 fb_format = REG_SET_FIELD(0, GRPH_CONTROL, GRPH_DEPTH, 1); in dce_v11_0_crtc_do_set_base() 1959 fb_format = REG_SET_FIELD(fb_format, GRPH_CONTROL, GRPH_FORMAT, 0); in dce_v11_0_crtc_do_set_base() 1967 fb_format = REG_SET_FIELD(0, GRPH_CONTROL, GRPH_DEPTH, 1); in dce_v11_0_crtc_do_set_base() 1968 fb_format = REG_SET_FIELD(fb_format, GRPH_CONTROL, GRPH_FORMAT, 5); in dce_v11_0_crtc_do_set_base() 1975 fb_format = REG_SET_FIELD(0, GRPH_CONTROL, GRPH_DEPTH, 1); in dce_v11_0_crtc_do_set_base() [all …]
|
D | dce_v8_0.c | 1788 uint32_t fb_format, fb_pitch_pixels; in dce_v8_0_crtc_do_set_base() local 1831 fb_format = ((GRPH_DEPTH_8BPP << GRPH_CONTROL__GRPH_DEPTH__SHIFT) | in dce_v8_0_crtc_do_set_base() 1836 fb_format = ((GRPH_DEPTH_16BPP << GRPH_CONTROL__GRPH_DEPTH__SHIFT) | in dce_v8_0_crtc_do_set_base() 1844 fb_format = ((GRPH_DEPTH_16BPP << GRPH_CONTROL__GRPH_DEPTH__SHIFT) | in dce_v8_0_crtc_do_set_base() 1852 fb_format = ((GRPH_DEPTH_16BPP << GRPH_CONTROL__GRPH_DEPTH__SHIFT) | in dce_v8_0_crtc_do_set_base() 1859 fb_format = ((GRPH_DEPTH_16BPP << GRPH_CONTROL__GRPH_DEPTH__SHIFT) | in dce_v8_0_crtc_do_set_base() 1867 fb_format = ((GRPH_DEPTH_32BPP << GRPH_CONTROL__GRPH_DEPTH__SHIFT) | in dce_v8_0_crtc_do_set_base() 1875 fb_format = ((GRPH_DEPTH_32BPP << GRPH_CONTROL__GRPH_DEPTH__SHIFT) | in dce_v8_0_crtc_do_set_base() 1885 fb_format = ((GRPH_DEPTH_32BPP << GRPH_CONTROL__GRPH_DEPTH__SHIFT) | in dce_v8_0_crtc_do_set_base() 1895 fb_format = ((GRPH_DEPTH_32BPP << GRPH_CONTROL__GRPH_DEPTH__SHIFT) | in dce_v8_0_crtc_do_set_base() [all …]
|
D | dce_v6_0.c | 1818 uint32_t fb_format, fb_pitch_pixels, pipe_config; in dce_v6_0_crtc_do_set_base() local 1858 fb_format = (GRPH_DEPTH(GRPH_DEPTH_8BPP) | in dce_v6_0_crtc_do_set_base() 1863 fb_format = (GRPH_DEPTH(GRPH_DEPTH_16BPP) | in dce_v6_0_crtc_do_set_base() 1871 fb_format = (GRPH_DEPTH(GRPH_DEPTH_16BPP) | in dce_v6_0_crtc_do_set_base() 1879 fb_format = (GRPH_DEPTH(GRPH_DEPTH_16BPP) | in dce_v6_0_crtc_do_set_base() 1886 fb_format = (GRPH_DEPTH(GRPH_DEPTH_16BPP) | in dce_v6_0_crtc_do_set_base() 1894 fb_format = (GRPH_DEPTH(GRPH_DEPTH_32BPP) | in dce_v6_0_crtc_do_set_base() 1902 fb_format = (GRPH_DEPTH(GRPH_DEPTH_32BPP) | in dce_v6_0_crtc_do_set_base() 1912 fb_format = (GRPH_DEPTH(GRPH_DEPTH_32BPP) | in dce_v6_0_crtc_do_set_base() 1922 fb_format = (GRPH_DEPTH(GRPH_DEPTH_32BPP) | in dce_v6_0_crtc_do_set_base() [all …]
|
/linux-5.19.10/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_trace.h | 232 __field(uint32_t, fb_format) 261 __entry->fb_format = state->fb ? state->fb->format->format : 0; 292 (__entry->fb_format & 0xff) ? (__entry->fb_format & 0xff) : 'N', 293 ((__entry->fb_format >> 8) & 0xff) ? ((__entry->fb_format >> 8) & 0xff) : 'O', 294 ((__entry->fb_format >> 16) & 0xff) ? ((__entry->fb_format >> 16) & 0xff) : 'N', 295 ((__entry->fb_format >> 24) & 0x7f) ? ((__entry->fb_format >> 24) & 0x7f) : 'E',
|
/linux-5.19.10/arch/mips/include/uapi/asm/ |
D | inst.h | 793 struct fb_format { /* FPU branch format (MIPS32) */ struct 1104 struct fb_format fb_format; member
|
/linux-5.19.10/arch/mips/math-emu/ |
D | cp1emu.c | 113 mips32_insn.fb_format.opcode = cop1_op; in microMIPS32_to_MIPS32() 114 mips32_insn.fb_format.bc = bc_op; in microMIPS32_to_MIPS32() 115 mips32_insn.fb_format.flag = in microMIPS32_to_MIPS32()
|