diff options
author | Taimur Hassan <Syed.Hassan@amd.com> | 2022-07-05 12:22:09 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-07-25 09:31:01 -0400 |
commit | 44b0c964201e1e2fbfcdab4472f9260048befbaa (patch) | |
tree | 54709fda88cfe036c374c76b6a20066dd4d15746 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
parent | a983d263186996002ecafc72f9a0dc5a3a2bfd6f (diff) | |
download | linux-44b0c964201e1e2fbfcdab4472f9260048befbaa.tar.gz linux-44b0c964201e1e2fbfcdab4472f9260048befbaa.tar.bz2 linux-44b0c964201e1e2fbfcdab4472f9260048befbaa.zip |
drm/amd/display: Update de-tile override to anticipate pipe splitting
[Why]
For certain MPO configurations, DML will split a pipe after DET buffer has
already been allocated by driver, resulting in allocation of more DET
segments than the configurable return buffer has, causing underflow.
[How]
Determine during DET override calculation whether or not a pipe will be
split later on by DML, and distribute DET segments based on expected
number of pipes.
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Alan Liu <HaoPing.Liu@amd.com>
Signed-off-by: Taimur Hassan <Syed.Hassan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions