drm/radeon/kms: spread spectrum fixes
authorAlex Deucher <alexdeucher@gmail.com>
Fri, 20 May 2011 08:34:16 +0000 (04:34 -0400)
committerDave Airlie <airlied@redhat.com>
Fri, 20 May 2011 10:02:21 +0000 (20:02 +1000)
commit8e8e523d865490e95ed7c9d2e173c02648d6be90
treecfab46ff01a706afd4b21558ee879e433b071cbf
parentdf271bec805b42527d864777ed035fcbb42e76c0
drm/radeon/kms: spread spectrum fixes

- properly mask the ss type
- don't enable ss if type is external or percentage is 0
- if ss enabled and type is external, set ref_div_src to ext clock
- prefer ASIC_INTERNAL_SS_ON_DP to LCD_Info SS_Id for eDP
- fix ss amount calculation

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/atombios_crtc.c