diff options
author | Sourab Gupta <sourabg@nvidia.com> | 2017-12-13 06:01:47 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-01-04 03:36:21 -0500 |
commit | 965ff380cf364c443b399be4a9bd43b9e9737a97 (patch) | |
tree | f4ac305592ea5c13635582f9de6caa4a9e7e145f /drivers/gpu | |
parent | e780b2f43940c6819a807a63df2baa2eb2cc3f12 (diff) |
gpu: nvgpu: add golden_img_loaded flag to gr ctx desc
The patch adds the boolean flag 'golden_img_loaded'
to gr ctx desc. This is needed for refactoring the ctx
initialization.
Change-Id: I6d6df273e764a4cd06d062d59427dd33f4669778
Signed-off-by: Sourab Gupta <sourabg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1617174
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h index c4d5dbdc..aeb26a6c 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h | |||
@@ -449,6 +449,7 @@ struct gr_ctx_desc { | |||
449 | #ifdef CONFIG_TEGRA_GR_VIRTUALIZATION | 449 | #ifdef CONFIG_TEGRA_GR_VIRTUALIZATION |
450 | u64 virt_ctx; | 450 | u64 virt_ctx; |
451 | #endif | 451 | #endif |
452 | bool golden_img_loaded; | ||
452 | }; | 453 | }; |
453 | 454 | ||
454 | struct ctx_header_desc { | 455 | struct ctx_header_desc { |