]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4facb7b15073117bd9c76ed3b687d92fe72de454
tree44730ddd6dd56d6137eb8874b9e30dc20d1b9589
parent04ca4c48ad69f0c1139fd6f6912709fe26eb7306
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