platform/x86/amd/pmf: Add PMF debug facilities
authorShyam Sundar S K <Shyam-sundar.S-k@amd.com>
Wed, 10 May 2023 14:47:51 +0000 (20:17 +0530)
committerHans de Goede <hdegoede@redhat.com>
Mon, 15 May 2023 13:18:03 +0000 (15:18 +0200)
commit63b5dbfdb770254c4fdb58d22b62458308685592
tree347209cc69ed6f7880b8bc85569c343cb1c3dc41
parenta82ebb3d800d7baf72122e82ab7c9b240d0a8a56
platform/x86/amd/pmf: Add PMF debug facilities

At times, when the mode transitions fail to happen, the current
driver does not give enough debug information on why the transition
failed or the default preset values did not load. Having an on-demand
logs guarded by CONFIG would be helpful in such cases.

Co-developed-by: Patil Rajesh Reddy <Patil.Reddy@amd.com>
Signed-off-by: Patil Rajesh Reddy <Patil.Reddy@amd.com>
Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20230510144751.66601-2-Shyam-sundar.S-k@amd.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/amd/pmf/auto-mode.c
drivers/platform/x86/amd/pmf/cnqf.c