]> git.karo-electronics.de Git - linux-beck.git/commit
drm/amd/powerplay: use pr_debug to print function not implemented message
authorArindam Nath <arindam.nath@amd.com>
Tue, 6 Dec 2016 07:58:12 +0000 (13:28 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 8 Dec 2016 19:12:18 +0000 (14:12 -0500)
commitd2939bc780078ef2f707d961cde6c59779497425
treeaeb26d3730caabbcc4df1fd8ebe85cd69bd051f9
parentcc3f5b8df9fc5306fa9da245c6f41ed75cd9c608
drm/amd/powerplay: use pr_debug to print function not implemented message

For CZ, some function pointers like display_configuration_changed
are not set. So when HW manager tries to configure display, we
end up with messages like

"[ powerplay ] this function not implement!"

in the logs. This message is informational, but lacks details
on which function is not implemented and why.

Rather than using KERN_INFO to print the message everytime the
system boots, we rather use pr_debug so that it is only printed
when debug prints are enabled at runtime.

Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Arindam Nath <arindam.nath@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/functiontables.c