Skip to contentSkip to conversation

drm/amdgpu: Add APTX quirk for Lenovo laptop

PATCH In review Alex Deucher 4 participants 4 messages Jan 16, 2019 – Jan 22, 2019 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amdgpu: Add APTX quirk for Lenovo laptop

Needs ATPX rather than _PR3 for dGPU power control.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c +1 -0
index a028661d9e20..92b11de19581 100644
@@ -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 },
 };
 
Signature · 1 line
2.20.1
Reviewed-by on v1 1/1
#1 lore raw

Thanks
JimQu

________________________________________
发件人: amd-gfx <[email protected]> 代表 Alex Deucher <[email protected]> 发送时间: 2019年1月17日 0:05:14
收件人: [email protected]
抄送: Deucher, Alexander; [email protected]
主题: [PATCH] drm/amdgpu: Add APTX quirk for Lenovo laptop

Needs ATPX rather than _PR3 for dGPU power control.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c +1 -0
index a028661d9e20..92b11de19581 100644
@@ -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.20.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 20190116160514.13477-1-alexander.deucher-5C7GfCeVMHo@public.gmane.org

#3 lore raw

Hi,

[This is an automated email]

This commit has been processed because it contains a -stable tag. The stable tag indicates that it's relevant for the following trees: all

The bot has tested the following trees: v4.20.3, v4.19.16, v4.14.94, v4.9.151, v4.4.171, v3.18.132.

v4.20.3: Build OK!
v4.19.16: Build OK!
v4.14.94: Failed to apply! Possible dependencies:
Unable to calculate

v4.9.151: Failed to apply! Possible dependencies:
b3fc2ab37e27 ("drm/amdgpu: add another ATPX quirk for TOPAZ")

v4.4.171: Failed to apply! Possible dependencies:
052c299080cd ("drm/amdgpu: add atpx quirk handling (v2)")
1db4496f167b ("drm/amdgpu: fix power state when port pm is unavailable") 2f5af82eeab2 ("drm/amdgpu/atpx: track whether if this is a hybrid graphics platform") 5c614792474b ("drm/amdgpu: disable power control on hybrid laptops") 6b1095eedd39 ("drm/amdgpu: init atpx at switcheroo register time (v2)") 6c24a85d236e ("drm/amdgpu: add new device to use atpx quirk") 7ac33e47d576 ("drm/amdgpu: fix check for port PM availability") 8d45f80ed08b ("drm/amdgpu: clean up atpx power control handling") a78fe13389f0 ("drm/amdgpu/atpx: add a query for ATPX dGPU power control") b3fc2ab37e27 ("drm/amdgpu: add another ATPX quirk for TOPAZ") c8791a13d281 ("drm/amdgpu: print a message if ATPX dGPU power control is missing")

v3.18.132: Failed to apply! Possible dependencies:
052c299080cd ("drm/amdgpu: add atpx quirk handling (v2)")
1db4496f167b ("drm/amdgpu: fix power state when port pm is unavailable") 2f5af82eeab2 ("drm/amdgpu/atpx: track whether if this is a hybrid graphics platform") 5c614792474b ("drm/amdgpu: disable power control on hybrid laptops")
6c24a85d236e ("drm/amdgpu: add new device to use atpx quirk")
7ac33e47d576 ("drm/amdgpu: fix check for port PM availability")
8d45f80ed08b ("drm/amdgpu: clean up atpx power control handling")
97b2e202fba0 ("drm/amdgpu: add amdgpu.h (v2)")
a78fe13389f0 ("drm/amdgpu/atpx: add a query for ATPX dGPU power control") b3fc2ab37e27 ("drm/amdgpu: add another ATPX quirk for TOPAZ")
bedf2a65c1aa ("drm/amdgpu: disable runtime pm on PX laptops without dGPU power control") c8791a13d281 ("drm/amdgpu: print a message if ATPX dGPU power control is missing") d38ceaf99ed0 ("drm/amdgpu: add core driver (v4)")
e9bef455af8e ("Revert "drm/amdgpu: disable runtime pm on PX laptops without dGPU power control"")

How should we proceed with this patch?

--
Thanks,
Sasha
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

maintainer
#4 lore raw
In reply to Alex Deucher

Hi,

[This is an automated email]

This commit has been processed because it contains a -stable tag. The stable tag indicates that it's relevant for the following trees: all

The bot has tested the following trees: v4.20.3, v4.19.16, v4.14.94, v4.9.151, v4.4.171, v3.18.132.

v4.20.3: Build OK!
v4.19.16: Build OK!
v4.14.94: Failed to apply! Possible dependencies:
Unable to calculate

v4.9.151: Failed to apply! Possible dependencies:
b3fc2ab37e27 ("drm/amdgpu: add another ATPX quirk for TOPAZ")

v4.4.171: Failed to apply! Possible dependencies:
052c299080cd ("drm/amdgpu: add atpx quirk handling (v2)")
1db4496f167b ("drm/amdgpu: fix power state when port pm is unavailable") 2f5af82eeab2 ("drm/amdgpu/atpx: track whether if this is a hybrid graphics platform") 5c614792474b ("drm/amdgpu: disable power control on hybrid laptops") 6b1095eedd39 ("drm/amdgpu: init atpx at switcheroo register time (v2)") 6c24a85d236e ("drm/amdgpu: add new device to use atpx quirk") 7ac33e47d576 ("drm/amdgpu: fix check for port PM availability") 8d45f80ed08b ("drm/amdgpu: clean up atpx power control handling") a78fe13389f0 ("drm/amdgpu/atpx: add a query for ATPX dGPU power control") b3fc2ab37e27 ("drm/amdgpu: add another ATPX quirk for TOPAZ") c8791a13d281 ("drm/amdgpu: print a message if ATPX dGPU power control is missing")

v3.18.132: Failed to apply! Possible dependencies:
052c299080cd ("drm/amdgpu: add atpx quirk handling (v2)")
1db4496f167b ("drm/amdgpu: fix power state when port pm is unavailable") 2f5af82eeab2 ("drm/amdgpu/atpx: track whether if this is a hybrid graphics platform") 5c614792474b ("drm/amdgpu: disable power control on hybrid laptops")
6c24a85d236e ("drm/amdgpu: add new device to use atpx quirk")
7ac33e47d576 ("drm/amdgpu: fix check for port PM availability")
8d45f80ed08b ("drm/amdgpu: clean up atpx power control handling")
97b2e202fba0 ("drm/amdgpu: add amdgpu.h (v2)")
a78fe13389f0 ("drm/amdgpu/atpx: add a query for ATPX dGPU power control") b3fc2ab37e27 ("drm/amdgpu: add another ATPX quirk for TOPAZ")
bedf2a65c1aa ("drm/amdgpu: disable runtime pm on PX laptops without dGPU power control") c8791a13d281 ("drm/amdgpu: print a message if ATPX dGPU power control is missing") d38ceaf99ed0 ("drm/amdgpu: add core driver (v4)")
e9bef455af8e ("Revert "drm/amdgpu: disable runtime pm on PX laptops without dGPU power control"")

How should we proceed with this patch?