Home
last modified time | relevance | path

Searched refs:rap_context (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_rap.c79 adev->psp.rap_context.context.mem_context.shared_buf; in amdgpu_rap_debugfs_write()
122 if (!adev->psp.rap_context.context.initialized) in amdgpu_rap_debugfs_init()
Damdgpu_psp.c201 psp_ta_free_shared_buf(&psp->rap_context.context.mem_context); in psp_free_shared_bufs()
1823 if (!psp->rap_context.context.bin_desc.size_bytes || in psp_rap_initialize()
1824 !psp->rap_context.context.bin_desc.start_addr) { in psp_rap_initialize()
1829 psp->rap_context.context.mem_context.shared_mem_size = PSP_RAP_SHARED_MEM_SIZE; in psp_rap_initialize()
1830 psp->rap_context.context.ta_load_type = GFX_CMD_ID_LOAD_TA; in psp_rap_initialize()
1832 if (!psp->rap_context.context.initialized) { in psp_rap_initialize()
1833 ret = psp_ta_init_shared_buf(psp, &psp->rap_context.context.mem_context); in psp_rap_initialize()
1838 ret = psp_ta_load(psp, &psp->rap_context.context); in psp_rap_initialize()
1840 psp->rap_context.context.initialized = true; in psp_rap_initialize()
1841 mutex_init(&psp->rap_context.mutex); in psp_rap_initialize()
[all …]
Damdgpu_psp.h374 struct ta_cp_context rap_context; member
Damdgpu_kms.c295 fw_info->ver = adev->psp.rap_context.context.bin_desc.fw_version; in amdgpu_firmware_info()
296 fw_info->feature = adev->psp.rap_context.context in amdgpu_firmware_info()