]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amd/display: only allow ODM power optimization if surface is within guaranteed...
authorWenjing Liu <wenjing.liu@amd.com>
Wed, 23 Aug 2023 17:26:35 +0000 (13:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 Sep 2023 21:17:10 +0000 (17:17 -0400)
commit77aac4c2801f44dd9124713832727dcca13ce75e
tree1fe8009a1c70268cd635676d465aed927419311a
parentc51d87202d1faef21e1eee37381b43c72bd231bc
drm/amd/display: only allow ODM power optimization if surface is within guaranteed viewport size

[why]
Current dc update design has limitation to support transition from
ODM combine to minimum transition to MPC combine state seamlessly
at the capability boundary when MPO plane is resizing. This will
require dc update high level refactor in order to remove the design
limitation. The decision is to block such use case for existing products
by limiting ODM power optimization support for only those surfaces
within guaranteed viewport size. This will prevent us from transitioning
to MPC combine state when ODM power optimization is enabled.

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Acked-by: Stylon Wang <stylon.wang@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c