drm/amdgpu: require a root bus window above 4GB for BAR resize
authorChristian König <christian.koenig@amd.com>
Wed, 15 Nov 2017 19:07:38 +0000 (20:07 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:47:53 +0000 (12:47 -0500)
commit31b8adab3247eaa6cffbaa59276456b694718cc8
treef093fc4787187182109c64a1c9ee9506abc8260d
parent35888630cb65d2a7e28f44b042b671f7d6e91f60
drm/amdgpu: require a root bus window above 4GB for BAR resize

Don't even try to resize the BAR when there is no window above 4GB.

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