Lines Matching refs:mman

617 	struct amdgpu_ring *ring = adev->mman.buffer_funcs_ring;  in amdgpu_gmc_flush_gpu_tlb()
624 !adev->mman.buffer_funcs_enabled || !adev->ib_pool_ready || in amdgpu_gmc_flush_gpu_tlb()
652 mutex_lock(&adev->mman.gtt_window_lock); in amdgpu_gmc_flush_gpu_tlb()
653 r = amdgpu_job_alloc_with_ib(ring->adev, &adev->mman.high_pr, in amdgpu_gmc_flush_gpu_tlb()
665 mutex_unlock(&adev->mman.gtt_window_lock); in amdgpu_gmc_flush_gpu_tlb()
673 mutex_unlock(&adev->mman.gtt_window_lock); in amdgpu_gmc_flush_gpu_tlb()
932 adev->mman.stolen_reserved_offset = 0; in amdgpu_gmc_get_vbios_allocations()
933 adev->mman.stolen_reserved_size = 0; in amdgpu_gmc_get_vbios_allocations()
945 adev->mman.keep_stolen_vga_memory = true; in amdgpu_gmc_get_vbios_allocations()
951 adev->mman.stolen_reserved_offset = 0x500000; in amdgpu_gmc_get_vbios_allocations()
952 adev->mman.stolen_reserved_size = 0x200000; in amdgpu_gmc_get_vbios_allocations()
958 adev->mman.keep_stolen_vga_memory = true; in amdgpu_gmc_get_vbios_allocations()
961 adev->mman.keep_stolen_vga_memory = false; in amdgpu_gmc_get_vbios_allocations()
971 if (adev->mman.keep_stolen_vga_memory) in amdgpu_gmc_get_vbios_allocations()
980 adev->mman.stolen_vga_size = AMDGPU_VBIOS_VGA_ALLOCATION; in amdgpu_gmc_get_vbios_allocations()
981 adev->mman.stolen_extended_size = size - adev->mman.stolen_vga_size; in amdgpu_gmc_get_vbios_allocations()
983 adev->mman.stolen_vga_size = size; in amdgpu_gmc_get_vbios_allocations()
984 adev->mman.stolen_extended_size = 0; in amdgpu_gmc_get_vbios_allocations()