mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: eliminate struct nvgpu_falcon dependency from engine_queues
engine queue head and tail methods were retrieved from falcon structure. engine queue initialization can get these methods directly from hal through params. Also eliminate struct nvgpu_falcon dereference in engine queue sources to remove inclusion of falcon_priv.h. JIRA NVGPU-1994 Change-Id: Idbebd5049cfd14eb3fe0e27b2bef8436cc61e101 Signed-off-by: Sagar Kamble <skamble@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2016290 GVS: Gerrit_Virtual_Submit Reviewed-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
7685f98440
commit
0a762889c6
@@ -276,7 +276,7 @@ static bool sec2_read_message(struct nvgpu_sec2 *sec2,
|
||||
|
||||
*status = 0U;
|
||||
|
||||
if (nvgpu_engine_mem_queue_is_empty(sec2->flcn, queue)) {
|
||||
if (nvgpu_engine_mem_queue_is_empty(queue)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user