Files
linux-nvgpu/drivers/gpu
Ken Chang 6cf1218213 gpu: nvgpu: remove duplicate gk20a_scale_init call
The call of gk20a_scale_init has been moved to after finialize poweron
in commit f445ab63 gpu: nvgpu: enable devfreq after finalize poweron,
hence remove the duplicate call in nvgpu_probe().

Given that the platform clk_round_rate call need valid scaling profile,
need to put gk20a_scale_init call to a place before calling
gp10b_init_gpu_characteristics().

This change also adds checking of valid scaling profile private data.

Bug 2107631

Change-Id: I8cb2a65ddf10771860c0e7d4e5db774d8e3b6aaa
Signed-off-by: Ken Chang <kenc@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1705734
GVS: Gerrit_Virtual_Submit
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Hayden Du <haydend@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2018-05-29 02:16:26 -07:00
..