drm/amdgpu: move hw generation check into amdgpu_doorbell_init v2
authorChristian König <christian.koenig@amd.com>
Thu, 8 Jun 2017 09:15:16 +0000 (11:15 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 31 Aug 2017 17:45:59 +0000 (13:45 -0400)
commit705e519e0ef1d1824c28ced3b1857a8608853dfb
tree2f4a44319b2f29320a231a0148fb4f2273fc815d
parent570144c6522f5f332635d20dfa278cfcc764229c
drm/amdgpu: move hw generation check into amdgpu_doorbell_init v2

This way we can safely call it on SI as well.

v2: fix type in commit message

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