nvadsp: Add flag for always ON operation

Add flag 'is_always_on' in driver state that will be set
if DSP CPU is already in running state at driver probe.

Bug 4777122

Change-Id: I99e255266f12f8cc0655f78e269e95ea303c1233
Signed-off-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3223695
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Dara Ramesh <dramesh@nvidia.com>
This commit is contained in:
Viswanath L
2024-10-04 07:06:19 +00:00
committed by Jon Hunter
parent ea7b98682a
commit a2c75bcda2

View File

@@ -224,6 +224,7 @@ struct nvadsp_drv_data {
bool adsp_os_running;
bool adsp_os_suspended;
bool adsp_os_secload;
bool is_always_on;
void *shared_adsp_os_data;
dma_addr_t shared_adsp_os_data_iova;