drm/amd: add dc feature mask flags for PSR allow smu and multi-display optimizations
authorDavid Zhang <dingchen.zhang@amd.com>
Mon, 25 Apr 2022 18:33:16 +0000 (14:33 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Apr 2022 15:51:36 +0000 (11:51 -0400)
commit5533347dbb6158b9285c558e3578a48da95912a3
treebeeac07c3c1849f135598e3e2a976b78cbdee241
parent3bbeaa307b54d90d2037090bbfc986dedd90e597
drm/amd: add dc feature mask flags for PSR allow smu and multi-display optimizations

[Why]
Allow for PSR SMU optimization and PSR multiple display optimization.

[How]
Add feature flags of PSR smu optimization and PSR multiple display
optimiztaion, and set them during init sequence. By default, flags
are disabled.

Signed-off-by: David Zhang <dingchen.zhang@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Roman Li <Roman.Li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/include/amd_shared.h