Files
linux-nvgpu/drivers/gpu/nvgpu/os/linux
Seshendra Gadagottu a91535e3a3 gpu: nvgpu: avoid gr_falcon dependency outside gr
Basic units like fifo, rc are having dependency on
gr_falcon. Avoided outside gr units dependency on gr_falcon
by moving following functions to gr:

int nvgpu_gr_falcon_disable_ctxsw(struct gk20a *g,
			struct nvgpu_gr_falcon *falcon); ->
int nvgpu_gr_disable_ctxsw(struct gk20a *g);

int nvgpu_gr_falcon_enable_ctxsw(struct gk20a *g,
			struct nvgpu_gr_falcon *falcon); ->
int nvgpu_gr_enable_ctxsw(struct gk20a *g);
int nvgpu_gr_falcon_halt_pipe(struct gk20a *g); ->
		int nvgpu_gr_halt_pipe(struct gk20a *g);

HALs also moved accordingly and updated code to reflect this.

Also moved following data back to gr from gr_falcon:
struct nvgpu_mutex ctxsw_disable_mutex;
int ctxsw_disable_count;

JIRA NVGPU-3168

Change-Id: I2bdd4a646b6f87df4c835638fc83c061acf4051e
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2100009
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2019-04-23 05:04:44 -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-22 03:15: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