diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-07-27 16:50:29 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-08-04 12:24:02 -0400 |
commit | a0a3a6323a0e4323d9dedac14b47239535b1cb8b (patch) | |
tree | da46d04cccb6d2bccf0d3e1dd920559995b53542 /drivers/gpu/nvgpu/gp106/xve_gp106.h | |
parent | 972c42fddf13f658242a4f92124e5fcf194672b3 (diff) |
gpu: nvgpu: Pass gk20a to XVE init
Pass gk20a pointer instead of struct device pointer to XVE init.
Change-Id: I5f5efc1d09430a45a49321830b1d7f17c7a57e2f
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1528264
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Waterman <alexw@nvidia.com>
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/xve_gp106.h')
-rw-r--r-- | drivers/gpu/nvgpu/gp106/xve_gp106.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp106/xve_gp106.h b/drivers/gpu/nvgpu/gp106/xve_gp106.h index 31d3a125..37ead910 100644 --- a/drivers/gpu/nvgpu/gp106/xve_gp106.h +++ b/drivers/gpu/nvgpu/gp106/xve_gp106.h | |||
@@ -104,7 +104,7 @@ int xve_get_speed_gp106(struct gk20a *g, u32 *xve_link_speed); | |||
104 | void xve_disable_aspm_gp106(struct gk20a *g); | 104 | void xve_disable_aspm_gp106(struct gk20a *g); |
105 | int xve_set_speed_gp106(struct gk20a *g, u32 next_link_speed); | 105 | int xve_set_speed_gp106(struct gk20a *g, u32 next_link_speed); |
106 | void xve_available_speeds_gp106(struct gk20a *g, u32 *speed_mask); | 106 | void xve_available_speeds_gp106(struct gk20a *g, u32 *speed_mask); |
107 | int xve_sw_init_gp106(struct device *dev); | 107 | int xve_sw_init_gp106(struct gk20a *g); |
108 | #if defined(CONFIG_PCI_MSI) | 108 | #if defined(CONFIG_PCI_MSI) |
109 | void xve_rearm_msi_gp106(struct gk20a *g); | 109 | void xve_rearm_msi_gp106(struct gk20a *g); |
110 | #endif | 110 | #endif |