Home
last modified time | relevance | path

Searched refs:sw_mode (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/
H A Ddml2_core_utils.c429 unsigned int dml2_core_utils_get_tile_block_size_bytes(enum dml2_swizzle_mode sw_mode, unsigned int… in dml2_core_utils_get_tile_block_size_bytes() argument
431 if (sw_mode == dml2_sw_linear) in dml2_core_utils_get_tile_block_size_bytes()
433 else if (sw_mode == dml2_sw_256b_2d) in dml2_core_utils_get_tile_block_size_bytes()
435 else if (sw_mode == dml2_sw_4kb_2d) in dml2_core_utils_get_tile_block_size_bytes()
437 else if (sw_mode == dml2_sw_64kb_2d) in dml2_core_utils_get_tile_block_size_bytes()
439 else if (sw_mode == dml2_sw_256kb_2d) in dml2_core_utils_get_tile_block_size_bytes()
441 else if (sw_mode == dml2_gfx11_sw_linear) in dml2_core_utils_get_tile_block_size_bytes()
443 else if (sw_mode == dml2_gfx11_sw_64kb_d) in dml2_core_utils_get_tile_block_size_bytes()
445 else if (sw_mode == dml2_gfx11_sw_64kb_d_t) in dml2_core_utils_get_tile_block_size_bytes()
447 else if (sw_mode == dml2_gfx11_sw_64kb_d_x) in dml2_core_utils_get_tile_block_size_bytes()
[all …]
H A Ddml2_core_utils.h23 unsigned int dml2_core_utils_get_tile_block_size_bytes(enum dml2_swizzle_mode sw_mode, unsigned int…
24 bool dml2_core_utils_get_segment_horizontal_contiguous(enum dml2_swizzle_mode sw_mode, unsigned int…
26 bool dml2_core_utils_is_linear(enum dml2_swizzle_mode sw_mode);
27 int unsigned dml2_core_utils_get_gfx_version(enum dml2_swizzle_mode sw_mode);
H A Ddml2_core_dcn4_calcs.c506 static unsigned int dml_get_tile_block_size_bytes(enum dml2_swizzle_mode sw_mode) in dml_get_tile_block_size_bytes() argument
508 if (sw_mode == dml2_sw_linear) in dml_get_tile_block_size_bytes()
510 else if (sw_mode == dml2_sw_256b_2d) in dml_get_tile_block_size_bytes()
512 else if (sw_mode == dml2_sw_4kb_2d) in dml_get_tile_block_size_bytes()
514 else if (sw_mode == dml2_sw_64kb_2d) in dml_get_tile_block_size_bytes()
516 else if (sw_mode == dml2_sw_256kb_2d) in dml_get_tile_block_size_bytes()
518 else if (sw_mode == dml2_gfx11_sw_linear) in dml_get_tile_block_size_bytes()
520 else if (sw_mode == dml2_gfx11_sw_64kb_d) in dml_get_tile_block_size_bytes()
522 else if (sw_mode == dml2_gfx11_sw_64kb_d_t) in dml_get_tile_block_size_bytes()
524 else if (sw_mode == dml2_gfx11_sw_64kb_d_x) in dml_get_tile_block_size_bytes()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A Ddcn20_fpu.c1254 unsigned int *sw_mode) in swizzle_to_dml_params() argument
1258 *sw_mode = dm_sw_linear; in swizzle_to_dml_params()
1261 *sw_mode = dm_sw_4kb_s; in swizzle_to_dml_params()
1264 *sw_mode = dm_sw_4kb_s_x; in swizzle_to_dml_params()
1267 *sw_mode = dm_sw_4kb_d; in swizzle_to_dml_params()
1270 *sw_mode = dm_sw_4kb_d_x; in swizzle_to_dml_params()
1273 *sw_mode = dm_sw_64kb_s; in swizzle_to_dml_params()
1276 *sw_mode = dm_sw_64kb_s_x; in swizzle_to_dml_params()
1279 *sw_mode = dm_sw_64kb_s_t; in swizzle_to_dml_params()
1282 *sw_mode = dm_sw_64kb_d; in swizzle_to_dml_params()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/
H A Ddml_display_rq_dlg_calc.c45 …enum dml_swizzle_mode sw_mode = mode_lib->ms.cache_display_cfg.surface.SurfaceTiling[plane_idx… in dml_rq_dlg_get_rq_reg() local
132 if (sw_mode == dml_sw_linear) in dml_rq_dlg_get_rq_reg()
139 if (sw_mode == dml_sw_linear) in dml_rq_dlg_get_rq_reg()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Duvd_v3_1.c207 bool sw_mode) in uvd_v3_1_set_dcm() argument
219 if (sw_mode) { in uvd_v3_1_set_dcm()
/linux/drivers/gpu/drm/amd/display/dc/dml/
H A Ddisplay_mode_structs.h401 int sw_mode; member
H A Ddisplay_mode_vba.c620 (enum dm_swizzle_mode) (src->sw_mode); in fetch_pipe_params()
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc.h2974 …uint32_t sw_mode; /* DCSURF_TILING_CONFIG->SW_MODE from tiling_info.gfx9.sw… member