Files
linux-nvgpu/drivers/gpu/nvgpu/os/linux
Deepak Nibade 45c56fd633 gpu: nvgpu: remove golden_image_initialized flag from gr_gk20a struct
struct gr_gk20a defines boolean flag golden_image_initialized to
indicate if golden_image is initialized or not
common.gr.obj_ctx also added a flag of its own to check if golden_image
is ready

Add new API nvgpu_gr_obj_ctx_is_golden_image_ready() in
common.gr.obj_ctx unit to get status of golden_image

Use this new API everywhere to check if golden image is ready
Remove g->gr.ctx_vars.golden_image_initialized

Also remove ctx_mutex from struct gr_gk20a

Add new flag golden_image_initialized to struct nvgpu_pmu_pg and set it
when golden image is initialized. This is needed to avoid circular
dependency between GR and PMU

Jira NVGPU-3112

Change-Id: Id391294cede6424e15a9a9de29c40d013b509534
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2099400
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2019-04-24 13:34:01 -07:00
..
2018-06-27 07:30:06 -07:00
2019-04-22 03:15:09 -07:00
2019-04-10 06:03:59 -07:00
2019-02-01 09:45:57 -08:00
2018-07-05 21:48:44 -07:00
2019-02-22 03:47:38 -08:00
2019-04-23 07:14:09 -07:00
2019-02-11 20:55:07 -08:00
2018-12-13 04:56:14 -08:00
2019-04-19 00:04:00 -07:00
2019-04-10 06:03:59 -07:00
2019-04-12 04:04:31 -07:00
2018-10-24 23:16:20 -07:00
2019-02-27 23:24:21 -08:00