diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/1117-drm-amdgpu-Add-APTX-quirk-for-Lenovo-laptop.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/1117-drm-amdgpu-Add-APTX-quirk-for-Lenovo-laptop.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/1117-drm-amdgpu-Add-APTX-quirk-for-Lenovo-laptop.patch b/meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/1117-drm-amdgpu-Add-APTX-quirk-for-Lenovo-laptop.patch new file mode 100644 index 00000000..c4abc84f --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/1117-drm-amdgpu-Add-APTX-quirk-for-Lenovo-laptop.patch @@ -0,0 +1,30 @@ +From 1a56384637b9248eb821a12bc35a0739f93a7a6a Mon Sep 17 00:00:00 2001 +From: Alex Deucher <alexander.deucher@amd.com> +Date: Tue, 15 Jan 2019 12:09:09 -0500 +Subject: [PATCH 1117/2940] drm/amdgpu: Add APTX quirk for Lenovo laptop + +Needs ATPX rather than _PR3 for dGPU power control. + +Bug: https://bugzilla.kernel.org/show_bug.cgi?id=202263 +Reviewed-by: Jim Qu <Jim.Qu@amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +Cc: stable@vger.kernel.org +--- + drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c +index a028661d9e20..92b11de19581 100644 +--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c ++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c +@@ -576,6 +576,7 @@ static const struct amdgpu_px_quirk amdgpu_px_quirk_list[] = { + { 0x1002, 0x6900, 0x1028, 0x0812, AMDGPU_PX_QUIRK_FORCE_ATPX }, + { 0x1002, 0x6900, 0x1028, 0x0813, AMDGPU_PX_QUIRK_FORCE_ATPX }, + { 0x1002, 0x6900, 0x1025, 0x125A, AMDGPU_PX_QUIRK_FORCE_ATPX }, ++ { 0x1002, 0x6900, 0x17AA, 0x3806, AMDGPU_PX_QUIRK_FORCE_ATPX }, + { 0, 0, 0, 0, 0 }, + }; + +-- +2.17.1 + |