]> git.hungrycats.org Git - linux/commit
drm/radeon: fix card_posted check for newer asics
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 22 May 2013 15:22:51 +0000 (11:22 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Jun 2013 19:46:43 +0000 (12:46 -0700)
commit2b23550e4d01f4c0c1560c899db43e1a63f7ccd0
tree90a4dad7dead4882970b85fa0ac1c71710841657
parent9392bf7c8a7fd63c1ff1dbba237d67b95dae5cf9
drm/radeon: fix card_posted check for newer asics

commit 09fb8bd1a63b0f9f15e655c4fe8d047e5d2bf67a upstream.

Newer asics have variable numbers of crtcs.  Use that
rather than the asic family to determine which crtcs
to check.  This avoids checking non-existent crtcs or
missing crtcs on certain asics.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/radeon_device.c