aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_mode.h
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2010-09-29 11:37:41 -0400
committerDave Airlie <airlied@redhat.com>2010-10-05 21:46:25 -0400
commit48dfaaeb6637240af3089bf9b7a00a6cf24e0182 (patch)
tree7f82ed838581ff1f8db41e4a9d3c41cb47dc46cc /drivers/gpu/drm/radeon/radeon_mode.h
parentf28488c282d8916b9b6190cc41714815bbaf97d5 (diff)
drm/radeon/kms: remove new pll algo
The recent changes to the old algo (prefer high post div) coupled with the range and precision limitations of using fixed point with the new algo make the new algo less useful. So drop the new algo. This should work as well or better than the old new/old combinations and simplifies the code a lot. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=30218 among others. Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_mode.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon_mode.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_mode.h b/drivers/gpu/drm/radeon/radeon_mode.h
index 8707cd61e58b..29f551769aaf 100644
--- a/drivers/gpu/drm/radeon/radeon_mode.h
+++ b/drivers/gpu/drm/radeon/radeon_mode.h
@@ -144,12 +144,6 @@ struct radeon_tmds_pll {
144#define RADEON_PLL_USE_POST_DIV (1 << 6) 144#define RADEON_PLL_USE_POST_DIV (1 << 6)
145#define RADEON_PLL_IS_LCD (1 << 7) 145#define RADEON_PLL_IS_LCD (1 << 7)
146 146
147/* pll algo */
148enum radeon_pll_algo {
149 PLL_ALGO_LEGACY,
150 PLL_ALGO_NEW
151};
152
153struct radeon_pll { 147struct radeon_pll {
154 /* reference frequency */ 148 /* reference frequency */
155 uint32_t reference_freq; 149 uint32_t reference_freq;
@@ -182,8 +176,6 @@ struct radeon_pll {
182 176
183 /* pll id */ 177 /* pll id */
184 uint32_t id; 178 uint32_t id;
185 /* pll algo */
186 enum radeon_pll_algo algo;
187}; 179};
188 180
189struct radeon_i2c_chan { 181struct radeon_i2c_chan {
@@ -346,7 +338,6 @@ struct radeon_encoder_atom_dig {
346 /* atom lvds */ 338 /* atom lvds */
347 uint32_t lvds_misc; 339 uint32_t lvds_misc;
348 uint16_t panel_pwr_delay; 340 uint16_t panel_pwr_delay;
349 enum radeon_pll_algo pll_algo;
350 struct radeon_atom_ss *ss; 341 struct radeon_atom_ss *ss;
351 /* panel mode */ 342 /* panel mode */
352 struct drm_display_mode native_mode; 343 struct drm_display_mode native_mode;