Home
last modified time | relevance | path

Searched refs:mec_hpd_size (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
Dgfx_v9_4_3.c457 size_t mec_hpd_size; in gfx_v9_4_3_mec_init() local
468 mec_hpd_size = in gfx_v9_4_3_mec_init()
470 if (mec_hpd_size) { in gfx_v9_4_3_mec_init()
471 r = amdgpu_bo_create_reserved(adev, mec_hpd_size, PAGE_SIZE, in gfx_v9_4_3_mec_init()
484 for (i = 0; i < mec_hpd_size / 4; i++) { in gfx_v9_4_3_mec_init()
490 memset(hpd, 0, mec_hpd_size); in gfx_v9_4_3_mec_init()
Dgfx_v7_0.c2728 size_t mec_hpd_size; in gfx_v7_0_mec_init() local
2736 mec_hpd_size = adev->gfx.mec.num_mec * adev->gfx.mec.num_pipe_per_mec in gfx_v7_0_mec_init()
2739 r = amdgpu_bo_create_reserved(adev, mec_hpd_size, PAGE_SIZE, in gfx_v7_0_mec_init()
2752 memset(hpd, 0, mec_hpd_size); in gfx_v7_0_mec_init()
Dgfx_v11_0.c722 size_t mec_hpd_size; in gfx_v11_0_mec_init() local
728 mec_hpd_size = adev->gfx.num_compute_rings * GFX11_MEC_HPD_SIZE; in gfx_v11_0_mec_init()
730 if (mec_hpd_size) { in gfx_v11_0_mec_init()
731 r = amdgpu_bo_create_reserved(adev, mec_hpd_size, PAGE_SIZE, in gfx_v11_0_mec_init()
742 memset(hpd, 0, mec_hpd_size); in gfx_v11_0_mec_init()
Dgfx_v8_0.c1305 size_t mec_hpd_size; in gfx_v8_0_mec_init() local
1312 mec_hpd_size = adev->gfx.num_compute_rings * GFX8_MEC_HPD_SIZE; in gfx_v8_0_mec_init()
1313 if (mec_hpd_size) { in gfx_v8_0_mec_init()
1314 r = amdgpu_bo_create_reserved(adev, mec_hpd_size, PAGE_SIZE, in gfx_v8_0_mec_init()
1325 memset(hpd, 0, mec_hpd_size); in gfx_v8_0_mec_init()
Dgfx_v9_0.c1688 size_t mec_hpd_size; in gfx_v9_0_mec_init() local
1696 mec_hpd_size = adev->gfx.num_compute_rings * GFX9_MEC_HPD_SIZE; in gfx_v9_0_mec_init()
1697 if (mec_hpd_size) { in gfx_v9_0_mec_init()
1698 r = amdgpu_bo_create_reserved(adev, mec_hpd_size, PAGE_SIZE, in gfx_v9_0_mec_init()
1710 memset(hpd, 0, mec_hpd_size); in gfx_v9_0_mec_init()
Dgfx_v10_0.c4199 size_t mec_hpd_size; in gfx_v10_0_mec_init() local
4207 mec_hpd_size = adev->gfx.num_compute_rings * GFX10_MEC_HPD_SIZE; in gfx_v10_0_mec_init()
4209 if (mec_hpd_size) { in gfx_v10_0_mec_init()
4210 r = amdgpu_bo_create_reserved(adev, mec_hpd_size, PAGE_SIZE, in gfx_v10_0_mec_init()
4221 memset(hpd, 0, mec_hpd_size); in gfx_v10_0_mec_init()