aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorAmber Lin <Amber.Lin@amd.com>2017-01-04 08:06:58 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-01-27 11:13:03 -0500
commitb64a18c502fedab9e7b8b1b557909994637972c5 (patch)
tree1931c2b233d25501c86acba06a891c24829be656 /drivers/gpu/drm
parenta5b580e1193e057a7ee82eae376cbb8c5c3c2518 (diff)
drm/amdgpu: PCI I/O bar can be disabled
PCI I/O bar can be disabled in VBIOS to save the resource. It is often disabled in large aperture VBIOS. Don't call it an error. Signed-off-by: Amber Lin <Amber.Lin@amd.com> Acked-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>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index 14550c85d6f2..02d32ee8d5b6 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -885,7 +885,7 @@ static int amdgpu_atombios_init(struct amdgpu_device *adev)
885 atom_card_info->ioreg_read = cail_ioreg_read; 885 atom_card_info->ioreg_read = cail_ioreg_read;
886 atom_card_info->ioreg_write = cail_ioreg_write; 886 atom_card_info->ioreg_write = cail_ioreg_write;
887 } else { 887 } else {
888 DRM_ERROR("Unable to find PCI I/O BAR; using MMIO for ATOM IIO\n"); 888 DRM_INFO("PCI I/O BAR is not found. Using MMIO to access ATOM BIOS\n");
889 atom_card_info->ioreg_read = cail_reg_read; 889 atom_card_info->ioreg_read = cail_reg_read;
890 atom_card_info->ioreg_write = cail_reg_write; 890 atom_card_info->ioreg_write = cail_reg_write;
891 } 891 }
@@ -1694,7 +1694,7 @@ int amdgpu_device_init(struct amdgpu_device *adev,
1694 } 1694 }
1695 } 1695 }
1696 if (adev->rio_mem == NULL) 1696 if (adev->rio_mem == NULL)
1697 DRM_ERROR("Unable to find PCI I/O BAR\n"); 1697 DRM_INFO("PCI I/O BAR is not found.\n");
1698 1698
1699 /* early init functions */ 1699 /* early init functions */
1700 r = amdgpu_early_init(adev); 1700 r = amdgpu_early_init(adev);