diff options
author | 2023-09-19 17:04:59 -0400 | |
---|---|---|
committer | 2023-10-09 16:52:55 -0400 | |
commit | 4ea7151f6b60817ba28bd339e37687aeb44cc200 (patch) | |
tree | 726f38e781afd03d59ef948bff33a9be7eb4a1e9 /drivers/gpu/drm/amd/display/dc/dcn35 | |
parent | drm/amdgpu: Fix potential null pointer derefernce (diff) | |
download | linux-4ea7151f6b60817ba28bd339e37687aeb44cc200.tar.gz linux-4ea7151f6b60817ba28bd339e37687aeb44cc200.tar.bz2 linux-4ea7151f6b60817ba28bd339e37687aeb44cc200.zip |
drm/amd/display: Modify SMU message logs
[why]
It's important to make sure SMU messages
are logged by default to improve debugging for
power optimization use cases.
[how]
Change logs to warnings when SMU message
returns non-success id.
Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Sung Joon Kim <sungkim@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dcn35')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dcn35/dcn35_pg_cntl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn35/dcn35_pg_cntl.c b/drivers/gpu/drm/amd/display/dc/dcn35/dcn35_pg_cntl.c index ccfd3102e5a0..e62a192c595e 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn35/dcn35_pg_cntl.c +++ b/drivers/gpu/drm/amd/display/dc/dcn35/dcn35_pg_cntl.c @@ -262,6 +262,7 @@ void pg_cntl35_hpo_pg_control(struct pg_cntl *pg_cntl, bool power_on) bool block_enabled; if (pg_cntl->ctx->dc->debug.ignore_pg || + pg_cntl->ctx->dc->debug.disable_hpo_power_gate || pg_cntl->ctx->dc->idle_optimizations_allowed) return; |