drm/amdgpu/si: implement get/set pcie_lanes asic callback
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Apr 2018 17:54:33 +0000 (12:54 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Apr 2018 18:08:45 +0000 (13:08 -0500)
commit20ca25e86c56f5490bdc80318f4fc06466e4c21b
tree88dbd6470c219294779603e715160f1c70ce2ca5
parentf7a9ee81a88b83915e7c15895c507abede44b0c5
drm/amdgpu/si: implement get/set pcie_lanes asic callback

Required for dpm setup on some asics. Fixes a NULL dereference
on asics that require it.

Acked-by: Christian König <christian.koenig@amd.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=102553
Tested-by: Abel Garcia Dorta <mercuriete@yahoo.es>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/si.c