diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2012-01-20 20:56:39 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-01-24 18:35:49 +0100 |
commit | 3fa47d9efa6a0f5123e26e2c3ad54e3e1a1d108d (patch) | |
tree | f6d3f96f4731c7ac0d9bee72e22e811d1f96e452 /drivers/gpu/drm/radeon/radeon_display.c | |
parent | drm/radeon: finish getting bios earlier (diff) | |
download | linux-3fa47d9efa6a0f5123e26e2c3ad54e3e1a1d108d.tar.xz linux-3fa47d9efa6a0f5123e26e2c3ad54e3e1a1d108d.zip |
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 d3ffc18774a6..8c49fef1ce78 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); |