mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
For features that are implemented primarily in DMUB (e.g. PSR), it is useful to be able to trace them at a DMUB level from the kernel, especially when debugging issues. So, introduce a debugfs interface that is able to read and set the DMUB trace mask dynamically at runtime and document how to use it. Cc: Alex Deucher <alexander.deucher@amd.com> Cc: Mario Limonciello <mario.limonciello@amd.com> Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Acked-by: Christian König <christian.koenig@amd.com> Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
452 B
452 B
| 1 | Name | Mask Value |
|---|---|---|
| 2 | INFO | 0x1 |
| 3 | IRQ SVC | 0x2 |
| 4 | VBIOS | 0x4 |
| 5 | REGISTER | 0x8 |
| 6 | PHY DBG | 0x10 |
| 7 | PSR | 0x20 |
| 8 | AUX | 0x40 |
| 9 | SMU | 0x80 |
| 10 | MALL | 0x100 |
| 11 | ABM | 0x200 |
| 12 | ALPM | 0x400 |
| 13 | TIMER | 0x800 |
| 14 | HW LOCK MGR | 0x1000 |
| 15 | INBOX1 | 0x2000 |
| 16 | PHY SEQ | 0x4000 |
| 17 | PSR STATE | 0x8000 |
| 18 | ZSTATE | 0x10000 |
| 19 | TRANSMITTER CTL | 0x20000 |
| 20 | PANEL CNTL | 0x40000 |
| 21 | FAMS | 0x80000 |
| 22 | DPIA | 0x100000 |
| 23 | SUBVP | 0x200000 |
| 24 | INBOX0 | 0x400000 |
| 25 | SDP | 0x4000000 |
| 26 | REPLAY | 0x8000000 |
| 27 | REPLAY RESIDENCY | 0x20000000 |
| 28 | CURSOR INFO | 0x80000000 |
| 29 | IPS | 0x100000000 |