drm/radeon: handle vfct with multiple vbios images
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 25 Jan 2017 20:33:44 +0000 (15:33 -0500)
committerBen Hutchings <ben@decadent.org.uk>
Mon, 5 Jun 2017 20:13:45 +0000 (21:13 +0100)
commit56a3a61fe870d1975d25ef5be92ff44161ae6039
tree3fa528f75c5533fd08b9e32b0dcb2a406cb5e520
parenta2411059043be1539429e8a781dd100fa09c0cee
drm/radeon: handle vfct with multiple vbios images

commit a882f5de402ded769af74fbf276132f9c175049c upstream.

The vfct table can contain multiple vbios images if the
platform contains multiple GPUs. Noticed by netkas on
phoronix forums.  This patch fixes those platforms.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/gpu/drm/radeon/radeon_bios.c