]> git.baikalelectronics.ru Git - kernel.git/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)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 29 May 2013 15:35:05 +0000 (11:35 -0400)
commit79a56b4566829061d65985bedd4c2a544dc39f5d
tree0244eb117d9ee073c32ea4a50251e1dfe6c4225d
parent6333f77d9f0106cd31e773979daab68ed19f7347
drm/radeon: fix card_posted check for newer asics

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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/radeon_device.c