Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amd/powerplay/cz: print message if smc message fails

Helpful in debugging.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

+1 -1
+1 -1
drivers/gpu/drm/amd/powerplay/smumgr/cz_smumgr.c
··· 72 72 result = SMUM_WAIT_FIELD_UNEQUAL(smumgr, 73 73 SMU_MP1_SRBM2P_RESP_0, CONTENT, 0); 74 74 if (result != 0) { 75 - pr_err("cz_send_msg_to_smc_async failed\n"); 75 + pr_err("cz_send_msg_to_smc_async (0x%04x) failed\n", msg); 76 76 return result; 77 77 } 78 78