* [PATCH 1/3] Revert "drm/amdgpu: Add an ATPX quirk for hybrid laptop"
@ 2018-05-24 19:46 Alex Deucher
[not found] ` <20180524194636.30588-1-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Alex Deucher @ 2018-05-24 19:46 UTC (permalink / raw)
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Alex Deucher
This reverts commit 13b40935cf64f59b93cf1c716a2033488e5a228c.
This was a workaround for a bug in the HDA driver that prevented
the HDA audio chip from going into runtime pm which prevented
the GPU from going into runtime pm.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=106597
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
index 1bcb2b247335..daa06e7c5bb7 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
@@ -569,7 +569,6 @@ static const struct amdgpu_px_quirk amdgpu_px_quirk_list[] = {
{ 0x1002, 0x6900, 0x1002, 0x0124, AMDGPU_PX_QUIRK_FORCE_ATPX },
{ 0x1002, 0x6900, 0x1028, 0x0812, AMDGPU_PX_QUIRK_FORCE_ATPX },
{ 0x1002, 0x6900, 0x1028, 0x0813, AMDGPU_PX_QUIRK_FORCE_ATPX },
- { 0x1002, 0x67DF, 0x1028, 0x0774, AMDGPU_PX_QUIRK_FORCE_ATPX },
{ 0, 0, 0, 0, 0 },
};
--
2.13.6
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/3] Revert "drm/amdgpu: add new device to use atpx quirk"
[not found] ` <20180524194636.30588-1-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
@ 2018-05-24 19:46 ` Alex Deucher
2018-05-24 19:46 ` [PATCH 3/3] Partially revert: drm/amdgpu: add atpx quirk handling (v2) Alex Deucher
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: Alex Deucher @ 2018-05-24 19:46 UTC (permalink / raw)
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Alex Deucher
This reverts commit 6c24a85d236eb2348d2e221993769fd93c168f65.
This was a workaround for a bug in the HDA driver that prevented
the HDA audio chip from going into runtime pm which prevented
the GPU from going into runtime pm.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=106597
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
index daa06e7c5bb7..f09cc2577956 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
@@ -568,7 +568,6 @@ static const struct amdgpu_px_quirk amdgpu_px_quirk_list[] = {
/* HG _PR3 doesn't seem to work on this A+A weston board */
{ 0x1002, 0x6900, 0x1002, 0x0124, AMDGPU_PX_QUIRK_FORCE_ATPX },
{ 0x1002, 0x6900, 0x1028, 0x0812, AMDGPU_PX_QUIRK_FORCE_ATPX },
- { 0x1002, 0x6900, 0x1028, 0x0813, AMDGPU_PX_QUIRK_FORCE_ATPX },
{ 0, 0, 0, 0, 0 },
};
--
2.13.6
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 3/3] Partially revert: drm/amdgpu: add atpx quirk handling (v2)
[not found] ` <20180524194636.30588-1-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2018-05-24 19:46 ` [PATCH 2/3] Revert "drm/amdgpu: add new device to use atpx quirk" Alex Deucher
@ 2018-05-24 19:46 ` Alex Deucher
2018-05-31 15:10 ` [PATCH 1/3] Revert "drm/amdgpu: Add an ATPX quirk for hybrid laptop" Alex Deucher
2018-06-01 3:07 ` Huang Rui
3 siblings, 0 replies; 7+ messages in thread
From: Alex Deucher @ 2018-05-24 19:46 UTC (permalink / raw)
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Alex Deucher
Remove the platform specific quirks, but leave the quirk
infrastructure in place.
This was a workaround for a bug in the HDA driver that prevented
the HDA audio chip from going into runtime pm which prevented
the GPU from going into runtime pm.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=106597
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
index f09cc2577956..9c493e8a48a5 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
@@ -565,9 +565,6 @@ static const struct vga_switcheroo_handler amdgpu_atpx_handler = {
};
static const struct amdgpu_px_quirk amdgpu_px_quirk_list[] = {
- /* HG _PR3 doesn't seem to work on this A+A weston board */
- { 0x1002, 0x6900, 0x1002, 0x0124, AMDGPU_PX_QUIRK_FORCE_ATPX },
- { 0x1002, 0x6900, 0x1028, 0x0812, AMDGPU_PX_QUIRK_FORCE_ATPX },
{ 0, 0, 0, 0, 0 },
};
--
2.13.6
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 1/3] Revert "drm/amdgpu: Add an ATPX quirk for hybrid laptop"
[not found] ` <20180524194636.30588-1-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2018-05-24 19:46 ` [PATCH 2/3] Revert "drm/amdgpu: add new device to use atpx quirk" Alex Deucher
2018-05-24 19:46 ` [PATCH 3/3] Partially revert: drm/amdgpu: add atpx quirk handling (v2) Alex Deucher
@ 2018-05-31 15:10 ` Alex Deucher
2018-06-01 3:07 ` Huang Rui
3 siblings, 0 replies; 7+ messages in thread
From: Alex Deucher @ 2018-05-31 15:10 UTC (permalink / raw)
To: amd-gfx list; +Cc: Alex Deucher
Ping?
These patches worked around a regression in the hda driver which has
since been fixed.
On Thu, May 24, 2018 at 3:46 PM, Alex Deucher <alexdeucher@gmail.com> wrote:
> This reverts commit 13b40935cf64f59b93cf1c716a2033488e5a228c.
>
> This was a workaround for a bug in the HDA driver that prevented
> the HDA audio chip from going into runtime pm which prevented
> the GPU from going into runtime pm.
>
> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=106597
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
> index 1bcb2b247335..daa06e7c5bb7 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
> @@ -569,7 +569,6 @@ static const struct amdgpu_px_quirk amdgpu_px_quirk_list[] = {
> { 0x1002, 0x6900, 0x1002, 0x0124, AMDGPU_PX_QUIRK_FORCE_ATPX },
> { 0x1002, 0x6900, 0x1028, 0x0812, AMDGPU_PX_QUIRK_FORCE_ATPX },
> { 0x1002, 0x6900, 0x1028, 0x0813, AMDGPU_PX_QUIRK_FORCE_ATPX },
> - { 0x1002, 0x67DF, 0x1028, 0x0774, AMDGPU_PX_QUIRK_FORCE_ATPX },
> { 0, 0, 0, 0, 0 },
> };
>
> --
> 2.13.6
>
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/3] Revert "drm/amdgpu: Add an ATPX quirk for hybrid laptop"
[not found] ` <20180524194636.30588-1-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
` (2 preceding siblings ...)
2018-05-31 15:10 ` [PATCH 1/3] Revert "drm/amdgpu: Add an ATPX quirk for hybrid laptop" Alex Deucher
@ 2018-06-01 3:07 ` Huang Rui
2018-06-01 14:37 ` Alex Deucher
3 siblings, 1 reply; 7+ messages in thread
From: Huang Rui @ 2018-06-01 3:07 UTC (permalink / raw)
To: Alex Deucher; +Cc: Alex Deucher, amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
On Thu, May 24, 2018 at 02:46:34PM -0500, Alex Deucher wrote:
> This reverts commit 13b40935cf64f59b93cf1c716a2033488e5a228c.
>
> This was a workaround for a bug in the HDA driver that prevented
> the HDA audio chip from going into runtime pm which prevented
> the GPU from going into runtime pm.
>
> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=106597
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
For series are,
Reviewed-by: Huang Rui <ray.huang@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
> index 1bcb2b247335..daa06e7c5bb7 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
> @@ -569,7 +569,6 @@ static const struct amdgpu_px_quirk amdgpu_px_quirk_list[] = {
> { 0x1002, 0x6900, 0x1002, 0x0124, AMDGPU_PX_QUIRK_FORCE_ATPX },
> { 0x1002, 0x6900, 0x1028, 0x0812, AMDGPU_PX_QUIRK_FORCE_ATPX },
> { 0x1002, 0x6900, 0x1028, 0x0813, AMDGPU_PX_QUIRK_FORCE_ATPX },
> - { 0x1002, 0x67DF, 0x1028, 0x0774, AMDGPU_PX_QUIRK_FORCE_ATPX },
> { 0, 0, 0, 0, 0 },
> };
>
> --
> 2.13.6
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/3] Revert "drm/amdgpu: Add an ATPX quirk for hybrid laptop"
2018-06-01 3:07 ` Huang Rui
@ 2018-06-01 14:37 ` Alex Deucher
[not found] ` <CADnq5_NZ0H4Qmj=d9_nRZYRcT+yaCKwi004YCsAzzgOQRtMX8w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Alex Deucher @ 2018-06-01 14:37 UTC (permalink / raw)
To: Huang Rui; +Cc: Alex Deucher, amd-gfx list
On Thu, May 31, 2018 at 11:07 PM, Huang Rui <ray.huang@amd.com> wrote:
> On Thu, May 24, 2018 at 02:46:34PM -0500, Alex Deucher wrote:
>> This reverts commit 13b40935cf64f59b93cf1c716a2033488e5a228c.
>>
>> This was a workaround for a bug in the HDA driver that prevented
>> the HDA audio chip from going into runtime pm which prevented
>> the GPU from going into runtime pm.
>>
>> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=106597
>> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
>
> For series are,
> Reviewed-by: Huang Rui <ray.huang@amd.com>
Just a heads up, these patches shouldn't go into the dkms branches
until distros pick up this patch:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=009f8c90f571d87855914dbc20e6c0ea2a3b19ae
Alex
>
>> ---
>> drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c | 1 -
>> 1 file changed, 1 deletion(-)
>>
>> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
>> index 1bcb2b247335..daa06e7c5bb7 100644
>> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
>> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
>> @@ -569,7 +569,6 @@ static const struct amdgpu_px_quirk amdgpu_px_quirk_list[] = {
>> { 0x1002, 0x6900, 0x1002, 0x0124, AMDGPU_PX_QUIRK_FORCE_ATPX },
>> { 0x1002, 0x6900, 0x1028, 0x0812, AMDGPU_PX_QUIRK_FORCE_ATPX },
>> { 0x1002, 0x6900, 0x1028, 0x0813, AMDGPU_PX_QUIRK_FORCE_ATPX },
>> - { 0x1002, 0x67DF, 0x1028, 0x0774, AMDGPU_PX_QUIRK_FORCE_ATPX },
>> { 0, 0, 0, 0, 0 },
>> };
>>
>> --
>> 2.13.6
>>
>> _______________________________________________
>> amd-gfx mailing list
>> amd-gfx@lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/3] Revert "drm/amdgpu: Add an ATPX quirk for hybrid laptop"
[not found] ` <CADnq5_NZ0H4Qmj=d9_nRZYRcT+yaCKwi004YCsAzzgOQRtMX8w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2018-06-04 7:13 ` Huang Rui
0 siblings, 0 replies; 7+ messages in thread
From: Huang Rui @ 2018-06-04 7:13 UTC (permalink / raw)
To: Alex Deucher
Cc: Deucher, Alexander, prike.liang-5C7GfCeVMHo,
kevin1.wang-5C7GfCeVMHo, amd-gfx list
On Fri, Jun 01, 2018 at 10:37:33PM +0800, Alex Deucher wrote:
> On Thu, May 31, 2018 at 11:07 PM, Huang Rui <ray.huang@amd.com> wrote:
> > On Thu, May 24, 2018 at 02:46:34PM -0500, Alex Deucher wrote:
> >> This reverts commit 13b40935cf64f59b93cf1c716a2033488e5a228c.
> >>
> >> This was a workaround for a bug in the HDA driver that prevented
> >> the HDA audio chip from going into runtime pm which prevented
> >> the GPU from going into runtime pm.
> >>
> >> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=106597
> >> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> >
> > For series are,
> > Reviewed-by: Huang Rui <ray.huang@amd.com>
>
> Just a heads up, these patches shouldn't go into the dkms branches
> until distros pick up this patch:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=009f8c90f571d87855914dbc20e6c0ea2a3b19ae
>
Thanks to reminder!
+ Kevin and Prike, please don't cherry-pick these three patches into dkms
branch.
Thanks,
Ray
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2018-06-04 7:13 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-24 19:46 [PATCH 1/3] Revert "drm/amdgpu: Add an ATPX quirk for hybrid laptop" Alex Deucher
[not found] ` <20180524194636.30588-1-alexander.deucher-5C7GfCeVMHo@public.gmane.org>
2018-05-24 19:46 ` [PATCH 2/3] Revert "drm/amdgpu: add new device to use atpx quirk" Alex Deucher
2018-05-24 19:46 ` [PATCH 3/3] Partially revert: drm/amdgpu: add atpx quirk handling (v2) Alex Deucher
2018-05-31 15:10 ` [PATCH 1/3] Revert "drm/amdgpu: Add an ATPX quirk for hybrid laptop" Alex Deucher
2018-06-01 3:07 ` Huang Rui
2018-06-01 14:37 ` Alex Deucher
[not found] ` <CADnq5_NZ0H4Qmj=d9_nRZYRcT+yaCKwi004YCsAzzgOQRtMX8w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-06-04 7:13 ` Huang Rui
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.