Home
last modified time | relevance | path

Searched refs:gws (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gds.h45 struct amdgpu_gds_asic_info gws; member
60 uint32_t gws; member
Damdgpu_ttm.c1809 adev->gds.gws.total_size = adev->gds.gws.total_size << AMDGPU_GWS_SHIFT; in amdgpu_ttm_init()
1810 adev->gds.gws.gfx_partition_size = adev->gds.gws.gfx_partition_size << AMDGPU_GWS_SHIFT; in amdgpu_ttm_init()
1811 adev->gds.gws.cs_partition_size = adev->gds.gws.cs_partition_size << AMDGPU_GWS_SHIFT; in amdgpu_ttm_init()
1826 if (adev->gds.gws.total_size) { in amdgpu_ttm_init()
1828 adev->gds.gws.total_size >> PAGE_SHIFT); in amdgpu_ttm_init()
1881 if (adev->gds.gws.total_size) in amdgpu_ttm_fini()
Damdgpu_cs.c575 struct amdgpu_bo *gws; in amdgpu_cs_parser_bos() local
715 gws = p->bo_list->gws_obj; in amdgpu_cs_parser_bos()
725 if (gws) { in amdgpu_cs_parser_bos()
726 p->job->gws_base = amdgpu_bo_gpu_offset(gws); in amdgpu_cs_parser_bos()
727 p->job->gws_size = amdgpu_bo_size(gws); in amdgpu_cs_parser_bos()
Dgfx_v7_0.c4202 amdgpu_ring_write(ring, amdgpu_gds_reg_offset[vmid].gws); in gfx_v7_0_ring_emit_gds_switch()
4589 r = amdgpu_bo_create_kernel(adev, adev->gds.gws.gfx_partition_size, in gfx_v7_0_sw_init()
5163 adev->gds.gws.total_size = 64; in gfx_v7_0_set_gds_init()
5170 adev->gds.gws.gfx_partition_size = 4; in gfx_v7_0_set_gds_init()
5171 adev->gds.gws.cs_partition_size = 4; in gfx_v7_0_set_gds_init()
5179 adev->gds.gws.gfx_partition_size = 16; in gfx_v7_0_set_gds_init()
5180 adev->gds.gws.cs_partition_size = 16; in gfx_v7_0_set_gds_init()
Damdgpu_kms.c498 gds_info.gws_per_gfx_partition = adev->gds.gws.gfx_partition_size >> AMDGPU_GWS_SHIFT; in amdgpu_info_ioctl()
499 gds_info.gws_per_compute_partition = adev->gds.gws.cs_partition_size >> AMDGPU_GWS_SHIFT; in amdgpu_info_ioctl()
Dgfx_v9_0.c1605 r = amdgpu_bo_create_kernel(adev, adev->gds.gws.gfx_partition_size, in gfx_v9_0_sw_init()
4818 adev->gds.gws.total_size = 64; in gfx_v9_0_set_gds_init()
4825 adev->gds.gws.gfx_partition_size = 4; in gfx_v9_0_set_gds_init()
4826 adev->gds.gws.cs_partition_size = 4; in gfx_v9_0_set_gds_init()
4834 adev->gds.gws.gfx_partition_size = 16; in gfx_v9_0_set_gds_init()
4835 adev->gds.gws.cs_partition_size = 16; in gfx_v9_0_set_gds_init()
Dgfx_v8_0.c2171 r = amdgpu_bo_create_kernel(adev, adev->gds.gws.gfx_partition_size, in gfx_v8_0_sw_init()
5474 amdgpu_ring_write(ring, amdgpu_gds_reg_offset[vmid].gws); in gfx_v8_0_ring_emit_gds_switch()
7318 adev->gds.gws.total_size = 64; in gfx_v8_0_set_gds_init()
7325 adev->gds.gws.gfx_partition_size = 4; in gfx_v8_0_set_gds_init()
7326 adev->gds.gws.cs_partition_size = 4; in gfx_v8_0_set_gds_init()
7334 adev->gds.gws.gfx_partition_size = 16; in gfx_v8_0_set_gds_init()
7335 adev->gds.gws.cs_partition_size = 16; in gfx_v8_0_set_gds_init()
/Linux-v4.19/samples/bpf/
Dxdp_router_ipv4_user.c108 char dsts[24], gws[24], ifs[16], dsts_len[24], metrics[24]; in read_route() local
159 sprintf(gws, "%u", in read_route()
176 route.gw = atoi(gws); in read_route()
289 memset(gws, 0, sizeof(gws)); in read_route()