drm/radeon/dpm: add a helper to encode pcie lane setting
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 15 May 2013 21:25:03 +0000 (17:25 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Aug 2013 20:30:26 +0000 (16:30 -0400)
commit61fb192a1cf87413e19f565495595c8c116d7c10
tree7109a80a41a5e986964aefc4446212d65b183ad0
parentc4453e66130119d9f2947ee051d598aae6823d49
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>
drivers/gpu/drm/radeon/r600_dpm.c
drivers/gpu/drm/radeon/r600_dpm.h