Home
last modified time | relevance | path

Searched refs:psp_context (Results 1 – 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_psp.h45 struct psp_context;
89 int (*init_microcode)(struct psp_context *psp);
90 int (*bootloader_load_kdb)(struct psp_context *psp);
91 int (*bootloader_load_spl)(struct psp_context *psp);
92 int (*bootloader_load_sysdrv)(struct psp_context *psp);
93 int (*bootloader_load_sos)(struct psp_context *psp);
94 int (*ring_init)(struct psp_context *psp, enum psp_ring_type ring_type);
95 int (*ring_create)(struct psp_context *psp,
97 int (*ring_stop)(struct psp_context *psp,
99 int (*ring_destroy)(struct psp_context *psp,
[all …]
Dpsp_v3_1.c53 static int psp_v3_1_ring_stop(struct psp_context *psp,
56 static int psp_v3_1_init_microcode(struct psp_context *psp) in psp_v3_1_init_microcode()
85 static int psp_v3_1_bootloader_load_sysdrv(struct psp_context *psp) in psp_v3_1_bootloader_load_sysdrv()
126 static int psp_v3_1_bootloader_load_sos(struct psp_context *psp) in psp_v3_1_bootloader_load_sos()
166 static int psp_v3_1_ring_init(struct psp_context *psp, in psp_v3_1_ring_init()
192 static void psp_v3_1_reroute_ih(struct psp_context *psp) in psp_v3_1_reroute_ih()
223 static int psp_v3_1_ring_create(struct psp_context *psp, in psp_v3_1_ring_create()
287 static int psp_v3_1_ring_stop(struct psp_context *psp, in psp_v3_1_ring_stop()
315 static int psp_v3_1_ring_destroy(struct psp_context *psp, in psp_v3_1_ring_destroy()
333 static bool psp_v3_1_smu_reload_quirk(struct psp_context *psp) in psp_v3_1_smu_reload_quirk()
[all …]
Dpsp_v10_0.c47 static int psp_v10_0_init_microcode(struct psp_context *psp) in psp_v10_0_init_microcode()
121 static int psp_v10_0_ring_init(struct psp_context *psp, in psp_v10_0_ring_init()
147 static int psp_v10_0_ring_create(struct psp_context *psp, in psp_v10_0_ring_create()
179 static int psp_v10_0_ring_stop(struct psp_context *psp, in psp_v10_0_ring_stop()
200 static int psp_v10_0_ring_destroy(struct psp_context *psp, in psp_v10_0_ring_destroy()
218 static int psp_v10_0_mode1_reset(struct psp_context *psp) in psp_v10_0_mode1_reset()
224 static uint32_t psp_v10_0_ring_get_wptr(struct psp_context *psp) in psp_v10_0_ring_get_wptr()
231 static void psp_v10_0_ring_set_wptr(struct psp_context *psp, uint32_t value) in psp_v10_0_ring_set_wptr()
249 void psp_v10_0_set_psp_funcs(struct psp_context *psp) in psp_v10_0_set_psp_funcs()
Damdgpu_psp.c43 static int psp_load_smu_fw(struct psp_context *psp);
61 static void psp_check_pmfw_centralized_cstate_management(struct psp_context *psp) in psp_check_pmfw_centralized_cstate_management()
81 struct psp_context *psp = &adev->psp; in psp_early_init()
120 static void psp_memory_training_fini(struct psp_context *psp) in psp_memory_training_fini()
129 static int psp_memory_training_init(struct psp_context *psp) in psp_memory_training_init()
161 struct psp_context *psp = &adev->psp; in psp_sw_init()
218 int psp_wait_for(struct psp_context *psp, uint32_t reg_index, in psp_wait_for()
244 psp_cmd_submit_buf(struct psp_context *psp, in psp_cmd_submit_buf()
323 static void psp_prep_tmr_cmd_buf(struct psp_context *psp, in psp_prep_tmr_cmd_buf()
346 static int psp_load_toc(struct psp_context *psp, in psp_load_toc()
[all …]
Dpsp_v12_0.c48 static int psp_v12_0_init_microcode(struct psp_context *psp) in psp_v12_0_init_microcode()
120 static int psp_v12_0_bootloader_load_sysdrv(struct psp_context *psp) in psp_v12_0_bootloader_load_sysdrv()
161 static int psp_v12_0_bootloader_load_sos(struct psp_context *psp) in psp_v12_0_bootloader_load_sos()
202 static void psp_v12_0_reroute_ih(struct psp_context *psp) in psp_v12_0_reroute_ih()
233 static int psp_v12_0_ring_init(struct psp_context *psp, in psp_v12_0_ring_init()
261 static int psp_v12_0_ring_create(struct psp_context *psp, in psp_v12_0_ring_create()
314 static int psp_v12_0_ring_stop(struct psp_context *psp, in psp_v12_0_ring_stop()
342 static int psp_v12_0_ring_destroy(struct psp_context *psp, in psp_v12_0_ring_destroy()
360 static int psp_v12_0_mode1_reset(struct psp_context *psp) in psp_v12_0_mode1_reset()
394 static uint32_t psp_v12_0_ring_get_wptr(struct psp_context *psp) in psp_v12_0_ring_get_wptr()
[all …]
Dpsp_v11_0.c76 static int psp_v11_0_init_microcode(struct psp_context *psp) in psp_v11_0_init_microcode()
199 int psp_v11_0_wait_for_bootloader(struct psp_context *psp) in psp_v11_0_wait_for_bootloader()
222 static bool psp_v11_0_is_sos_alive(struct psp_context *psp) in psp_v11_0_is_sos_alive()
232 static int psp_v11_0_bootloader_load_kdb(struct psp_context *psp) in psp_v11_0_bootloader_load_kdb()
265 static int psp_v11_0_bootloader_load_spl(struct psp_context *psp) in psp_v11_0_bootloader_load_spl()
298 static int psp_v11_0_bootloader_load_sysdrv(struct psp_context *psp) in psp_v11_0_bootloader_load_sysdrv()
334 static int psp_v11_0_bootloader_load_sos(struct psp_context *psp) in psp_v11_0_bootloader_load_sos()
371 static void psp_v11_0_reroute_ih(struct psp_context *psp) in psp_v11_0_reroute_ih()
402 static int psp_v11_0_ring_init(struct psp_context *psp, in psp_v11_0_ring_init()
433 static int psp_v11_0_ring_stop(struct psp_context *psp, in psp_v11_0_ring_stop()
[all …]
Dpsp_v11_0.h28 void psp_v11_0_set_psp_funcs(struct psp_context *psp);
Dpsp_v12_0.h28 void psp_v12_0_set_psp_funcs(struct psp_context *psp);
Dpsp_v10_0.h30 void psp_v10_0_set_psp_funcs(struct psp_context *psp);
Dpsp_v3_1.h35 void psp_v3_1_set_psp_funcs(struct psp_context *psp);
Damdgpu.h911 struct psp_context psp;
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/hdcp/
Dhdcp_psp.c50 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_remove_display_from_topology()
85 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_add_display_to_topology()
132 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_create_session()
171 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_destroy_session()
204 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_validate_rx()
245 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_enable_encryption()
272 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_validate_ksvlist_vp()
314 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_enable_dp_stream_encryption()
350 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp1_link_maintenance()
389 struct psp_context *psp = hdcp->config.psp.handle; in mod_hdcp_hdcp2_create_session()
[all …]
Dhdcp_psp.h117 int psp_cmd_submit_buf(struct psp_context *psp, struct amdgpu_firmware_info *ucode, struct psp_gfx_…
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_hdcp.c77 static uint8_t *psp_get_srm(struct psp_context *psp, uint32_t *srm_version, uint32_t *srm_size) in psp_get_srm()
103 static int psp_set_srm(struct psp_context *psp, uint8_t *srm, uint32_t srm_size, uint32_t *srm_vers… in psp_set_srm()
400 struct psp_context *psp = hdcp.config.psp.handle; in enable_assr()