drm/amdgpu: fix 64bit BAR detection
authorChristian König <christian.koenig@amd.com>
Sun, 7 Jan 2018 09:18:57 +0000 (10:18 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Jan 2018 20:44:54 +0000 (15:44 -0500)
commit0ebb7c5405941bde1d5ddaa806f6085e6a6deaa7
tree04c5f8ac76852aee58f002ff9e21a0560a0346db
parent9b8cad2047ddcce761b0665ba7e601228df82bfd
drm/amdgpu: fix 64bit BAR detection

Windows added by the BIOS are not marked as 64bit because they are
usually not changeable anyway.

This fixes large BAR support on my new Ryzen build system.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c