summaryrefslogtreecommitdiffstats
path: root/userspace/include/unit
diff options
context:
space:
mode:
authorJeremy Ho <jeremyh@nvidia.com>2019-07-02 04:43:17 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2019-07-16 09:12:03 -0400
commit42c2bdfb9f1afed4b22f74cb635db52d5f3e7cd0 (patch)
tree72ee74708ebc835bca06aa1a38d023d8f060f098 /userspace/include/unit
parent00b41b85389fe08be780d0e6134e9e891ea65399 (diff)
gpu: nvgpu: remove reversed ordering for deadlock
In some cases, we would get deadlock issue due to there are two locks acquisition on common clk driver's lock and nvgpu driver's locks. At the bug, inconsistent lock ordering problem will come with one thread gets "nvgpu lock -> clk lock" and the other thread gets "clk lock -> nvgpu lock". Slove the latter path with one-time initializing clk_parent entry and use cached data afterward. Bug 2555115 Change-Id: I31c5c2728f406307e7cfd4e555f4db0c163234d8 Signed-off-by: Jeremy Ho <jeremyh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2146727 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Bibek Basu <bbasu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'userspace/include/unit')
0 files changed, 0 insertions, 0 deletions