Skip to contentSkip to conversation

regression - no fan info (sensors) on RX580

amd-staging-drm-next Dieter Nützel 3 participants 7 messages Sep 29, 2017 – Nov 21, 2017 6 messages not in the archive

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

Hello all,

since latest update

1d7da702e70d3c27408a3bb312c71d6be9f7bebe drm/amd/powerplay: fix spelling mistake: "dividable" -> "divisible"

I didn't get fan info with my RX580 (Polaris21) any longer.

Worked with this commit:

786df0b89fe5a0b405d4de0a1ce03003c0743ec3
drm/amd/display: fix pflip irq registor for raven

Sorry, I do not have full time for bisect, because we are on way to our vacation.

Maybe in the evening (only a few commits).

Greetings,
Dieter
_______________________________________________
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): 42afc09a774d61e68c415c05371fbb3b-0hun7QTegEsDD4udEopG9Q@public.gmane.org

#2 lore raw

Rex, probably related to the recent cleanups in powerplay.

Quoted 14 lines · Dieter Nützel

Hello all,

since latest update

1d7da702e70d3c27408a3bb312c71d6be9f7bebe drm/amd/powerplay: fix spelling mistake: "dividable" -> "divisible"

I didn't get fan info with my RX580 (Polaris21) any longer.

Worked with this commit:

786df0b89fe5a0b405d4de0a1ce03003c0743ec3
drm/amd/display: fix pflip irq registor for raven

Quoted 7 lines

Sorry, I do not have full time for bisect, because we are on way to our vacation.

Maybe in the evening (only a few commits).

Greetings,
Dieter

_______________________________________________
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): CADnq5_Pon27TVK0bKNeNVA71j27G8iDSPMq=9gZxg6VZad_Rrw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#4 lore raw

Yes, caused by the commit e37a7b4088da ("drm/amd/powerplay: tidy up ret checks in amd_powerplay.c")

Replace error when split patches.

Have sent the fix patch.
Please review.

Best Regards
Rex

-----Original Message-----
From: Alex Deucher [mailto:[email protected]]
Sent: Friday, September 29, 2017 10:11 PM
To: Dieter Nützel; Zhu, Rex
Cc: amd-devel; DRI Devel; Wentland, Harry; Michel Dänzer
Subject: Re: [amd-staging-drm-next] regression - no fan info (sensors) on RX580

Rex, probably related to the recent cleanups in powerplay.

Quoted 14 lines · Dieter Nützel

Hello all,

since latest update

1d7da702e70d3c27408a3bb312c71d6be9f7bebe drm/amd/powerplay: fix spelling mistake: "dividable" -> "divisible"

I didn't get fan info with my RX580 (Polaris21) any longer.

Worked with this commit:

786df0b89fe5a0b405d4de0a1ce03003c0743ec3
drm/amd/display: fix pflip irq registor for raven

Quoted 7 lines

Sorry, I do not have full time for bisect, because we are on way to our vacation.

Maybe in the evening (only a few commits).

Greetings,
Dieter

_______________________________________________
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): CY4PR12MB16871ED1E36D855E7781C68CFB7F0-rpdhrqHFk06Y0SjTqZDccQdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org

#6 lore raw

Sorry Rex,

after return from our vacation,
I've tested latest amd-staging-drm-next (e5f6a57e350a) but it is NOT solved on my RX580.
I'll try bisecting if I find some more time in the coming days.

amdgpu-pci-0100
Adapter: PCI adapter
temp1: +27.0°C (crit = +0.0°C, hyst = +0.0°C)

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/580] (rev e7) (prog-if 00 [VGA controller])
Subsystem: Sapphire Technology Limited Radeon RX 570

[    36.740] (--) AMDGPU(0): Chipset: "Radeon RX 580 Series" (ChipID = 0x67df)

Thanks,
Dieter

Am 30.09.2017 05:09, schrieb Zhu, Rex:

Quoted 19 lines

Yes, caused by the commit e37a7b4088da ("drm/amd/powerplay: tidy up ret checks in amd_powerplay.c")

Replace error when split patches.

Have sent the fix patch.
Please review.

Best Regards
Rex

-----Original Message-----
From: Alex Deucher [mailto:[email protected]]
Sent: Friday, September 29, 2017 10:11 PM
To: Dieter Nützel; Zhu, Rex
Cc: amd-devel; DRI Devel; Wentland, Harry; Michel Dänzer
Subject: Re: [amd-staging-drm-next] regression - no fan info (sensors) on RX580

Quoted 24 lines

Rex, probably related to the recent cleanups in powerplay.

Quoted 21 lines · Dieter Nützel

Hello all,

since latest update

1d7da702e70d3c27408a3bb312c71d6be9f7bebe drm/amd/powerplay: fix spelling mistake: "dividable" -> "divisible"

I didn't get fan info with my RX580 (Polaris21) any longer.

Worked with this commit:

786df0b89fe5a0b405d4de0a1ce03003c0743ec3
drm/amd/display: fix pflip irq registor for raven

Sorry, I do not have full time for bisect, because we are on way to our vacation.

Maybe in the evening (only a few commits).

Greetings,
Dieter

_______________________________________________
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): 3ad0d897c4c5e67207b4097337ff520f-0hun7QTegEsDD4udEopG9Q@public.gmane.org

author Reviewed-by Alex Deucher
#8 lore raw

OK, got it but can't revert the commit clean.

amdgpu-pci-0100

Adapter: PCI adapter
fan1:         873 RPM
temp1:        +26.0°C  (crit =  +0.0°C, hyst =  +0.0°C)

SOURCE/amd-staging-drm-next> git bisect good 0944c350c8eddf4064e7abb881dd245032fdfa23 is the first bad commit commit 0944c350c8eddf4064e7abb881dd245032fdfa23

Author: Rex Zhu <[email protected]>
Date:   Mon Sep 25 18:51:50 2017 +0800

drm/amdgpu: delete pp_enable in adev

amdgpu not care powerplay or dpm is enabled.
just check ip functions and pp functions

Change-Id Iaac75d45170ef9b20e212465f837eaaa798365bd

:040000 040000 72361654709479890586e383ec73088e535a1cf5 2b6d5a75ffc3b6fd48c63e79bf28faddcc734918 M drivers

Greetings,
Dieter

Am 09.10.2017 02:19, schrieb Dieter Nützel:

Quoted 61 lines

Sorry Rex,

after return from our vacation,
I've tested latest amd-staging-drm-next (e5f6a57e350a) but it is NOT solved on my RX580.
I'll try bisecting if I find some more time in the coming days.

amdgpu-pci-0100
Adapter: PCI adapter
temp1: +27.0°C (crit = +0.0°C, hyst = +0.0°C)

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/580] (rev e7) (prog-if 00 [VGA controller])
Subsystem: Sapphire Technology Limited Radeon RX 570

[    36.740] (--) AMDGPU(0): Chipset: "Radeon RX 580 Series" (ChipID = 0x67df)

Thanks,
Dieter

Am 30.09.2017 05:09, schrieb Zhu, Rex:

Quoted 39 lines

Yes, caused by the commit e37a7b4088da ("drm/amd/powerplay: tidy up ret checks in amd_powerplay.c")

Replace error when split patches.

Have sent the fix patch.
Please review.

Best Regards
Rex

-----Original Message-----
From: Alex Deucher [mailto:[email protected]]
Sent: Friday, September 29, 2017 10:11 PM
To: Dieter Nützel; Zhu, Rex
Cc: amd-devel; DRI Devel; Wentland, Harry; Michel Dänzer
Subject: Re: [amd-staging-drm-next] regression - no fan info (sensors) on RX580

Rex, probably related to the recent cleanups in powerplay.

Quoted 17 lines · Dieter Nützel

Hello all,

since latest update

1d7da702e70d3c27408a3bb312c71d6be9f7bebe drm/amd/powerplay: fix spelling mistake: "dividable" -> "divisible"

I didn't get fan info with my RX580 (Polaris21) any longer.

Worked with this commit:

786df0b89fe5a0b405d4de0a1ce03003c0743ec3
drm/amd/display: fix pflip irq registor for raven

Sorry, I do not have full time for bisect, because we are on way to our vacation.

Quoted 8 lines
Quoted 4 lines
Quoted 4 lines

Maybe in the evening (only a few commits).

Greetings,
Dieter

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

_______________________________________________
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): 322466dc29fe070b9fe79fb8400fac6e-0hun7QTegEsDD4udEopG9Q@public.gmane.org

#10 lore raw
Quoted 18 lines · Dieter Nützel

OK, got it but can't revert the commit clean.

amdgpu-pci-0100

Adapter: PCI adapter
fan1:         873 RPM
temp1:        +26.0°C  (crit =  +0.0°C, hyst =  +0.0°C)

SOURCE/amd-staging-drm-next> git bisect good 0944c350c8eddf4064e7abb881dd245032fdfa23 is the first bad commit commit 0944c350c8eddf4064e7abb881dd245032fdfa23

Author: Rex Zhu <[email protected]>
Date:   Mon Sep 25 18:51:50 2017 +0800

drm/amdgpu: delete pp_enable in adev

amdgpu not care powerplay or dpm is enabled.
just check ip functions and pp functions

Quoted 6 lines
Change-Id Iaac75d45170ef9b20e212465f837eaaa798365bd

:040000 040000 72361654709479890586e383ec73088e535a1cf5 2b6d5a75ffc3b6fd48c63e79bf28faddcc734918 M drivers

I think the attached patch should fix it.

Alex

Quoted 84 lines

Greetings,
Dieter

Am 09.10.2017 02:19, schrieb Dieter Nützel:

Quoted 69 lines

Sorry Rex,

after return from our vacation,
I've tested latest amd-staging-drm-next (e5f6a57e350a) but it is NOT solved on my RX580.
I'll try bisecting if I find some more time in the coming days.

amdgpu-pci-0100
Adapter: PCI adapter
temp1: +27.0°C (crit = +0.0°C, hyst = +0.0°C)

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/580] (rev e7) (prog-if 00 [VGA controller])
Subsystem: Sapphire Technology Limited Radeon RX 570

[    36.740] (--) AMDGPU(0): Chipset: "Radeon RX 580 Series" (ChipID =

0x67df)

Thanks,
Dieter

Am 30.09.2017 05:09, schrieb Zhu, Rex:

Quoted 45 lines

Yes, caused by the commit e37a7b4088da ("drm/amd/powerplay: tidy up ret checks in amd_powerplay.c")

Replace error when split patches.

Have sent the fix patch.
Please review.

Best Regards
Rex

-----Original Message-----
From: Alex Deucher [mailto:[email protected]]
Sent: Friday, September 29, 2017 10:11 PM
To: Dieter Nützel; Zhu, Rex
Cc: amd-devel; DRI Devel; Wentland, Harry; Michel Dänzer
Subject: Re: [amd-staging-drm-next] regression - no fan info (sensors) on RX580

Rex, probably related to the recent cleanups in powerplay.

Quoted 20 lines · Dieter Nützel

Hello all,

since latest update

1d7da702e70d3c27408a3bb312c71d6be9f7bebe drm/amd/powerplay: fix spelling mistake: "dividable" -> "divisible"

I didn't get fan info with my RX580 (Polaris21) any longer.

Worked with this commit:

786df0b89fe5a0b405d4de0a1ce03003c0743ec3
drm/amd/display: fix pflip irq registor for raven

Sorry, I do not have full time for bisect, because we are on way to our vacation.

Maybe in the evening (only a few commits).

Quoted 7 lines
Quoted 2 lines
Quoted 2 lines

Greetings,
Dieter

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

Quoted 4 lines

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

From 70d57b480ece67dbb4c54294f5b34549043688ac Mon Sep 17 00:00:00 2001
From: Alex Deucher <[email protected]>
Date: Mon, 20 Nov 2017 17:49:53 -0500
Subject: [PATCH] drm/amdgpu: don't skip attributes when powerplay is enabled

The function checks non-powerplay structures so regressed when the pp_enabled check was removed. This should ideally be implemented similarly for powerplay.

Fixes 6d07fe7bcae57 ("drm/amdgpu: delete pp_enable in adev")
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c +4 -0
index 3506758349dc..6f56ff606e43 100644
@@ -945,6 +945,10 @@ static umode_t hwmon_attributes_visible(struct kobject *kobj,
 	struct amdgpu_device *adev = dev_get_drvdata(dev);
 	umode_t effective_mode = attr->mode;
 
+	/* no skipping for powerplay */
+	if (adev->powerplay.cgs_device)
+		return effective_mode;
+
 	/* Skip limit attributes if DPM is not enabled */
 	if (!adev->pm.dpm_enabled &&
 	    (attr == &sensor_dev_attr_temp1_crit.dev_attr.attr ||
Signature · 1 line
2.13.6

_______________________________________________
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): CADnq5_N8GO8pmOLaZszMUxt6ZA1OZyVHY3O95kN8r9FFPOncVQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

author Tested-by
#12 lore raw

That did it.

a716d5540346 (HEAD -> amd-staging-drm-next) drm/amdgpu: don't skip attributes when powerplay is enabled 9f896d936c9d (origin/amd-staging-drm-next) drm/amdgpu: fix VCE buffer placement restrictions v2 ca9b5d953735 drm/amdgpu: align GTT start to 4GB v2
52364b9f0226 drm/amdgpu: remove VRAM size reduction v2
95d8c587cba5 drm/amd/pp: fix typecast error in powerplay.
[-]

amdgpu-pci-0100

Adapter: PCI adapter
fan1:         881 RPM
temp1:        +29.0°C  (crit =  +0.0°C, hyst =  +0.0°C)

Thank you very much Alex!

Dieter

Am 20.11.2017 23:57, schrieb Alex Deucher:

Quoted 23 lines · Dieter Nützel
Quoted 22 lines

OK, got it but can't revert the commit clean.

amdgpu-pci-0100

Adapter: PCI adapter
fan1:         873 RPM
temp1:        +26.0°C  (crit =  +0.0°C, hyst =  +0.0°C)

SOURCE/amd-staging-drm-next> git bisect good 0944c350c8eddf4064e7abb881dd245032fdfa23 is the first bad commit commit 0944c350c8eddf4064e7abb881dd245032fdfa23

Author: Rex Zhu <[email protected]>
Date:   Mon Sep 25 18:51:50 2017 +0800

drm/amdgpu: delete pp_enable in adev

amdgpu not care powerplay or dpm is enabled.
just check ip functions and pp functions

Change-Id Iaac75d45170ef9b20e212465f837eaaa798365bd
Quoted 95 lines
Quoted 2 lines

:040000 040000 72361654709479890586e383ec73088e535a1cf5 2b6d5a75ffc3b6fd48c63e79bf28faddcc734918 M drivers

I think the attached patch should fix it.

Alex

Quoted 88 lines

Greetings,
Dieter

Am 09.10.2017 02:19, schrieb Dieter Nützel:

Quoted 69 lines

Sorry Rex,

after return from our vacation,
I've tested latest amd-staging-drm-next (e5f6a57e350a) but it is NOT solved on my RX580.
I'll try bisecting if I find some more time in the coming days.

amdgpu-pci-0100
Adapter: PCI adapter
temp1: +27.0°C (crit = +0.0°C, hyst = +0.0°C)

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/580] (rev e7) (prog-if 00 [VGA controller])
Subsystem: Sapphire Technology Limited Radeon RX 570

[    36.740] (--) AMDGPU(0): Chipset: "Radeon RX 580 Series" (ChipID =

0x67df)

Thanks,
Dieter

Am 30.09.2017 05:09, schrieb Zhu, Rex:

Quoted 45 lines

Yes, caused by the commit e37a7b4088da ("drm/amd/powerplay: tidy up ret checks in amd_powerplay.c")

Replace error when split patches.

Have sent the fix patch.
Please review.

Best Regards
Rex

-----Original Message-----
From: Alex Deucher [mailto:[email protected]]
Sent: Friday, September 29, 2017 10:11 PM
To: Dieter Nützel; Zhu, Rex
Cc: amd-devel; DRI Devel; Wentland, Harry; Michel Dänzer
Subject: Re: [amd-staging-drm-next] regression - no fan info (sensors) on RX580

Rex, probably related to the recent cleanups in powerplay.

Quoted 20 lines · Dieter Nützel

Hello all,

since latest update

1d7da702e70d3c27408a3bb312c71d6be9f7bebe drm/amd/powerplay: fix spelling mistake: "dividable" -> "divisible"

I didn't get fan info with my RX580 (Polaris21) any longer.

Worked with this commit:

786df0b89fe5a0b405d4de0a1ce03003c0743ec3
drm/amd/display: fix pflip irq registor for raven

Sorry, I do not have full time for bisect, because we are on way to our vacation.

Maybe in the evening (only a few commits).

Quoted 7 lines
Quoted 2 lines
Quoted 2 lines

Greetings,
Dieter

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

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

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