mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-25 10:42:21 +03:00
This change corrects the logic for tracking stats syncpoint threshold. In UMD, IspNg sets flag stats_aidx_flag per stats block enabled. In RCE, this is copied over to the task descriptor as stats_action_mask. In Falcon, this mask is used to determine how many times the stats syncpoint shall be incremented. This change fixes the logic in isp_capture_request to have the threshold be based on the same flag from IspNg, by reading it from the program buffer. Bug 4990722 Change-Id: I8991a2282e522d4e611e877b6be115dab27ebb63 Signed-off-by: Rakibul Hassan <rakibulh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3265594 Reviewed-by: Vincent Chung <vincentc@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Shiva Dubey <sdubey@nvidia.com> Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Jagadeesh Kinni <jkinni@nvidia.com>