]> 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)
commit26a3021947e3ba05d56a533ac1ba99666c053bbc
tree7293705d4f58594713ec4a7d2fdb473c6d37d1ad
parent7726f3737ed0786a7d09c682123672ec1950a7fa
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