Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #82906

Bug#1063161: Add amd_pmf module

From Nathan MALO <nathan.malo@gmail.com>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1063161: Add amd_pmf module
Date 2024-07-01 17:30 +0200
Message-ID <IVr8B-6XvL-1@gated-at.bofh.it> (permalink)
References (1 earlier) <IUnTr-6fV4-1@gated-at.bofh.it> <IUo37-6fZy-3@gated-at.bofh.it> <IUo37-6fZy-1@gated-at.bofh.it> <I48BY-84QW-13@gated-at.bofh.it> <IUo37-6fZy-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi all,

I am getting back to you with updated info.
I currently own a Framework AMD 13 laptop running Debian Bookworm.
I've installed the new kernel from unstable.
apt-cache policy linux-image-amd64
linux-image-amd64:
  Installed : 6.9.7-1
  Candidate : 6.9.7-1
 Version table :
 *** 6.9.7-1 100
         99 http://ftp.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status

apt-cache policy firmware-linux-free
firmware-linux-free:
  Installed: 20240610-1
  Candidate: 20240610-1
  Version table:
 *** 20240610-1 100
         99 http://ftp.debian.org/debian unstable/main amd64 Packages
         99 http://ftp.debian.org/debian unstable/main i386 Packages
        100 /var/lib/dpkg/status

apt-cache policy firmware-linux-nonfree
firmware-linux-nonfree:
  Installed: 20230625-2
  Candidate: 20230625-2
  Version table:
 *** 20230625-2 100
         99 http://ftp.debian.org/debian unstable/non-free-firmware amd64
Packages
         99 http://ftp.debian.org/debian unstable/non-free-firmware i386
Packages
        100 /var/lib/dpkg/status

apt-cache policy firmware-misc-nonfree
firmware-misc-nonfree:
  Installed: 20230625-2
  Candidate: 20230625-2
  Version table:
 *** 20230625-2 100
         99 http://ftp.debian.org/debian unstable/non-free-firmware amd64
Packages
         99 http://ftp.debian.org/debian unstable/non-free-firmware i386
Packages
        100 /var/lib/dpkg/status

apt-cache policy amd64-microcode
amd64-microcode:
  Installed: 3.20240116.2+nmu1
  Candidate: 3.20240116.2+nmu1
  Version table:
 *** 3.20240116.2+nmu1 100
         99 http://ftp.debian.org/debian unstable/non-free-firmware amd64
Packages
        100 /var/lib/dpkg/status

I've installed power-profiles-daemon from ubuntu jammy PPA (because PPD
from unstable resulted in too much updated packages, I want to stay as much
as possible on stable).
apt-cache policy power-profiles-daemon
power-profiles-daemon:
  Installed: 0.21-1~jammy2
  Candidate: 0.21-1~jammy2
  Version table:
     0.21-2 99
         99 http://ftp.debian.org/debian unstable/main amd64 Packages
 *** 0.21-1~jammy2 500
        500 https://ppa.launchpadcontent.net/superm1/ppd/ubuntu jammy/main
amd64 Packages
        100 /var/lib/dpkg/status


Upon restart, the amd_pmf modules is successfully loaded, and visible in
dmesg:
[   21.093436] ccp 0000:c1:00.2: tee enabled
[   21.104955] amd-tee driver initialization successful
...
[   21.236595] amd-pmf AMDI0102:00: registered PMF device successfully

lsmod | grep -E "^amd"
amd_atl                40960  1
amd_pmf                61440  0
amdtee                 28672  0
amd_sfh                49152  1 amd_pmf
amd_pmc                40960  0
amdgpu              12845056  33
amdxcp                 12288  1 amdgpu

The platform_profile is visible in PPD output:
powerprofilesctl
  performance:
    CpuDriver: amd_pstate
    PlatformDriver: platform_profile
    Degraded:   no

  balanced:
    CpuDriver: amd_pstate
    PlatformDriver: platform_profile

* power-saver:
    CpuDriver: amd_pstate
    PlatformDriver: platform_profile

It seems to me that it is working as expected !
I would like to thanks a thousand times all the people involved in fixing
this issue, you made my laptop an even better one <3

Best regards,

nate


Le ven. 28 juin 2024 à 19:49, Diederik de Haas <didi.debian@cknow.org> a
écrit :

> On Friday, 28 June 2024 19:40:50 CEST Mario Limonciello wrote:
> > > As this will normally be a headless system, I'm actually looking if I
> can
> > > turn the GPU off, *unless* there's an HDMI cable plugged in.
> > > So (at least for now), the GPUs only function is to have a display
> when I
> > > need it for troubleshooting.
> >
> > With nothing plugged in, modern AMD GPUs will go into runtime PM and
> > depending on the motherboard design either D3hot or D3cold.
>
> I need to figure out how I can query the various things and learn what
> they
> actually mean. F.e. on the frame.work forum I found:
> `cat /sys/class/drm/card0/device/power/runtime_status`
>
> and that returns 'active', but I have no idea what that means.
>
> Like I said before: lots of research to do ;-)
>
> > D3cold is as close to off as you can get.
>
> Good to know :-)
>
> Cheers,
>   Diederik

Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1063161: Add amd_pmf module Nate <nathan.malo@gmail.com> - 2024-02-05 16:00 +0100
  Processed: Re: Bug#1063161: Add amd_pmf module "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-02-08 00:20 +0100
  Bug#1063161: Add amd_pmf module Diederik de Haas <didi.debian@cknow.org> - 2024-02-08 00:20 +0100
  Bug#1063161: marked as done (Add amd_pmf module) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-05-16 18:10 +0200
  Bug#1063161:  Diederik de Haas <didi.debian@cknow.org> - 2024-05-23 18:20 +0200
    Bug#1063161:  Daniele Gobbetti <daniele-deb@gobbetti.name> - 2024-06-06 11:10 +0200
  Bug#1063161:  Nathan MALO <nathan.malo@gmail.com> - 2024-05-23 17:20 +0200
    Bug#1063161:  Vincent Blut <vincent.debian@free.fr> - 2024-05-23 17:40 +0200
      Bug#1063161:  Diederik de Haas <didi.debian@cknow.org> - 2024-06-25 20:20 +0200
  Processed: Re: Bug#1063161: "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-06-25 20:20 +0200
  Bug#1063161: marked as done (Add amd_pmf module) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-06-28 00:20 +0200
  Bug#1063161: Add amd_pmf module Diederik de Haas <didi.debian@cknow.org> - 2024-06-28 17:50 +0200
  Bug#1063161: Add amd_pmf module Diederik de Haas <didi.debian@cknow.org> - 2024-06-28 18:30 +0200
  Bug#1063161: Add amd_pmf module Diederik de Haas <didi.debian@cknow.org> - 2024-06-28 19:10 +0200
  Bug#1063161: Add amd_pmf module Diederik de Haas <didi.debian@cknow.org> - 2024-06-28 19:50 +0200
  Bug#1063161: Add amd_pmf module Diederik de Haas <didi.debian@cknow.org> - 2024-06-28 20:00 +0200
    Bug#1063161: Add amd_pmf module Nathan MALO <nathan.malo@gmail.com> - 2024-07-01 17:30 +0200
      Bug#1063161: Add amd_pmf module Diederik de Haas <didi.debian@cknow.org> - 2024-07-01 17:40 +0200

csiph-web