diff options
author | Austin Zheng <Austin.Zheng@amd.com> | 2024-09-12 15:34:14 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-10-01 17:34:04 -0400 |
commit | 82f8b2cfd7db83924ff9515273f4781fa53648ab (patch) | |
tree | 7356702b00e74e2142ce91af5872fd235e864822 /drivers/gpu/drm/amd/include/amd_shared.h | |
parent | 4d4257280d7957727998ef90ccc7b69c7cca8376 (diff) | |
download | linux-82f8b2cfd7db83924ff9515273f4781fa53648ab.tar.gz linux-82f8b2cfd7db83924ff9515273f4781fa53648ab.tar.bz2 linux-82f8b2cfd7db83924ff9515273f4781fa53648ab.zip |
drm/amd/display: Wait For DET Update Should Use Current State
[Why]
Current state should be used when waiting for DET update
instead of new context.
For any streams decreasing in DET, pipes used in the current state
should be checked since those pipes need to free their DET before
DET can be reallocated.
[How]
Pass in current_state instead of context.
Use pipe from current_state instead of context. This assumes that
pipe in the current_state is an OTG_MASTER pipe if the pipe in the context is an OTG_MASTER pipe.
Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Austin Zheng <Austin.Zheng@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/include/amd_shared.h')
0 files changed, 0 insertions, 0 deletions