]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Add 4 to 1 MPC split support
authorIsabel Zhang <isabel.zhang@amd.com>
Mon, 20 Apr 2020 19:21:10 +0000 (15:21 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 May 2020 17:12:04 +0000 (13:12 -0400)
commit6f86dabf7c5e6ae9ae7321d7d160ce1ea37beb1b
tree7293705d4f58594713ec4a7d2fdb473c6d37d1ad
parent6478140b7655d7992e1936935ad8fa36fc97d2c3
drm/amd/display: Add 4 to 1 MPC split support

[Why]
Want to make use of detile buffer of all 4 pipes to maximize amount of
data stored to hide certain memory latency cases.

[How]
In case of 1 plane and 1 stream, program 4 pipes to each retrieve 1/4 of
plane later mixed together by the MPCs. Added support for transition
from 4 to 1 MPC to 2 to 1 MPC or no pipe split case and vice versa.
Currently, only enabled if debug flag is set.

Signed-off-by: Isabel Zhang <isabel.zhang@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.h