diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.19.8/1098-drm-amdgpu-use-BACO-reset-on-vega20-if-platform-supp.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.19.8/1098-drm-amdgpu-use-BACO-reset-on-vega20-if-platform-supp.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.19.8/1098-drm-amdgpu-use-BACO-reset-on-vega20-if-platform-supp.patch b/common/recipes-kernel/linux/linux-yocto-4.19.8/1098-drm-amdgpu-use-BACO-reset-on-vega20-if-platform-supp.patch new file mode 100644 index 00000000..1c2e6568 --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.19.8/1098-drm-amdgpu-use-BACO-reset-on-vega20-if-platform-supp.patch @@ -0,0 +1,29 @@ +From 3bccd5ac83f06d5027150d8ed0afc7fd3add10d7 Mon Sep 17 00:00:00 2001 +From: Jim Qu <Jim.Qu@amd.com> +Date: Thu, 8 Nov 2018 14:07:22 +0800 +Subject: [PATCH 1098/2940] drm/amdgpu: use BACO reset on vega20 if platform + support + +Signed-off-by: Jim Qu <Jim.Qu@amd.com> +Reviewed-by: Alex Deucher <alexander.deucher@amd.com> +Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/amdgpu/soc15.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c +index 41a4455e2c98..9eb2bc607487 100644 +--- a/drivers/gpu/drm/amd/amdgpu/soc15.c ++++ b/drivers/gpu/drm/amd/amdgpu/soc15.c +@@ -461,6 +461,7 @@ static int soc15_asic_reset(struct amdgpu_device *adev) + + switch (adev->asic_type) { + case CHIP_VEGA10: ++ case CHIP_VEGA20: + soc15_asic_get_baco_capability(adev, &baco_reset); + break; + default: +-- +2.17.1 + |