mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-02 21:23:42 -05:00
drm/amd/display: feed PSR-SU as psr version to dmub FW
[why & how] set psr version as PSR-SU in kernel-FW interface function to ensure the correct dmub command parameter is fed into FW. Signed-off-by: David Zhang <dingchen.zhang@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
83eb5385b4
commit
b3d0c0f2df
@@ -133,6 +133,9 @@ static bool dmub_psr_set_version(struct dmub_psr *dmub, struct dc_stream_state *
|
||||
case DC_PSR_VERSION_1:
|
||||
cmd.psr_set_version.psr_set_version_data.version = PSR_VERSION_1;
|
||||
break;
|
||||
case DC_PSR_VERSION_SU_1:
|
||||
cmd.psr_set_version.psr_set_version_data.version = PSR_VERSION_SU_1;
|
||||
break;
|
||||
case DC_PSR_VERSION_UNSUPPORTED:
|
||||
default:
|
||||
cmd.psr_set_version.psr_set_version_data.version = PSR_VERSION_UNSUPPORTED;
|
||||
|
||||
Reference in New Issue
Block a user