diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2012-01-20 14:56:39 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-01-24 17:35:49 +0000 |
commit | 3fa47d9efa6a0f5123e26e2c3ad54e3e1a1d108d (patch) | |
tree | f6d3f96f4731c7ac0d9bee72e22e811d1f96e452 /drivers/gpu/drm/radeon/radeon_display.c | |
parent | 211fa4fc4e13492151e698d92b0dff56b29928ec (diff) |
drm/radeon/kms: move disp eng pll setup to init path
We really only need to set it up once on init or resume
rather than on every mode set.
Signed-off-by: Alex Deucher <alexander.deucher@amd.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 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_display.c b/drivers/gpu/drm/radeon/radeon_display.c index d3ffc18774a..8c49fef1ce7 100644 --- a/drivers/gpu/drm/radeon/radeon_display.c +++ b/drivers/gpu/drm/radeon/radeon_display.c @@ -1305,9 +1305,11 @@ int radeon_modeset_init(struct radeon_device *rdev) return ret; } - /* init dig PHYs */ - if (rdev->is_atom_bios) + /* init dig PHYs, disp eng pll */ + if (rdev->is_atom_bios) { radeon_atom_encoder_init(rdev); + radeon_atom_dcpll_init(rdev); + } /* initialize hpd */ radeon_hpd_init(rdev); |