diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2014-05-14 08:22:49 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:10:05 -0400 |
commit | 6b33379c55a8368ce9e5ed1381f9aeeebe383dfe (patch) | |
tree | 625ae2366c0b21d9c4b18255f691f506debfcbfb /drivers/gpu/nvgpu/gk20a/hal_gk20a.c | |
parent | cd13ee4aafcdb0206078e9e41aca53107235bbed (diff) |
gpu: nvgpu: Rewrite PMU boot-up sequence
Rewrite PMU boot sequence as a state machine. At PMU power-up send
initial messages, and reset state machine. At each reply from PMU,
do the next stage of PMU boot and set state.
As now PMU and FECS boot are independent, we need to ensure engine
idle before saving ZBC.
Change-Id: I1ea747ab794ef08f1784eeabfdae7655d585ff21
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/410205
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hal_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/hal_gk20a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hal_gk20a.c b/drivers/gpu/nvgpu/gk20a/hal_gk20a.c index de6c3713..66bc47a9 100644 --- a/drivers/gpu/nvgpu/gk20a/hal_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/hal_gk20a.c | |||
@@ -43,7 +43,7 @@ int gk20a_init_hal(struct gpu_ops *gops) | |||
43 | { | 43 | { |
44 | *gops = gk20a_ops; | 44 | *gops = gk20a_ops; |
45 | gk20a_init_ltc(gops); | 45 | gk20a_init_ltc(gops); |
46 | gk20a_init_gr(gops); | 46 | gk20a_init_gr_ops(gops); |
47 | gk20a_init_fb(gops); | 47 | gk20a_init_fb(gops); |
48 | gk20a_init_fifo(gops); | 48 | gk20a_init_fifo(gops); |
49 | gk20a_init_gr_ctx(gops); | 49 | gk20a_init_gr_ctx(gops); |