diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-04-14 16:11:18 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-04-19 16:24:30 -0400 |
commit | 6df49a63ca5f9d77a6d7d6c7dbaaa0fba1b707ca (patch) | |
tree | b50c57b2759fb4a20390880ea5b5d874d324d046 /drivers/gpu/nvgpu/gk20a/platform_gk20a.h | |
parent | 15e9b433f3a33f4d68582d8eeabfcfd32db8c340 (diff) |
gpu: nvgpu: Move is_fmodel to struct gk20a
Copy is_fmodel to struct gk20a at probe time, and access it from
gk20a instead of platform_gk20a.
JIRA NVGPU-16
Change-Id: Ib8d793ea2b02b62da3bfdbb6372d9927658b7ec6
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1463540
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/platform_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/platform_gk20a.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/platform_gk20a.h b/drivers/gpu/nvgpu/gk20a/platform_gk20a.h index 4bdbda43..1115a5fb 100644 --- a/drivers/gpu/nvgpu/gk20a/platform_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/platform_gk20a.h | |||
@@ -39,9 +39,6 @@ struct gk20a_platform { | |||
39 | struct gk20a *g; | 39 | struct gk20a *g; |
40 | 40 | ||
41 | /* Should be populated at probe. */ | 41 | /* Should be populated at probe. */ |
42 | bool is_fmodel; | ||
43 | |||
44 | /* Should be populated at probe. */ | ||
45 | bool can_railgate; | 42 | bool can_railgate; |
46 | 43 | ||
47 | /* Set by User while disabling railgating */ | 44 | /* Set by User while disabling railgating */ |