drm/radeon/kms: minor driver cleanups
authorAlex Deucher <alexdeucher@gmail.com>
Wed, 30 Jun 2010 16:13:55 +0000 (12:13 -0400)
committerDave Airlie <airlied@redhat.com>
Sun, 1 Aug 2010 23:59:57 +0000 (09:59 +1000)
commit4ce9198ecf73739104b274c7c6377ef3659b3ca5
treeaca62519a52541a8eb19d715d15390b0f4e1e67d
parent37f9003bd355d9109769fff66f7f228aab42155b
drm/radeon/kms: minor driver cleanups

- Make the logic in r100_pll_errata_after_index() match the other
errata functions
- Use rdev->family rather than rdev->flags & RADEON_FAMILY_MASK for kms
- replace rn50 check using ids with ASIC_IS_RN50 convenience macro

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