drm/radeon/kms: init rdev->num_crtc at asic init
commit9e7b414edbf5e037c1462bbd8676465ed2ae0ac3
authorAlex Deucher <alexdeucher@gmail.com>
Tue, 16 Mar 2010 21:08:06 +0000 (16 17:08 -0400)
committerDave Airlie <airlied@redhat.com>
Tue, 30 Mar 2010 23:54:07 +0000 (31 09:54 +1000)
treec843d452a884f3af803794dd4c85581ebd90e6df
parent06abdb0ec6b91f634631404012c4d646389e9e0b
drm/radeon/kms: init rdev->num_crtc at asic init

Replace hardcoded numbers with rdev->num_crtc.

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