Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Dgfx_v9_4_3.c626 size_t mec_hpd_size; in gfx_v9_4_3_mec_init() local
637 mec_hpd_size = in gfx_v9_4_3_mec_init()
639 if (mec_hpd_size) { in gfx_v9_4_3_mec_init()
640 r = amdgpu_bo_create_reserved(adev, mec_hpd_size, PAGE_SIZE, in gfx_v9_4_3_mec_init()
653 for (i = 0; i < mec_hpd_size / 4; i++) { in gfx_v9_4_3_mec_init()
659 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_v12_0.c747 size_t mec_hpd_size; in gfx_v12_0_mec_init() local
753 mec_hpd_size = adev->gfx.num_compute_rings * GFX12_MEC_HPD_SIZE; in gfx_v12_0_mec_init()
755 if (mec_hpd_size) { in gfx_v12_0_mec_init()
756 r = amdgpu_bo_create_reserved(adev, mec_hpd_size, PAGE_SIZE, in gfx_v12_0_mec_init()
767 memset(hpd, 0, mec_hpd_size); in gfx_v12_0_mec_init()
Dgfx_v8_0.c1302 size_t mec_hpd_size; in gfx_v8_0_mec_init() local
1309 mec_hpd_size = adev->gfx.num_compute_rings * GFX8_MEC_HPD_SIZE; in gfx_v8_0_mec_init()
1310 if (mec_hpd_size) { in gfx_v8_0_mec_init()
1311 r = amdgpu_bo_create_reserved(adev, mec_hpd_size, PAGE_SIZE, in gfx_v8_0_mec_init()
1322 memset(hpd, 0, mec_hpd_size); in gfx_v8_0_mec_init()
Dgfx_v11_0.c921 size_t mec_hpd_size; in gfx_v11_0_mec_init() local
927 mec_hpd_size = adev->gfx.num_compute_rings * GFX11_MEC_HPD_SIZE; in gfx_v11_0_mec_init()
929 if (mec_hpd_size) { in gfx_v11_0_mec_init()
930 r = amdgpu_bo_create_reserved(adev, mec_hpd_size, PAGE_SIZE, in gfx_v11_0_mec_init()
941 memset(hpd, 0, mec_hpd_size); in gfx_v11_0_mec_init()
Dgfx_v9_0.c1864 size_t mec_hpd_size; in gfx_v9_0_mec_init() local
1872 mec_hpd_size = adev->gfx.num_compute_rings * GFX9_MEC_HPD_SIZE; in gfx_v9_0_mec_init()
1873 if (mec_hpd_size) { in gfx_v9_0_mec_init()
1874 r = amdgpu_bo_create_reserved(adev, mec_hpd_size, PAGE_SIZE, in gfx_v9_0_mec_init()
1886 memset(hpd, 0, mec_hpd_size); in gfx_v9_0_mec_init()
Dgfx_v10_0.c4356 size_t mec_hpd_size; in gfx_v10_0_mec_init() local
4364 mec_hpd_size = adev->gfx.num_compute_rings * GFX10_MEC_HPD_SIZE; in gfx_v10_0_mec_init()
4366 if (mec_hpd_size) { in gfx_v10_0_mec_init()
4367 r = amdgpu_bo_create_reserved(adev, mec_hpd_size, PAGE_SIZE, in gfx_v10_0_mec_init()
4378 memset(hpd, 0, mec_hpd_size); in gfx_v10_0_mec_init()