OSDN Git Service

drm/amdgpu: Add a kernel parameter for specifying the asic type
authorYong Zhao <Yong.Zhao@amd.com>
Fri, 30 Aug 2019 22:09:10 +0000 (18:09 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Sep 2019 14:54:25 +0000 (09:54 -0500)
commit4e66d7d2156243bf6866fc83cda0c4b115627e6d
tree44730ddd6dd56d6137eb8874b9e30dc20d1b9589
parentbb42eda28407f62288398b4ef846ae64c98cdc73
drm/amdgpu: Add a kernel parameter for specifying the asic type

As more and more new asics start to reuse the old device IDs before
launch, there is a need to quickly override the existing asic type
corresponding to the reused device ID through a kernel parameter. With
this, engineers no longer need to rely on local hack patches,
facilitating cooperation across teams.

Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
include/drm/amd_asic_type.h