diff options
author | Lijo Lazar <lijo.lazar@amd.com> | 2021-11-25 19:45:42 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-12-01 16:03:13 -0500 |
commit | 85c1b9bd13b0b298bbbf128e26a470ec54c4d0e3 (patch) | |
tree | ec759ee8519d8b1583c1f552e4f6292328431026 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
parent | 700de2c8aadcae459a4db19b943962e709df45f2 (diff) |
drm/amd/pm: Add warning for unexpected PG requests
v1: Ideally power gate/ungate requests shouldn't come when smu block is
uninitialized. Add a WARN message to check the origins if such a thing
ever happens.
v2: Use dev_WARN to log device info (Felix/Guchun).
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: Kevin Yang <kevinyang.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions