diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2011-05-22 13:20:36 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-05-23 18:59:30 -0400 |
commit | ac89af1e1010640db072416c786f97391b85790f (patch) | |
tree | 5faa022ee9e242efa8bf9f3fa3c8a0101671aae7 /drivers/gpu/drm/radeon/radeon_display.c | |
parent | bb92091acfbb9549e3fd2900427c7548e9ebd1bd (diff) |
drm/radeon/kms/atom: move dig phy init out of modesetting
It only needs to be called once at startup, not for every
modeset.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_display.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_display.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_display.c b/drivers/gpu/drm/radeon/radeon_display.c index 06719340edcb..ae247eec87c0 100644 --- a/drivers/gpu/drm/radeon/radeon_display.c +++ b/drivers/gpu/drm/radeon/radeon_display.c | |||
@@ -1345,6 +1345,11 @@ int radeon_modeset_init(struct radeon_device *rdev) | |||
1345 | if (!ret) { | 1345 | if (!ret) { |
1346 | return ret; | 1346 | return ret; |
1347 | } | 1347 | } |
1348 | |||
1349 | /* init dig PHYs */ | ||
1350 | if (rdev->is_atom_bios) | ||
1351 | radeon_atom_encoder_init(rdev); | ||
1352 | |||
1348 | /* initialize hpd */ | 1353 | /* initialize hpd */ |
1349 | radeon_hpd_init(rdev); | 1354 | radeon_hpd_init(rdev); |
1350 | 1355 | ||