diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2014-03-19 08:27:12 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:09:37 -0400 |
commit | 69cfb8a254b0f1b042f5dc5d255df7c1821293aa (patch) | |
tree | b37e9e81aa551877920701c65c333a2c77951880 /drivers/gpu/nvgpu | |
parent | cd783f0b8412919d3792871ee7ca23ba9b945ea0 (diff) |
video: tegra: host: gk20a: Remove duplicated code
Two calls to gk20a_init_gpu_characteristics() is not needed.
GPU sim aperture was defined twice.
Change-Id: Iaf78611717c55b1cae456358fcae2641ad552d9f
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/383855
Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index 2b912241..1411d1cc 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -917,12 +917,6 @@ static int gk20a_pm_finalize_poweron(struct device *dev) | |||
917 | goto done; | 917 | goto done; |
918 | } | 918 | } |
919 | 919 | ||
920 | err = gk20a_init_gpu_characteristics(g); | ||
921 | if (err) { | ||
922 | nvhost_err(&dev->dev, "failed to init gk20a gpu characteristics"); | ||
923 | goto done; | ||
924 | } | ||
925 | |||
926 | gk20a_channel_resume(g); | 920 | gk20a_channel_resume(g); |
927 | set_user_nice(current, nice_value); | 921 | set_user_nice(current, nice_value); |
928 | 922 | ||