// SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) // // This file is provided under a dual BSD/GPLv2 license. When using or // redistributing this file, you may do so under either license. // // Copyright(c) 2023 Advanced Micro Devices, Inc. // // Authors: Venkata Prasad Potturu <venkataprasad.potturu@amd.com>
/* * Hardware interface for Audio DSP on Vangogh platform
*/
staticint sof_vangogh_post_fw_run_delay(struct snd_sof_dev *sdev)
{ /* * Resuming from suspend in some cases my cause the DSP firmware * to enter an unrecoverable faulty state. Delaying a bit any host * to DSP transmission right after firmware boot completion seems * to resolve the issue.
*/ if (!sdev->first_boot)
usleep_range(100, 150);
dmi_id = dmi_first_match(acp_sof_quirk_table); if (dmi_id) {
quirks = dmi_id->driver_data;
if (quirks->signed_fw_image)
sof_vangogh_ops.load_firmware = acp_sof_load_signed_firmware;
if (quirks->post_fw_run_delay)
sof_vangogh_ops.post_fw_run = sof_vangogh_post_fw_run_delay;
}
return 0;
}
Messung V0.5
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.11Bemerkung:
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.