Files
linux-nvgpu/drivers/gpu/nvgpu/os/linux
Deepak Nibade fed6ee1afc gpu: nvgpu: remove nvgpu_preemption_modes_rec struct
g->ops.gr.get_preemption_mode_flags() hal is used to fetch information
on supported preemption modes and default preemption mode
Temporary struct nvgpu_preemption_modes_rec is used for this purpose
and is defined in gk20a/gr_gk20a.h right now.

Split above hal into two separate hals and move them to hal.gr.init unit
g->ops.gr.init.get_supported__preemption_modes()
g->ops.gr.init.get_default_preemption_modes()

These hals now return respective flags in pointers passed in function
parameter list, so there is no need to use temporary structure anymore
Hence delete struct nvgpu_preemption_modes_rec

Implement gm20b/gp10b chip specific hals in hal.gr.init unit.
Delete g->ops.gr.get_preemption_mode_flags() hal

Jira NVGPU-3126

Change-Id: I84f507fcd8d122bb7f0ecf697e8b4f16c9339ce1
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2102455
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2019-04-23 08:20:13 -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-04-22 03:15:09 -07:00
2019-02-27 23:24:21 -08:00