diff options
author | Yong Zhao <Yong.Zhao@amd.com> | 2019-08-30 18:09:10 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-09-16 09:54:25 -0500 |
commit | 4e66d7d2156243bf6866fc83cda0c4b115627e6d (patch) | |
tree | 44730ddd6dd56d6137eb8874b9e30dc20d1b9589 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | bb42eda28407f62288398b4ef846ae64c98cdc73 (diff) | |
download | lwn-4e66d7d2156243bf6866fc83cda0c4b115627e6d.tar.gz lwn-4e66d7d2156243bf6866fc83cda0c4b115627e6d.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index dd9e18f155f0..7723f4ed0130 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h @@ -168,6 +168,7 @@ extern int amdgpu_mcbp; extern int amdgpu_discovery; extern int amdgpu_mes; extern int amdgpu_noretry; +extern int amdgpu_force_asic_type; #ifdef CONFIG_DRM_AMDGPU_SI extern int amdgpu_si_support; |