diff options
| author | Alex Deucher <[email protected]> | 2015-11-11 19:45:06 -0500 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2015-12-21 16:42:32 -0500 |
| commit | d0dd7f0cc345fc8757148004639e1993ba183bd6 (patch) | |
| tree | 690623b5708ceaa59fd0fe9657c4f15d8ec342ac /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
| parent | 60d8edd415e9da63599c7601707ca78ad74a927e (diff) | |
drm/amdgpu: store pcie gen mask and link width
We'll need this later for pcie dpm.
Reviewed-by: Jammy Zhou <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 637eff393bc7..26d9134f7c0d 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h @@ -1637,8 +1637,12 @@ struct amdgpu_pm { const struct firmware *fw; /* SMC firmware */ uint32_t fw_version; const struct amdgpu_dpm_funcs *funcs; + uint32_t pcie_gen_mask; + uint32_t pcie_mlw_mask; }; +void amdgpu_get_pcie_info(struct amdgpu_device *adev); + /* * UVD */ |