diff options
| author | Zhikai Zhai <[email protected]> | 2025-02-27 12:09:14 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-03-10 17:30:31 +0000 |
| commit | d3069feecdb5542604d29b59acfd1fd213bad95b (patch) | |
| tree | e57cab4faab3224c959f5ff488f2a0de11487845 /drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | |
| parent | drm/amd/display: Fix visual confirm color not updating (diff) | |
| download | kernel-d3069feecdb5542604d29b59acfd1fd213bad95b.tar.gz kernel-d3069feecdb5542604d29b59acfd1fd213bad95b.zip | |
drm/amd/display: calculate the remain segments for all pipes
[WHY]
In some cases the remain de-tile buffer segments will be greater
than zero if we don't add the non-top pipe to calculate, at
this time the override de-tile buffer size will be valid and used.
But it makes the de-tile buffer segments used finally for all of pipes
exceed the maximum.
[HOW]
Add the non-top pipe to calculate the remain de-tile buffer segments.
Don't set override size to use the average according to pipe count
if the value exceed the maximum.
Reviewed-by: Charlene Liu <[email protected]>
Signed-off-by: Zhikai Zhai <[email protected]>
Signed-off-by: Tom Chung <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_job.c')
0 files changed, 0 insertions, 0 deletions
