Searched refs:AMD_FMT_MOD_GET (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_display.c | 657 if (AMD_FMT_MOD_GET(DCC_RETILE, modifier)) in amdgpu_lookup_format_info() 662 if (AMD_FMT_MOD_GET(DCC, modifier)) in amdgpu_lookup_format_info() 943 unsigned int ver = AMD_FMT_MOD_GET(TILE_VERSION, modifier); in get_dcc_block_size() 952 return max(10 + (rb_aligned ? (int)AMD_FMT_MOD_GET(RB, modifier) : 0), 12); in get_dcc_block_size() 957 int pipes_log2 = AMD_FMT_MOD_GET(PIPE_XOR_BITS, modifier); in get_dcc_block_size() 960 AMD_FMT_MOD_GET(PACKERS, modifier) == pipes_log2) in get_dcc_block_size() 1037 int swizzle = AMD_FMT_MOD_GET(TILE, modifier); in amdgpu_display_verify_sizes() 1061 int swizzle = AMD_FMT_MOD_GET(TILE, modifier); in amdgpu_display_verify_sizes() 1096 AMD_FMT_MOD_GET(DCC, modifier)) { in amdgpu_display_verify_sizes() 1097 if (AMD_FMT_MOD_GET(DCC_RETILE, modifier)) { in amdgpu_display_verify_sizes() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_plane.c | 170 return IS_AMD_FMT_MOD(modifier) && AMD_FMT_MOD_GET(DCC, modifier); in modifier_has_dcc() 178 return AMD_FMT_MOD_GET(TILE, modifier); in modifier_gfx9_swizzle_mode() 238 unsigned int mod_bank_xor_bits = AMD_FMT_MOD_GET(BANK_XOR_BITS, modifier); in fill_gfx9_tiling_info_from_modifier() 239 unsigned int mod_pipe_xor_bits = AMD_FMT_MOD_GET(PIPE_XOR_BITS, modifier); in fill_gfx9_tiling_info_from_modifier() 240 unsigned int pkrs_log2 = AMD_FMT_MOD_GET(PACKERS, modifier); in fill_gfx9_tiling_info_from_modifier() 325 bool independent_64b_blks = AMD_FMT_MOD_GET(DCC_INDEPENDENT_64B, modifier); in fill_gfx9_plane_attributes_from_modifiers() 326 bool independent_128b_blks = AMD_FMT_MOD_GET(DCC_INDEPENDENT_128B, modifier); in fill_gfx9_plane_attributes_from_modifiers() 331 if (AMD_FMT_MOD_GET(TILE_VERSION, modifier) >= AMD_FMT_MOD_TILE_VER_GFX10_RBPLUS) { in fill_gfx9_plane_attributes_from_modifiers() 1401 if (AMD_FMT_MOD_GET(TILE_VERSION, modifier) == AMD_FMT_MOD_TILE_VER_GFX9 && in dm_plane_format_mod_supported()
|
/openbmc/linux/include/uapi/drm/ |
H A D | drm_fourcc.h | 1578 #define AMD_FMT_MOD_GET(field, value) \ macro
|
/openbmc/qemu/include/standard-headers/drm/ |
H A D | drm_fourcc.h | 1604 #define AMD_FMT_MOD_GET(field, value) \ macro
|