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)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 19 Jun 2013 01:16:40 +0000 (02:16 +0100)
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: Ben Hutchings <ben@decadent.org.uk>

No differences found