diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2008-09-26 17:20:04 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2008-09-26 17:20:04 -0400 |
commit | 09b2dfcedc8cb35444567626131ccc25db79a8c6 (patch) | |
tree | c64815a19296773b907ac72a12c83e7bd212d67a /linux-core/radeon_legacy_crtc.c | |
parent | 89126bb58ec82511758bed36a28e698b721fb435 (diff) |
radeon: make atom on r4xx a module option
default is legacy modesetting. pass module option r4xx_atom
to try using atom on r4xx.
Diffstat (limited to 'linux-core/radeon_legacy_crtc.c')
-rw-r--r-- | linux-core/radeon_legacy_crtc.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/linux-core/radeon_legacy_crtc.c b/linux-core/radeon_legacy_crtc.c index f99cbdaa..820bd548 100644 --- a/linux-core/radeon_legacy_crtc.c +++ b/linux-core/radeon_legacy_crtc.c @@ -172,7 +172,7 @@ void radeon_crtc_dpms(struct drm_crtc *crtc, int mode) } /* properly set crtc bpp when using atombios */ -static void radeon_legacy_atom_set_surface(struct drm_crtc *crtc) +void radeon_legacy_atom_set_surface(struct drm_crtc *crtc) { struct drm_device *dev = crtc->dev; struct drm_radeon_private *dev_priv = dev->dev_private; @@ -312,9 +312,6 @@ static bool radeon_set_crtc1_base(struct drm_crtc *crtc, int x, int y) disp_merge_cntl &= ~RADEON_DISP_RGB_OFFSET_EN; RADEON_WRITE(RADEON_DISP_MERGE_CNTL, disp_merge_cntl); - if (dev_priv->is_atom_bios) - radeon_legacy_atom_set_surface(crtc); - return true; } @@ -736,9 +733,6 @@ static bool radeon_set_crtc2_base(struct drm_crtc *crtc, int x, int y) disp2_merge_cntl &= ~RADEON_DISP2_RGB_OFFSET_EN; RADEON_WRITE(RADEON_DISP2_MERGE_CNTL, disp2_merge_cntl); - if (dev_priv->is_atom_bios) - radeon_legacy_atom_set_surface(crtc); - return true; } |