drm/radeon/dpm: add pcie gen helper function
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 25 Mar 2013 22:28:29 +0000 (18:28 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jun 2013 23:16:40 +0000 (19:16 -0400)
commit4bd9f516f622b883b35cda8fb38b95f3a493fc17
tree76fe8ddc8d59a9fc4b67afe9c128be7fd575d0ba
parent2abba66e7af70825734eaf9fdea37c97f9e7b6ff
drm/radeon/dpm: add pcie gen helper function

Add a helper function to determine the preferred
pcie gen based on the card, system, and circumstance.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/r600_dpm.c
drivers/gpu/drm/radeon/r600_dpm.h