gpu: nvgpu: Add is_fmodel flag

Added is_fmodel flag in gk20a platform data and
this flag is set to true for simulated gpu platforms.

Bug 1735760

Change-Id: Ib04579d2e2990ee051039bfb741d6e50523d44ac
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/1177868
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Tejal Kudav <tkudav@nvidia.com>
Reviewed-by: Ayoosh Bansal <ayooshb@nvidia.com>
Reviewed-by: Adeel Raza <araza@nvidia.com>
This commit is contained in:
Seema Khowala
2016-07-08 14:31:51 -07:00
committed by Seshendra Gadagottu
parent c510b56a12
commit 9ca4c6b596

View File

@@ -38,6 +38,9 @@ struct gk20a_platform {
/* Populated by the gk20a driver before probing the platform. */
struct gk20a *g;
/* Should be populated at probe. */
bool is_fmodel;
/* Should be populated at probe. */
bool can_railgate;