diff options
| author | Nils Wallménius <[email protected]> | 2016-12-14 20:52:45 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-01-27 16:12:39 +0000 |
| commit | f7e9e9feb09f833d03f5fc3f378083b4664bd374 (patch) | |
| tree | 838e3d5fffca067480fe65c63c399be1fb9e94ae /drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c | |
| parent | drm/amd/amdgpu: Widen mmio trace register address width (diff) | |
| download | kernel-f7e9e9feb09f833d03f5fc3f378083b4664bd374.tar.gz kernel-f7e9e9feb09f833d03f5fc3f378083b4664bd374.zip | |
drm/amdgpu: Remove checking for atombios
This is a left over from radeon, amdgpu doesn't support any
non-atombios parts and amdgpu_device_init would bail if the
check for atombios failed anyway.
Reviewed-by: Edward O'Callaghan <[email protected]>
Signed-off-by: Nils Wallménius <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c index 91d367399956..f2739995c335 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c @@ -231,8 +231,7 @@ void amdgpu_i2c_init(struct amdgpu_device *adev) if (amdgpu_hw_i2c) DRM_INFO("hw_i2c forced on, you may experience display detection problems!\n"); - if (adev->is_atom_bios) - amdgpu_atombios_i2c_init(adev); + amdgpu_atombios_i2c_init(adev); } /* remove all the buses */ |
