Home
last modified time | relevance | path

Searched refs:bankh (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Devergreen_cs.c178 unsigned bankh; member
270 halign = (8 * surf->bankh * surf->nbanks) / surf->mtilea; in evergreen_surface_check_2d()
358 switch (surf->bankh) { in evergreen_surface_value_conv_check()
359 case 0: surf->bankh = 1; break; in evergreen_surface_value_conv_check()
360 case 1: surf->bankh = 2; break; in evergreen_surface_value_conv_check()
361 case 2: surf->bankh = 4; break; in evergreen_surface_value_conv_check()
362 case 3: surf->bankh = 8; break; in evergreen_surface_value_conv_check()
365 __func__, __LINE__, prefix, surf->bankh); in evergreen_surface_value_conv_check()
412 surf.bankh = G_028C74_BANK_HEIGHT(track->cb_color_attrib[id]); in evergreen_cs_track_validate_cb()
487 surf.bankw, surf.bankh, in evergreen_cs_track_validate_cb()
[all …]
Dradeon_object.c682 unsigned bankw, bankh, mtaspect, tilesplit, stilesplit; in radeon_bo_set_tiling_flags() local
685 bankh = (tiling_flags >> RADEON_TILING_EG_BANKH_SHIFT) & RADEON_TILING_EG_BANKH_MASK; in radeon_bo_set_tiling_flags()
699 switch (bankh) { in radeon_bo_set_tiling_flags()
Devergreen.c1115 unsigned *bankh, unsigned *mtaspect, in evergreen_tiling_fields() argument
1119 *bankh = (tiling_flags >> RADEON_TILING_EG_BANKH_SHIFT) & RADEON_TILING_EG_BANKH_MASK; in evergreen_tiling_fields()
1129 switch (*bankh) { in evergreen_tiling_fields()
1131 case 1: *bankh = EVERGREEN_ADDR_SURF_BANK_HEIGHT_1; break; in evergreen_tiling_fields()
1132 case 2: *bankh = EVERGREEN_ADDR_SURF_BANK_HEIGHT_2; break; in evergreen_tiling_fields()
1133 case 4: *bankh = EVERGREEN_ADDR_SURF_BANK_HEIGHT_4; break; in evergreen_tiling_fields()
1134 case 8: *bankh = EVERGREEN_ADDR_SURF_BANK_HEIGHT_8; break; in evergreen_tiling_fields()
Datombios_crtc.c1155 unsigned bankw, bankh, mtaspect, tile_split; in dce4_crtc_do_set_base() local
1276 evergreen_tiling_fields(tiling_flags, &bankw, &bankh, &mtaspect, &tile_split); in dce4_crtc_do_set_base()
1343 fb_format |= EVERGREEN_GRPH_BANK_HEIGHT(bankh); in dce4_crtc_do_set_base()
Dradeon.h357 unsigned *bankh, unsigned *mtaspect,
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Ddce_v8_0.c1910 unsigned bankw, bankh, mtaspect, tile_split, num_banks; in dce_v8_0_crtc_do_set_base() local
1913 bankh = AMDGPU_TILING_GET(tiling_flags, BANK_HEIGHT); in dce_v8_0_crtc_do_set_base()
1922 fb_format |= (bankh << GRPH_CONTROL__GRPH_BANK_HEIGHT__SHIFT); in dce_v8_0_crtc_do_set_base()
Ddce_v6_0.c1938 unsigned bankw, bankh, mtaspect, tile_split, num_banks; in dce_v6_0_crtc_do_set_base() local
1941 bankh = AMDGPU_TILING_GET(tiling_flags, BANK_HEIGHT); in dce_v6_0_crtc_do_set_base()
1950 fb_format |= GRPH_BANK_HEIGHT(bankh); in dce_v6_0_crtc_do_set_base()
Ddce_v10_0.c1989 unsigned bankw, bankh, mtaspect, tile_split, num_banks; in dce_v10_0_crtc_do_set_base() local
1992 bankh = AMDGPU_TILING_GET(tiling_flags, BANK_HEIGHT); in dce_v10_0_crtc_do_set_base()
2003 fb_format = REG_SET_FIELD(fb_format, GRPH_CONTROL, GRPH_BANK_HEIGHT, bankh); in dce_v10_0_crtc_do_set_base()
Ddce_v11_0.c2031 unsigned bankw, bankh, mtaspect, tile_split, num_banks; in dce_v11_0_crtc_do_set_base() local
2034 bankh = AMDGPU_TILING_GET(tiling_flags, BANK_HEIGHT); in dce_v11_0_crtc_do_set_base()
2045 fb_format = REG_SET_FIELD(fb_format, GRPH_CONTROL, GRPH_BANK_HEIGHT, bankh); in dce_v11_0_crtc_do_set_base()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c3975 unsigned int bankw, bankh, mtaspect, tile_split, num_banks; in fill_plane_buffer_attributes() local
3978 bankh = AMDGPU_TILING_GET(tiling_flags, BANK_HEIGHT); in fill_plane_buffer_attributes()
3989 tiling_info->gfx8.bank_height = bankh; in fill_plane_buffer_attributes()