Home
last modified time | relevance | path

Searched refs:num_gpu_pages (Results 1 – 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_gart.c179 for (i = 0; i < rdev->gart.num_gpu_pages; i++) in radeon_gart_table_vram_pin()
347 rdev->gart.num_gpu_pages = rdev->mc.gtt_size / RADEON_GPU_PAGE_SIZE; in radeon_gart_init()
349 rdev->gart.num_cpu_pages, rdev->gart.num_gpu_pages); in radeon_gart_init()
358 rdev->gart.num_gpu_pages)); in radeon_gart_init()
364 for (i = 0; i < rdev->gart.num_gpu_pages; i++) in radeon_gart_init()
Drv770_dma.c44 unsigned num_gpu_pages, in rv770_copy_dma() argument
57 size_in_dw = (num_gpu_pages << RADEON_GPU_PAGE_SHIFT) / 4; in rv770_copy_dma()
Devergreen_dma.c110 unsigned num_gpu_pages, in evergreen_copy_dma() argument
123 size_in_dw = (num_gpu_pages << RADEON_GPU_PAGE_SHIFT) / 4; in evergreen_copy_dma()
Dsi_dma.c233 unsigned num_gpu_pages, in si_copy_dma() argument
246 size_in_bytes = (num_gpu_pages << RADEON_GPU_PAGE_SHIFT); in si_copy_dma()
Dradeon_asic.h88 unsigned num_gpu_pages,
159 unsigned num_gpu_pages,
349 unsigned num_gpu_pages,
353 unsigned num_gpu_pages,
475 unsigned num_gpu_pages,
549 unsigned num_gpu_pages,
727 unsigned num_gpu_pages,
798 unsigned num_gpu_pages,
802 unsigned num_gpu_pages,
Dr600_dma.c446 unsigned num_gpu_pages, in r600_copy_dma() argument
459 size_in_dw = (num_gpu_pages << RADEON_GPU_PAGE_SHIFT) / 4; in r600_copy_dma()
Dr200.c86 unsigned num_gpu_pages, in r200_copy_dma() argument
97 size = num_gpu_pages << RADEON_GPU_PAGE_SHIFT; in r200_copy_dma()
Dcik_sdma.c581 unsigned num_gpu_pages, in cik_copy_dma() argument
594 size_in_bytes = (num_gpu_pages << RADEON_GPU_PAGE_SHIFT); in cik_copy_dma()
Dr100.c653 rdev->gart.table_size = rdev->gart.num_gpu_pages * 4; in r100_pci_gart_init()
893 unsigned num_gpu_pages, in r100_copy_blit() argument
911 num_loops = DIV_ROUND_UP(num_gpu_pages, 8191); in r100_copy_blit()
920 while (num_gpu_pages > 0) { in r100_copy_blit()
921 cur_pages = num_gpu_pages; in r100_copy_blit()
925 num_gpu_pages -= cur_pages; in r100_copy_blit()
947 radeon_ring_write(ring, num_gpu_pages); in r100_copy_blit()
948 radeon_ring_write(ring, num_gpu_pages); in r100_copy_blit()
Drs400.c108 rdev->gart.table_size = rdev->gart.num_gpu_pages * 4; in rs400_gart_init()
Dradeon.h655 unsigned num_gpu_pages; member
1920 unsigned num_gpu_pages,
1926 unsigned num_gpu_pages,
1933 unsigned num_gpu_pages,
Drs600.c552 rdev->gart.table_size = rdev->gart.num_gpu_pages * 8; in rs600_gart_init()
Dr300.c146 rdev->gart.table_size = rdev->gart.num_gpu_pages * 4; in rv370_pcie_gart_init()
Dr600.c1125 rdev->gart.table_size = rdev->gart.num_gpu_pages * 8; in r600_pcie_gart_init()
2965 unsigned num_gpu_pages, in r600_copy_cpdma() argument
2978 size_in_bytes = (num_gpu_pages << RADEON_GPU_PAGE_SHIFT); in r600_copy_cpdma()
Dcik.c3657 unsigned num_gpu_pages, in cik_copy_cpdma() argument
3670 size_in_bytes = (num_gpu_pages << RADEON_GPU_PAGE_SHIFT); in cik_copy_cpdma()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gart.h46 unsigned num_gpu_pages; member
Damdgpu_gart.c372 adev->gart.num_gpu_pages = adev->gmc.gart_size / AMDGPU_GPU_PAGE_SIZE; in amdgpu_gart_init()
374 adev->gart.num_cpu_pages, adev->gart.num_gpu_pages); in amdgpu_gart_init()
Dgmc_v6_0.c575 adev->gart.table_size = adev->gart.num_gpu_pages * 8; in gmc_v6_0_gart_init()
Dgmc_v10_0.c775 adev->gart.table_size = adev->gart.num_gpu_pages * 8; in gmc_v10_0_gart_init()
Dgmc_v9_0.c1326 adev->gart.table_size = adev->gart.num_gpu_pages * 8; in gmc_v9_0_gart_init()
Dgmc_v7_0.c726 adev->gart.table_size = adev->gart.num_gpu_pages * 8; in gmc_v7_0_gart_init()
Dgmc_v8_0.c976 adev->gart.table_size = adev->gart.num_gpu_pages * 8; in gmc_v8_0_gart_init()