OSDN Git Service

drm/amd/powerplay: add prefix for all powerplay pr_* prints
authorHuang Rui <ray.huang@amd.com>
Fri, 23 Dec 2016 02:45:07 +0000 (10:45 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 27 Jan 2017 16:12:48 +0000 (11:12 -0500)
commit7739b1e7e153bb2fe8dfa94d1bd685500ed5a35f
tree392fc6d5b11249bb0156b4a3dd63c99580094bae
parent5c964221003d9a31ad56d4784773c91a291cba97
drm/amd/powerplay: add prefix for all powerplay pr_* prints

Powerplay will use them instead of raw printk, and we can dynamic
change the debug level with it.

The prefix is like below:

[  xxx.xxxxxx] amdgpu: [powerplay] ...

Suggested-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Huang Rui <ray.huang@amd.com>
Cc: Arindam Nath <Arindam.Nath@amd.com>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/inc/pp_debug.h