Home
last modified time | relevance | path

Searched refs:ring_obj (Results 1 – 18 of 18) sorted by relevance

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ih.c42 if (adev->irq.ih.ring_obj == NULL) { in amdgpu_ih_ring_alloc()
46 NULL, NULL, &adev->irq.ih.ring_obj); in amdgpu_ih_ring_alloc()
51 r = amdgpu_bo_reserve(adev->irq.ih.ring_obj, false); in amdgpu_ih_ring_alloc()
54 r = amdgpu_bo_pin(adev->irq.ih.ring_obj, in amdgpu_ih_ring_alloc()
58 amdgpu_bo_unreserve(adev->irq.ih.ring_obj); in amdgpu_ih_ring_alloc()
62 r = amdgpu_bo_kmap(adev->irq.ih.ring_obj, in amdgpu_ih_ring_alloc()
64 amdgpu_bo_unreserve(adev->irq.ih.ring_obj); in amdgpu_ih_ring_alloc()
152 if (adev->irq.ih.ring_obj) { in amdgpu_ih_ring_fini()
153 r = amdgpu_bo_reserve(adev->irq.ih.ring_obj, false); in amdgpu_ih_ring_fini()
155 amdgpu_bo_kunmap(adev->irq.ih.ring_obj); in amdgpu_ih_ring_fini()
[all …]
Damdgpu_ring.c225 if (ring->ring_obj == NULL) { in amdgpu_ring_backup()
365 if (ring->ring_obj == NULL) { in amdgpu_ring_init()
368 NULL, NULL, &ring->ring_obj); in amdgpu_ring_init()
373 r = amdgpu_bo_reserve(ring->ring_obj, false); in amdgpu_ring_init()
376 r = amdgpu_bo_pin(ring->ring_obj, AMDGPU_GEM_DOMAIN_GTT, in amdgpu_ring_init()
379 amdgpu_bo_unreserve(ring->ring_obj); in amdgpu_ring_init()
383 r = amdgpu_bo_kmap(ring->ring_obj, in amdgpu_ring_init()
385 amdgpu_bo_unreserve(ring->ring_obj); in amdgpu_ring_init()
411 struct amdgpu_bo *ring_obj; in amdgpu_ring_fini() local
417 ring_obj = ring->ring_obj; in amdgpu_ring_fini()
[all …]
Damdgpu_ih.h33 struct amdgpu_bo *ring_obj; member
Damdgpu_test.c51 if (adev->irq.ih.ring_obj) in amdgpu_do_test_moves()
Dcik_sdma.c976 ring->ring_obj = NULL; in cik_sdma_sw_init()
Dsdma_v2_4.c988 ring->ring_obj = NULL; in sdma_v2_4_sw_init()
Dsdma_v3_0.c1144 ring->ring_obj = NULL; in sdma_v3_0_sw_init()
Damdgpu.h851 struct amdgpu_bo *ring_obj; member
Dgfx_v7_0.c4772 ring->ring_obj = NULL; in gfx_v7_0_sw_init()
4792 ring->ring_obj = NULL; in gfx_v7_0_sw_init()
Dgfx_v8_0.c1233 ring->ring_obj = NULL; in gfx_v8_0_sw_init()
1259 ring->ring_obj = NULL; in gfx_v8_0_sw_init()
/drivers/gpu/drm/radeon/
Dradeon_ring.c286 if (ring->ring_obj == NULL) { in radeon_ring_backup()
384 if (ring->ring_obj == NULL) { in radeon_ring_init()
387 NULL, &ring->ring_obj); in radeon_ring_init()
392 r = radeon_bo_reserve(ring->ring_obj, false); in radeon_ring_init()
395 r = radeon_bo_pin(ring->ring_obj, RADEON_GEM_DOMAIN_GTT, in radeon_ring_init()
398 radeon_bo_unreserve(ring->ring_obj); in radeon_ring_init()
402 r = radeon_bo_kmap(ring->ring_obj, in radeon_ring_init()
404 radeon_bo_unreserve(ring->ring_obj); in radeon_ring_init()
435 struct radeon_bo *ring_obj; in radeon_ring_fini() local
438 ring_obj = ring->ring_obj; in radeon_ring_fini()
[all …]
Dr600.c3264 rdev->ring[RADEON_RING_TYPE_GFX_INDEX].ring_obj = NULL; in r600_init()
3270 rdev->ring[R600_RING_TYPE_UVD_INDEX].ring_obj = NULL; in r600_init()
3275 rdev->ih.ring_obj = NULL; in r600_init()
3437 if (rdev->ih.ring_obj == NULL) { in r600_ih_ring_alloc()
3441 NULL, NULL, &rdev->ih.ring_obj); in r600_ih_ring_alloc()
3446 r = radeon_bo_reserve(rdev->ih.ring_obj, false); in r600_ih_ring_alloc()
3449 r = radeon_bo_pin(rdev->ih.ring_obj, in r600_ih_ring_alloc()
3453 radeon_bo_unreserve(rdev->ih.ring_obj); in r600_ih_ring_alloc()
3457 r = radeon_bo_kmap(rdev->ih.ring_obj, in r600_ih_ring_alloc()
3459 radeon_bo_unreserve(rdev->ih.ring_obj); in r600_ih_ring_alloc()
[all …]
Dni.c2315 ring->ring_obj = NULL; in cayman_init()
2319 ring->ring_obj = NULL; in cayman_init()
2323 ring->ring_obj = NULL; in cayman_init()
2329 ring->ring_obj = NULL; in cayman_init()
2337 ring->ring_obj = NULL; in cayman_init()
2341 ring->ring_obj = NULL; in cayman_init()
2346 rdev->ih.ring_obj = NULL; in cayman_init()
Drv770.c1914 rdev->ring[RADEON_RING_TYPE_GFX_INDEX].ring_obj = NULL; in rv770_init()
1917 rdev->ring[R600_RING_TYPE_DMA_INDEX].ring_obj = NULL; in rv770_init()
1922 rdev->ring[R600_RING_TYPE_UVD_INDEX].ring_obj = NULL; in rv770_init()
1927 rdev->ih.ring_obj = NULL; in rv770_init()
Dsi.c7200 ring->ring_obj = NULL; in si_init()
7204 ring->ring_obj = NULL; in si_init()
7208 ring->ring_obj = NULL; in si_init()
7212 ring->ring_obj = NULL; in si_init()
7216 ring->ring_obj = NULL; in si_init()
7223 ring->ring_obj = NULL; in si_init()
7231 ring->ring_obj = NULL; in si_init()
7235 ring->ring_obj = NULL; in si_init()
7239 rdev->ih.ring_obj = NULL; in si_init()
Dcik.c8874 ring->ring_obj = NULL; in cik_init()
8878 ring->ring_obj = NULL; in cik_init()
8885 ring->ring_obj = NULL; in cik_init()
8892 ring->ring_obj = NULL; in cik_init()
8896 ring->ring_obj = NULL; in cik_init()
8902 ring->ring_obj = NULL; in cik_init()
8909 ring->ring_obj = NULL; in cik_init()
8913 ring->ring_obj = NULL; in cik_init()
8917 rdev->ih.ring_obj = NULL; in cik_init()
Devergreen.c5790 rdev->ring[RADEON_RING_TYPE_GFX_INDEX].ring_obj = NULL; in evergreen_init()
5793 rdev->ring[R600_RING_TYPE_DMA_INDEX].ring_obj = NULL; in evergreen_init()
5798 rdev->ring[R600_RING_TYPE_UVD_INDEX].ring_obj = NULL; in evergreen_init()
5803 rdev->ih.ring_obj = NULL; in evergreen_init()
Dradeon.h848 struct radeon_bo *ring_obj; member
984 struct radeon_bo *ring_obj; member