Searched refs:AMD_FMT_MOD_GET (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_display.c | 614 if (AMD_FMT_MOD_GET(DCC_RETILE, modifier)) in amdgpu_lookup_format_info() 619 if (AMD_FMT_MOD_GET(DCC, modifier)) in amdgpu_lookup_format_info() 877 unsigned int ver = AMD_FMT_MOD_GET(TILE_VERSION, modifier); in get_dcc_block_size() 886 return max(10 + (rb_aligned ? (int)AMD_FMT_MOD_GET(RB, modifier) : 0), 12); in get_dcc_block_size() 890 int pipes_log2 = AMD_FMT_MOD_GET(PIPE_XOR_BITS, modifier); in get_dcc_block_size() 893 AMD_FMT_MOD_GET(PACKERS, modifier) == pipes_log2) in get_dcc_block_size() 970 int swizzle = AMD_FMT_MOD_GET(TILE, modifier); in amdgpu_display_verify_sizes() 1001 if (AMD_FMT_MOD_GET(DCC, modifier)) { in amdgpu_display_verify_sizes() 1002 if (AMD_FMT_MOD_GET(DCC_RETILE, modifier)) { in amdgpu_display_verify_sizes() 1015 bool pipe_aligned = AMD_FMT_MOD_GET(DCC_PIPE_ALIGN, modifier); in amdgpu_display_verify_sizes()
|
/linux/include/uapi/drm/ |
A D | drm_fourcc.h | 1368 #define AMD_FMT_MOD_GET(field, value) \ macro
|
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
A D | amdgpu_dm.c | 4802 return IS_AMD_FMT_MOD(modifier) && AMD_FMT_MOD_GET(DCC, modifier); in modifier_has_dcc() 4811 return AMD_FMT_MOD_GET(TILE, modifier); in modifier_gfx9_swizzle_mode() 4825 unsigned int mod_bank_xor_bits = AMD_FMT_MOD_GET(BANK_XOR_BITS, modifier); in fill_gfx9_tiling_info_from_modifier() 4826 unsigned int mod_pipe_xor_bits = AMD_FMT_MOD_GET(PIPE_XOR_BITS, modifier); in fill_gfx9_tiling_info_from_modifier() 4827 unsigned int pkrs_log2 = AMD_FMT_MOD_GET(PACKERS, modifier); in fill_gfx9_tiling_info_from_modifier() 4889 if (AMD_FMT_MOD_GET(TILE_VERSION, modifier) == AMD_FMT_MOD_TILE_VER_GFX9 && in dm_plane_format_mod_supported() 5227 bool independent_64b_blks = AMD_FMT_MOD_GET(DCC_INDEPENDENT_64B, modifier); in fill_gfx9_plane_attributes_from_modifiers() 5228 bool independent_128b_blks = AMD_FMT_MOD_GET(DCC_INDEPENDENT_128B, modifier); in fill_gfx9_plane_attributes_from_modifiers() 5233 if (AMD_FMT_MOD_GET(TILE_VERSION, modifier) == AMD_FMT_MOD_TILE_VER_GFX10_RBPLUS) { in fill_gfx9_plane_attributes_from_modifiers()
|
Completed in 25 milliseconds