diff options
author | Jack Xiao | 2019-01-25 07:56:01 +0100 |
---|---|---|
committer | Alex Deucher | 2019-06-22 01:58:22 +0200 |
commit | 5f84cc635bce5817290f788e87778c2008fbb0a7 (patch) | |
tree | b3d9d0be93411328a48dec13f031671064f0ac94 /drivers | |
parent | drm/amdgpu/mes: add definitions of ip callback function (diff) | |
download | kernel-qcow2-linux-5f84cc635bce5817290f788e87778c2008fbb0a7.tar.gz kernel-qcow2-linux-5f84cc635bce5817290f788e87778c2008fbb0a7.tar.xz kernel-qcow2-linux-5f84cc635bce5817290f788e87778c2008fbb0a7.zip |
drm/amdgpu/mes: enable mes on navi10 and later asic
When amdgpu_mes is enabled and asic family is navi10 and
later asic, enable mes per device.
Acked-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Jack Xiao <Jack.Xiao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index 107a1950a711..a70d0a44bdd2 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -2578,6 +2578,9 @@ int amdgpu_device_init(struct amdgpu_device *adev, if (amdgpu_mcbp) DRM_INFO("MCBP is enabled\n"); + if (amdgpu_mes && adev->asic_type >= CHIP_NAVI10) + adev->enable_mes = true; + if (amdgpu_discovery) { r = amdgpu_discovery_init(adev); if (r) { |