diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-05-15 23:25:03 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-08-30 22:30:26 +0200 |
commit | 61fb192a1cf87413e19f565495595c8c116d7c10 (patch) | |
tree | 7109a80a41a5e986964aefc4446212d65b183ad0 /drivers/gpu/drm/radeon/r600_dpm.h | |
parent | drm/radeon/dpm: add vce clocks to radeon_ps (diff) | |
download | linux-61fb192a1cf87413e19f565495595c8c116d7c10.tar.xz linux-61fb192a1cf87413e19f565495595c8c116d7c10.zip |
drm/radeon/dpm: add a helper to encode pcie lane setting
convert from number of lanes to register setting.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/r600_dpm.h')
-rw-r--r-- | drivers/gpu/drm/radeon/r600_dpm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/r600_dpm.h b/drivers/gpu/drm/radeon/r600_dpm.h index 71d5d93c371b..8dc1fbd9dbf1 100644 --- a/drivers/gpu/drm/radeon/r600_dpm.h +++ b/drivers/gpu/drm/radeon/r600_dpm.h @@ -227,5 +227,6 @@ enum radeon_pcie_gen r600_get_pcie_gen_support(struct radeon_device *rdev, u16 r600_get_pcie_lane_support(struct radeon_device *rdev, u16 asic_lanes, u16 default_lanes); +u8 r600_encode_pci_lane_width(u32 lanes); #endif |